Lines Matching defs:tctrl_softc
119 struct tctrl_softc { struct
120 device_t sc_dev;
121 bus_space_tag_t sc_memt;
122 bus_space_handle_t sc_memh;
123 unsigned int sc_junk;
124 unsigned int sc_ext_status;
125 unsigned int sc_flags;
128 uint32_t sc_wantdata;
129 uint32_t sc_ext_pending;
130 volatile uint16_t sc_lcdstate;
131 uint16_t sc_lcdwanted;
133 enum { TCTRL_IDLE, TCTRL_ARGS,
134 TCTRL_ACK, TCTRL_DATA } sc_state;
135 uint8_t sc_cmdbuf[16];
136 uint8_t sc_rspbuf[16];
137 uint8_t sc_bitport;
138 uint8_t sc_tft_on;
139 uint8_t sc_op;
140 uint8_t sc_cmdoff;
141 uint8_t sc_cmdlen;
142 uint8_t sc_rspoff;
143 uint8_t sc_rsplen;
146 struct apm_event_info sc_event_list[APM_NEVENTS];
147 int sc_event_count;
148 int sc_event_ptr;
149 struct selinfo sc_rsel;
153 struct evcnt sc_intrcnt; /* interrupt counting */
154 struct sysmon_envsys *sc_sme;
155 envsys_data_t sc_sensor[ENVSYS_NUMSENSORS];
157 struct sysmon_pswitch sc_sm_pbutton; /* power button */
158 struct sysmon_pswitch sc_sm_lid; /* lid state */
159 struct sysmon_pswitch sc_sm_ac; /* AC adaptor presence */
160 int sc_powerpressed;
185 static void tctrl_write(struct tctrl_softc *, bus_size_t, uint8_t); argument