Lines Matching defs:wmi_hp_softc
150 struct wmi_hp_softc {
166 static bool wmi_hp_method(struct wmi_hp_softc *);
167 static bool wmi_hp_method_read(struct wmi_hp_softc *, uint8_t);
168 static bool wmi_hp_method_write(struct wmi_hp_softc *, uint8_t, uint32_t);
170 static void wmi_hp_sensor_init(struct wmi_hp_softc *);
174 static void sysctl_wmi_hp_setup(struct wmi_hp_softc *);
178 static struct wmi_hp_softc *wmi_hp_sc = NULL; /* XXX */
180 CFATTACH_DECL_NEW(wmihp, sizeof(struct wmi_hp_softc),
192 struct wmi_hp_softc *sc = device_private(self);
223 struct wmi_hp_softc *sc = device_private(self);
250 struct wmi_hp_softc *sc = device_private(self);
262 struct wmi_hp_softc *sc = device_private(self);
275 struct wmi_hp_softc *sc;
338 struct wmi_hp_softc *sc;
381 wmi_hp_method(struct wmi_hp_softc *sc)
462 wmi_hp_method_read(struct wmi_hp_softc *sc, uint8_t cmd)
475 wmi_hp_method_write(struct wmi_hp_softc *sc, uint8_t cmd, uint32_t val)
489 wmi_hp_switch_init(struct wmi_hp_softc *sc)
525 wmi_hp_sensor_init(struct wmi_hp_softc *sc)
599 struct wmi_hp_softc *sc;
643 wmi_hp_sensor_read(struct wmi_hp_softc *sc, envsys_data_t *sensor, int cmd)
656 struct wmi_hp_softc *sc = sme->sme_cookie;
715 struct wmi_hp_softc *sc = wmi_hp_sc;
737 sysctl_wmi_hp_setup(struct wmi_hp_softc *sc)