Searched refs:sc_subdevs (Results 1 – 10 of 10) sorted by relevance
/netbsd-src/sys/dev/usb/ |
H A D | ubsa.c | 278 sc->sc_subdevs[0] = config_found(self, &ucaa, ucomprint, in ubsa_attach() 298 if (sc->sc_subdevs[i] == child) in ubsa_childdet() 302 sc->sc_subdevs[i] = NULL; in ubsa_childdet() 319 if (sc->sc_subdevs[i] != NULL) { in ubsa_detach() 320 rv |= config_detach(sc->sc_subdevs[i], flags); in ubsa_detach() 321 sc->sc_subdevs[i] = NULL; in ubsa_detach()
|
H A D | uvisor.c | 140 device_t sc_subdevs[UVISOR_MAX_CONN]; member 329 sc->sc_subdevs[i] = in uvisor_attach() 362 sc->sc_subdevs[i] = in uvisor_attach() 383 if (sc->sc_subdevs[i] == child) in uvisor_childdet() 387 sc->sc_subdevs[i] = NULL; in uvisor_childdet() 402 if (sc->sc_subdevs[i] != NULL) { in uvisor_detach() 403 rv |= config_detach(sc->sc_subdevs[i], flags); in uvisor_detach() 404 sc->sc_subdevs[i] = NULL; in uvisor_detach()
|
H A D | uhidev.c | 102 } *sc_subdevs; member 387 sc->sc_subdevs = kmem_zalloc(nrepid * sizeof(sc->sc_subdevs[0]), in uhidev_attach() 405 struct uhidev *scd = &sc->sc_subdevs[repid]; in uhidev_attach() 424 sc->sc_subdevs[repid].sc_dev = dev; in uhidev_attach() 475 if (sc->sc_subdevs[i].sc_dev == child) in uhidev_childdet() 479 sc->sc_subdevs[i].sc_dev = NULL; in uhidev_childdet() 487 rnd_detach_source(&sc->sc_subdevs[i].sc_rndsource); in uhidev_childdet() 520 if (sc->sc_subdevs != NULL) { in uhidev_detach() 522 kmem_free(sc->sc_subdevs, nrepid * sizeof(sc->sc_subdevs[0])); in uhidev_detach() 523 sc->sc_subdevs = NULL; in uhidev_detach() [all …]
|
H A D | uhmodem.c | 354 sc->sc_subdevs[i] = config_found(self, &ucaa, ucomprint, in uhmodem_attach() 385 if (sc->sc_subdevs[i] == child) in uhmodem_childdet() 389 sc->sc_subdevs[i] = NULL; in uhmodem_childdet() 406 if (sc->sc_subdevs[i] != NULL) { in uhmodem_detach() 407 rv |= config_detach(sc->sc_subdevs[i], flags); in uhmodem_detach() 408 sc->sc_subdevs[i] = NULL; in uhmodem_detach()
|
H A D | ubsavar.h | 133 device_t sc_subdevs[UBSA_MAXCONN]; /* ucom device */ member
|
H A D | ubsa_common.c | 439 ucom_status_change(device_private(sc->sc_subdevs[i])); in ubsa_intr()
|
/netbsd-src/sys/arch/dreamcast/dev/g2/ |
H A D | g2busvar.h | 63 sc_subdevs; /* list of all children */
|
H A D | g2bus.c | 73 TAILQ_INIT(&sc->sc_subdevs); in g2busattach()
|
/netbsd-src/sys/dev/i2c/ |
H A D | ihidev.c | 200 sc->sc_subdevs = kmem_zalloc(sc->sc_nrepid * sizeof(struct ihidev *), in ihidev_attach() 234 sc->sc_subdevs[repid] = device_private(dev); in ihidev_attach() 253 sc->sc_subdevs[repid] = device_private(dev); in ihidev_attach() 894 scd = sc->sc_subdevs[rep]; in ihidev_open()
|
H A D | ihidev.h | 141 struct ihidev **sc_subdevs; 136 struct ihidev **sc_subdevs; global() member
|