Lines Matching refs:tctrl_softc

119 struct tctrl_softc {  struct
185 static void tctrl_write(struct tctrl_softc *, bus_size_t, uint8_t); argument
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); in tctrl_attach()
345 struct tctrl_softc *sc = arg; in tctrl_intr()
477 struct tctrl_softc *sc; in tctrl_setup_bitport_nop()
496 struct tctrl_softc *sc; in tctrl_setup_bitport()
643 tctrl_update_lcd(struct tctrl_softc *sc) in tctrl_update_lcd()
691 struct tctrl_softc *sc; in tadpole_set_lcd()
714 struct tctrl_softc *sc; in tctrl_read_ext_status()
739 tctrl_apm_record_event(struct tctrl_softc *sc, u_int event_type) in tctrl_apm_record_event()
758 tctrl_read_event_status(struct tctrl_softc *sc) in tctrl_read_event_status()
845 tctrl_lock(struct tctrl_softc *sc) in tctrl_lock()
852 tctrl_unlock(struct tctrl_softc *sc) in tctrl_unlock()
861 struct tctrl_softc *sc; in tadpole_request()
957 struct tctrl_softc *sc; in tadpole_set_video()
990 tctrl_write_data(struct tctrl_softc *sc, uint8_t v) in tctrl_write_data()
1003 tctrl_read_data(struct tctrl_softc *sc) in tctrl_read_data()
1020 tctrl_read(struct tctrl_softc *sc, bus_size_t off) in tctrl_read()
1028 tctrl_write(struct tctrl_softc *sc, bus_size_t off, uint8_t v) in tctrl_write()
1040 struct tctrl_softc *sc; in tctrlopen()
1070 struct tctrl_softc *sc; in tctrlclose()
1093 struct tctrl_softc *sc; in tctrlioctl()
1200 struct tctrl_softc *sc = device_lookup_private(&tctrl_cd, in tctrlpoll()
1217 struct tctrl_softc *sc = kn->kn_hook; in filt_tctrlrdetach()
1228 struct tctrl_softc *sc = kn->kn_hook; in filt_tctrlread()
1244 struct tctrl_softc *sc = device_lookup_private(&tctrl_cd, in tctrlkqfilter()
1267 tctrl_sensor_setup(struct tctrl_softc *sc) in tctrl_sensor_setup()
1340 struct tctrl_softc *sc = arg; in tctrl_power_button_pressed()
1347 tctrl_lid_state(struct tctrl_softc *sc) in tctrl_lid_state()
1357 tctrl_ac_state(struct tctrl_softc *sc) in tctrl_ac_state()
1369 struct tctrl_softc *sc = (struct tctrl_softc *)arg; in tctrl_powerfail()
1451 struct tctrl_softc *sc = v; in tctrl_event_thread()
1502 struct tctrl_softc *sc; in tadpole_register_callback()