Lines Matching defs:ch_softc
63 struct ch_softc {
106 CFATTACH_DECL_NEW(ch, sizeof(struct ch_softc),
148 static int ch_move(struct ch_softc *, struct changer_move_request *);
149 static int ch_exchange(struct ch_softc *,
151 static int ch_position(struct ch_softc *,
153 static int ch_ielem(struct ch_softc *);
154 static int ch_ousergetelemstatus(struct ch_softc *, int, u_int8_t *);
155 static int ch_usergetelemstatus(struct ch_softc *,
157 static int ch_getelemstatus(struct ch_softc *, int, int, void *,
159 static int ch_setvoltag(struct ch_softc *,
161 static int ch_get_params(struct ch_softc *, int);
162 static void ch_get_quirks(struct ch_softc *,
164 static void ch_event(struct ch_softc *, u_int);
165 static int ch_map_element(struct ch_softc *, u_int16_t, int *, int *);
203 struct ch_softc *sc = device_private(self);
266 struct ch_softc *sc;
319 struct ch_softc *sc = device_lookup_private(&ch_cd, CHUNIT(dev));
336 struct ch_softc *sc = device_lookup_private(&ch_cd, CHUNIT(dev));
355 struct ch_softc *sc = device_lookup_private(&ch_cd, CHUNIT(dev));
455 struct ch_softc *sc = device_lookup_private(&ch_cd, CHUNIT(dev));
474 struct ch_softc *sc = kn->kn_hook;
482 struct ch_softc *sc = kn->kn_hook;
500 struct ch_softc *sc = device_lookup_private(&ch_cd, CHUNIT(dev));
525 struct ch_softc *sc = device_private(periph->periph_dev);
574 ch_event(struct ch_softc *sc, u_int event)
582 ch_move(struct ch_softc *sc, struct changer_move_request *cm)
627 ch_exchange(struct ch_softc *sc, struct changer_exchange_request *ce)
681 ch_position(struct ch_softc *sc, struct changer_position_request *cp)
722 ch_ousergetelemstatus(struct ch_softc *sc, int chet, u_int8_t *uptr)
807 ch_usergetelemstatus(struct ch_softc *sc,
1030 ch_getelemstatus(struct ch_softc *sc, int first, int count, void *data,
1056 ch_setvoltag(struct ch_softc *sc, struct changer_set_voltag_request *csvr)
1121 ch_ielem(struct ch_softc *sc)
1160 ch_get_params(struct ch_softc *sc, int scsiflags)
1238 ch_get_quirks(struct ch_softc *sc, struct scsipi_inquiry_pattern *inqbuf)
1253 ch_softc *sc, u_int16_t elem, int *typep, int *unitp)