| /openbsd-src/sys/dev/usb/ |
| H A D | uscom.c | 37 struct device *sc_subdev; member 141 sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); in uscom_attach() 150 if (sc->sc_subdev != NULL) { in uscom_detach() 151 rv = config_detach(sc->sc_subdev, flags); in uscom_detach() 152 sc->sc_subdev = NULL; in uscom_detach()
|
| H A D | ucrcom.c | 34 struct device *sc_subdev; member 121 sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); in ucrcom_attach() 130 if (sc->sc_subdev != NULL) in ucrcom_detach() 131 rv = config_detach(sc->sc_subdev, flags); in ucrcom_detach()
|
| H A D | ucycom.c | 117 struct device *sc_subdev; member 224 sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); in ucycom_attach() 225 DPRINTF(("ucycom_attach: complete %p\n", sc->sc_subdev)); in ucycom_attach() 309 ucom_status_change((struct ucom_softc *)sc->sc_subdev); in ucycom_read() 501 ucomreadcb(addr->sc_parent->sc_ixfer, sc->sc_subdev, in ucycom_intr() 544 if (sc->sc_subdev != NULL) { in ucycom_detach() 545 config_detach(sc->sc_subdev, flags); in ucycom_detach() 546 sc->sc_subdev = NULL; in ucycom_detach()
|
| H A D | uark.c | 61 struct device *sc_subdev; member 172 sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); in uark_attach() 181 if (sc->sc_subdev != NULL) { in uark_detach() 182 rv = config_detach(sc->sc_subdev, flags); in uark_detach() 183 sc->sc_subdev = NULL; in uark_detach()
|
| H A D | uipaq.c | 77 struct device *sc_subdev; /* ucom uses that */ member 214 sc->sc_subdev = config_found_sm(self, &uca, in uipaq_attach() 345 if (sc->sc_subdev != NULL) { in uipaq_detach() 346 rv |= config_detach(sc->sc_subdev, flags); in uipaq_detach() 347 sc->sc_subdev = NULL; in uipaq_detach()
|
| H A D | moscom.c | 134 struct device *sc_subdev; member 245 sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); in moscom_attach() 254 if (sc->sc_subdev != NULL) { in moscom_detach() 255 rv = config_detach(sc->sc_subdev, flags); in moscom_detach() 256 sc->sc_subdev = NULL; in moscom_detach()
|
| H A D | uslhcom.c | 55 struct device *sc_subdev; member 184 sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); in uslhcom_attach() 193 if (sc->sc_subdev != NULL) { in uslhcom_detach() 194 config_detach(sc->sc_subdev, flags); in uslhcom_detach() 195 sc->sc_subdev = NULL; in uslhcom_detach() 496 ucomreadcb(addr->sc_parent->sc_ixfer, sc->sc_subdev, in uslhcom_intr()
|
| H A D | uxrcom.c | 62 struct device *sc_subdev; member 199 sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); in uxrcom_attach() 213 if (sc->sc_subdev != NULL) in uxrcom_detach() 214 rv = config_detach(sc->sc_subdev, flags); in uxrcom_detach() 401 ucom_status_change((struct ucom_softc *)sc->sc_subdev); in uxrcom_intr()
|
| H A D | umct.c | 83 struct device *sc_subdev; /* ucom device */ member 280 sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); in umct_attach() 297 if (sc->sc_subdev != NULL) { in umct_detach() 298 rv = config_detach(sc->sc_subdev, flags); in umct_detach() 299 sc->sc_subdev = NULL; in umct_detach() 586 ucom_status_change((struct ucom_softc *)sc->sc_subdev); in umct_intr()
|
| H A D | ubsa.c | 153 struct device *sc_subdev; /* ucom device */ member 348 sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); in ubsa_attach() 369 if (sc->sc_subdev != NULL) { in ubsa_detach() 370 rv = config_detach(sc->sc_subdev, flags); in ubsa_detach() 371 sc->sc_subdev = NULL; in ubsa_detach() 674 ucom_status_change((struct ucom_softc *)sc->sc_subdev); in ubsa_intr()
|
| H A D | uvscom.c | 140 struct device *sc_subdev; /* ucom device */ member 334 sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); in uvscom_attach() 351 if (sc->sc_subdev != NULL) { in uvscom_detach() 352 rv = config_detach(sc->sc_subdev, flags); in uvscom_detach() 353 sc->sc_subdev = NULL; in uvscom_detach() 786 ucom_status_change((struct ucom_softc *) sc->sc_subdev); in uvscom_intr()
|
| H A D | uslcom.c | 87 struct device *sc_subdev; member 335 sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); in uslcom_attach() 344 if (sc->sc_subdev != NULL) { in uslcom_detach() 345 rv = config_detach(sc->sc_subdev, flags); in uslcom_detach() 346 sc->sc_subdev = NULL; in uslcom_detach()
|
| H A D | uplcom.c | 96 struct device *sc_subdev; /* ucom device */ member 414 sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); in uplcom_attach() 431 if (sc->sc_subdev != NULL) { in uplcom_detach() 432 rv = config_detach(sc->sc_subdev, flags); in uplcom_detach() 433 sc->sc_subdev = NULL; in uplcom_detach() 798 ucom_status_change((struct ucom_softc *) sc->sc_subdev); in uplcom_intr()
|
| H A D | umsm.c | 65 struct device *sc_subdev; member 460 sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); in umsm_attach() 477 if (sc->sc_subdev != NULL) { in umsm_detach() 478 rv = config_detach(sc->sc_subdev, flags); in umsm_detach() 479 sc->sc_subdev = NULL; in umsm_detach() 595 ucom_status_change((struct ucom_softc *)sc->sc_subdev); in umsm_intr()
|
| H A D | umodem.c | 95 struct device *sc_subdev; /* ucom device */ member 382 sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); in umodem_attach() 482 ucom_status_change((struct ucom_softc *)sc->sc_subdev); in umodem_intr() 704 if (sc->sc_subdev != NULL) in umodem_detach() 705 rv = config_detach(sc->sc_subdev, flags); in umodem_detach()
|
| H A D | uticom.c | 134 struct device *sc_subdev; member 437 sc->sc_subdev = config_found_sm((struct device *)sc, &uca, ucomprint, ucomsubmatch); in uticom_attach_hook() 448 if (sc->sc_subdev != NULL) { in uticom_detach() 449 config_detach(sc->sc_subdev, flags); in uticom_detach() 450 sc->sc_subdev = NULL; in uticom_detach() 814 ucom_status_change((struct ucom_softc *)sc->sc_subdev); in uticom_intr()
|
| H A D | uchcom.c | 133 struct device *sc_subdev; 317 sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); in uchcom_attach() 335 if (sc->sc_subdev != NULL) { in uchcom_detach() 336 rv = config_detach(sc->sc_subdev, flags); in uchcom_detach() 337 sc->sc_subdev = NULL; in uchcom_detach() 1100 ucom_status_change((struct ucom_softc *) sc->sc_subdev); in uchcom_intr() 134 struct device *sc_subdev; global() member
|
| H A D | uftdi.c | 83 struct device *sc_subdev; member 855 sc->sc_subdev = config_found_sm(self, &uca, ucomprint, ucomsubmatch); in uftdi_detach() 870 if (sc->sc_subdev != NULL) { in uftdi_open() 871 config_detach(sc->sc_subdev, flags); in uftdi_open() 872 sc->sc_subdev = NULL; in uftdi_open() 944 ucom_status_change((struct ucom_softc *)sc->sc_subdev); in uftdi_write()
|