Lines Matching defs:aplsmc_softc
118 struct aplsmc_softc {
148 struct aplsmc_softc *aplsmc_sc;
183 sizeof (struct aplsmc_softc), aplsmc_match, aplsmc_attach,
192 int aplsmc_send_cmd(struct aplsmc_softc *, uint16_t, uint32_t, uint16_t);
193 int aplsmc_wait_cmd(struct aplsmc_softc *sc);
194 int aplsmc_read_key(struct aplsmc_softc *, uint32_t, void *, size_t);
195 int aplsmc_write_key(struct aplsmc_softc *, uint32_t, void *, size_t);
205 void aplsmc_battery_init(struct aplsmc_softc *);
222 struct aplsmc_softc *sc = (struct aplsmc_softc *)self;
372 struct aplsmc_softc *sc = (struct aplsmc_softc *)self;
387 aplsmc_handle_notification(struct aplsmc_softc *sc, uint64_t data)
482 struct aplsmc_softc *sc = arg;
494 aplsmc_send_cmd(struct aplsmc_softc *sc, uint16_t cmd, uint32_t key,
508 aplsmc_wait_cmd(struct aplsmc_softc *sc)
529 aplsmc_read_key(struct aplsmc_softc *sc, uint32_t key, void *data, size_t len)
561 aplsmc_write_key(struct aplsmc_softc *sc, uint32_t key, void *data, size_t len)
596 struct aplsmc_softc *sc = arg;
650 struct aplsmc_softc *sc = aplsmc_sc;
704 struct aplsmc_softc *sc = cookie;
726 struct aplsmc_softc *sc = handle->cookie;
750 struct aplsmc_softc *sc = handle->cookie;
771 struct aplsmc_softc *sc = (struct aplsmc_softc *)self;
784 struct aplsmc_softc *sc = aplsmc_sc;
799 struct aplsmc_softc *sc = aplsmc_sc;
817 aplsmc_battery_init(struct aplsmc_softc *sc)
870 struct aplsmc_softc *sc = aplsmc_sc;
928 struct aplsmc_softc *sc = aplsmc_sc;
954 struct aplsmc_softc *sc = aplsmc_sc;