Lines Matching refs:tctrl_softc

119 struct tctrl_softc {
185 static void tctrl_write(struct tctrl_softc *, bus_size_t, uint8_t);
186 static uint8_t tctrl_read(struct tctrl_softc *, bus_size_t);
187 static void tctrl_write_data(struct tctrl_softc *, uint8_t);
188 static uint8_t tctrl_read_data(struct tctrl_softc *);
193 static void tctrl_read_event_status(struct tctrl_softc *);
194 static int tctrl_apm_record_event(struct tctrl_softc *, u_int);
197 static void tctrl_sensor_setup(struct tctrl_softc *);
201 static void tctrl_lid_state(struct tctrl_softc *);
202 static void tctrl_ac_state(struct tctrl_softc *);
207 void tctrl_update_lcd(struct tctrl_softc *);
209 static void tctrl_lock(struct tctrl_softc *);
210 static void tctrl_unlock(struct tctrl_softc *);
212 CFATTACH_DECL_NEW(tctrl, sizeof(struct tctrl_softc),
240 struct tctrl_softc *sc = device_private(self);
345 struct tctrl_softc *sc = arg;
477 struct tctrl_softc *sc;
496 struct tctrl_softc *sc;
643 tctrl_update_lcd(struct tctrl_softc *sc)
691 struct tctrl_softc *sc;
714 struct tctrl_softc *sc;
739 tctrl_apm_record_event(struct tctrl_softc *sc, u_int event_type)
758 tctrl_read_event_status(struct tctrl_softc *sc)
845 tctrl_lock(struct tctrl_softc *sc)
852 tctrl_unlock(struct tctrl_softc *sc)
861 struct tctrl_softc *sc;
957 struct tctrl_softc *sc;
990 tctrl_write_data(struct tctrl_softc *sc, uint8_t v)
1003 tctrl_read_data(struct tctrl_softc *sc)
1020 tctrl_read(struct tctrl_softc *sc, bus_size_t off)
1028 tctrl_write(struct tctrl_softc *sc, bus_size_t off, uint8_t v)
1040 struct tctrl_softc *sc;
1070 struct tctrl_softc *sc;
1093 struct tctrl_softc *sc;
1200 struct tctrl_softc *sc = device_lookup_private(&tctrl_cd,
1217 struct tctrl_softc *sc = kn->kn_hook;
1228 struct tctrl_softc *sc = kn->kn_hook;
1244 struct tctrl_softc *sc = device_lookup_private(&tctrl_cd,
1267 tctrl_sensor_setup(struct tctrl_softc *sc)
1340 struct tctrl_softc *sc = arg;
1347 tctrl_lid_state(struct tctrl_softc *sc)
1357 tctrl_ac_state(struct tctrl_softc *sc)
1369 struct tctrl_softc *sc = (struct tctrl_softc *)arg;
1385 /*struct tctrl_softc *sc = sme->sme_cookie;*/
1451 struct tctrl_softc *sc = v;
1502 struct tctrl_softc *sc;