| /openbsd-src/sys/dev/usb/ |
| H A D | ucrcom.c | 98 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in ucrcom_attach() 100 uca.bulkin = ed->bEndpointAddress; in ucrcom_attach() 101 else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in ucrcom_attach() 103 uca.bulkout = ed->bEndpointAddress; in ucrcom_attach()
|
| H A D | uscom.c | 117 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uscom_attach() 119 uca.bulkin = ed->bEndpointAddress; in uscom_attach() 120 else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uscom_attach() 122 uca.bulkout = ed->bEndpointAddress; in uscom_attach()
|
| H A D | uxrcom.c | 148 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uxrcom_attach() 150 sc->sc_intr_number = ed->bEndpointAddress; in uxrcom_attach() 173 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uxrcom_attach() 175 uca.bulkin = ed->bEndpointAddress; in uxrcom_attach() 176 else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uxrcom_attach() 178 uca.bulkout = ed->bEndpointAddress; in uxrcom_attach()
|
| H A D | uark.c | 148 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uark_attach() 150 uca.bulkin = ed->bEndpointAddress; in uark_attach() 151 else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uark_attach() 153 uca.bulkout = ed->bEndpointAddress; in uark_attach()
|
| H A D | uow.c | 141 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uow_attach() 143 ep_ibulk = ed->bEndpointAddress; in uow_attach() 144 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uow_attach() 146 ep_obulk = ed->bEndpointAddress; in uow_attach() 147 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uow_attach() 149 ep_intr = ed->bEndpointAddress; in uow_attach()
|
| H A D | uipaq.c | 205 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uipaq_attach() 207 uca.bulkin = ed->bEndpointAddress; in uipaq_attach() 208 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uipaq_attach() 210 uca.bulkout = ed->bEndpointAddress; in uipaq_attach()
|
| H A D | umct.c | 225 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in umct_attach() 228 uca.bulkin = ed->bEndpointAddress; in umct_attach() 229 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in umct_attach() 231 uca.bulkout = ed->bEndpointAddress; in umct_attach() 232 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in umct_attach() 234 sc->sc_intr_number = ed->bEndpointAddress; in umct_attach()
|
| H A D | uticom.c | 280 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uticom_attach_hook() 282 uca.bulkout = ed->bEndpointAddress; in uticom_attach_hook() 284 sc->sc_dev.dv_xname, ed->bEndpointAddress)); in uticom_attach_hook() 359 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uticom_attach_hook() 361 sc->sc_intr_number = ed->bEndpointAddress; in uticom_attach_hook() 389 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uticom_attach_hook() 391 uca.bulkin = ed->bEndpointAddress; in uticom_attach_hook() 392 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uticom_attach_hook() 394 uca.bulkout = ed->bEndpointAddress; in uticom_attach_hook()
|
| H A D | moscom.c | 221 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in moscom_attach() 223 uca.bulkin = ed->bEndpointAddress; in moscom_attach() 224 else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in moscom_attach() 226 uca.bulkout = ed->bEndpointAddress; in moscom_attach()
|
| H A D | umsm.c | 427 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in umsm_attach() 429 sc->sc_intr_number = ed->bEndpointAddress; in umsm_attach() 433 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in umsm_attach() 435 uca.bulkin = ed->bEndpointAddress; in umsm_attach() 436 else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in umsm_attach() 438 uca.bulkout = ed->bEndpointAddress; in umsm_attach() 781 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in umsm_umass_changemode() 783 target_ep = ed->bEndpointAddress; in umsm_umass_changemode()
|
| H A D | ubsa.c | 302 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in ubsa_attach() 304 sc->sc_intr_number = ed->bEndpointAddress; in ubsa_attach() 306 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in ubsa_attach() 308 uca.bulkin = ed->bEndpointAddress; in ubsa_attach() 310 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in ubsa_attach() 312 uca.bulkout = ed->bEndpointAddress; in ubsa_attach()
|
| H A D | if_cdce.c | 236 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in cdce_attach() 238 sc->cdce_intr_no = ed->bEndpointAddress; in cdce_attach() 264 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in cdce_attach() 266 sc->cdce_bulkin_no = ed->bEndpointAddress; in cdce_attach() 268 UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in cdce_attach() 270 sc->cdce_bulkout_no = ed->bEndpointAddress; in cdce_attach() 274 UE_GET_DIR(ed->bEndpointAddress) != UE_DIR_IN && in cdce_attach() 278 ed->bEndpointAddress, ed->bmAttributes); in cdce_attach()
|
| H A D | uonerng.c | 219 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uonerng_attach() 221 ep_ibulk = ed->bEndpointAddress; in uonerng_attach() 222 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uonerng_attach() 224 ep_obulk = ed->bEndpointAddress; in uonerng_attach()
|
| H A D | uvscom.c | 273 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uvscom_attach() 275 uca.bulkin = ed->bEndpointAddress; in uvscom_attach() 276 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uvscom_attach() 278 uca.bulkout = ed->bEndpointAddress; in uvscom_attach() 279 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uvscom_attach() 281 sc->sc_intr_number = ed->bEndpointAddress; in uvscom_attach()
|
| H A D | umodem.c | 304 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in umodem_attach() 306 uca.bulkin = ed->bEndpointAddress; in umodem_attach() 307 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in umodem_attach() 309 uca.bulkout = ed->bEndpointAddress; in umodem_attach() 359 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in umodem_attach() 363 sc->sc_ctl_notify = ed->bEndpointAddress; in umodem_attach()
|
| H A D | usps.c | 176 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in usps_attach() 178 ep_ibulk = ed->bEndpointAddress; in usps_attach() 179 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in usps_attach() 181 ep_obulk = ed->bEndpointAddress; in usps_attach() 182 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in usps_attach() 184 ep_intr = ed->bEndpointAddress; in usps_attach()
|
| H A D | urng.c | 158 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in urng_attach() 160 ep_addr = UE_GET_ADDR(ed->bEndpointAddress); in urng_attach() 166 ep_ibulk = ed->bEndpointAddress; in urng_attach()
|
| H A D | uplcom.c | 312 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uplcom_attach() 314 sc->sc_intr_number = ed->bEndpointAddress; in uplcom_attach() 366 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uplcom_attach() 368 uca.bulkin = ed->bEndpointAddress; in uplcom_attach() 369 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uplcom_attach() 371 uca.bulkout = ed->bEndpointAddress; in uplcom_attach()
|
| H A D | if_upl.c | 230 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in upl_attach() 232 sc->sc_ed[UPL_ENDPT_RX] = ed->bEndpointAddress; in upl_attach() 233 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in upl_attach() 235 sc->sc_ed[UPL_ENDPT_TX] = ed->bEndpointAddress; in upl_attach() 236 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in upl_attach() 238 sc->sc_ed[UPL_ENDPT_INTR] = ed->bEndpointAddress; in upl_attach()
|
| H A D | if_ugl.c | 227 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in ugl_attach() 229 sc->sc_ed[UGL_ENDPT_RX] = ed->bEndpointAddress; in ugl_attach() 230 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in ugl_attach() 232 sc->sc_ed[UGL_ENDPT_TX] = ed->bEndpointAddress; in ugl_attach() 233 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in ugl_attach() 235 sc->sc_ed[UGL_ENDPT_INTR] = ed->bEndpointAddress; in ugl_attach()
|
| H A D | uslcom.c | 310 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uslcom_attach() 312 uca.bulkin = ed->bEndpointAddress; in uslcom_attach() 313 else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uslcom_attach() 315 uca.bulkout = ed->bEndpointAddress; in uslcom_attach()
|
| H A D | uchcom.c | 373 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uchcom_find_endpoints() 375 intr = ed->bEndpointAddress; in uchcom_find_endpoints() 401 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uchcom_find_endpoints() 403 bin = ed->bEndpointAddress; in uchcom_find_endpoints() 405 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uchcom_find_endpoints() 407 bout = ed->bEndpointAddress; in uchcom_find_endpoints()
|
| H A D | ugen.c | 241 endpt = ed->bEndpointAddress; in ugen_set_config() 316 edesc->bEndpointAddress, 0, &sce->pipeh); in ugenopen() 330 edesc->bEndpointAddress, in ugenopen() 345 edesc->bEndpointAddress, 0, &sce->pipeh); in ugenopen() 365 edesc->bEndpointAddress, 0, &sce->pipeh); in ugenopen() 924 endpt = ed->bEndpointAddress; in ugen_set_interface() 938 endpt = ed->bEndpointAddress; in ugen_set_interface() 1402 ed->bEndpointAddress, UF_ENDPOINT_HALT)) in ugen_clear_iface_eps()
|
| H A D | umidi.c | 461 UE_GET_DIR(epd->bEndpointAddress)!=UE_DIR_OUT) { in alloc_all_endpoints_fixed_ep() 468 ep->addr = epd->bEndpointAddress; in alloc_all_endpoints_fixed_ep() 486 UE_GET_DIR(epd->bEndpointAddress)!=UE_DIR_IN) { in alloc_all_endpoints_fixed_ep() 492 ep->addr = epd->bEndpointAddress; in alloc_all_endpoints_fixed_ep() 528 dir = UE_GET_DIR(epd->bEndpointAddress); in alloc_all_endpoints_yamaha() 530 out_addr = epd->bEndpointAddress; in alloc_all_endpoints_yamaha() 532 in_addr = epd->bEndpointAddress; in alloc_all_endpoints_yamaha() 640 epaddr = TO_EPD(desc)->bEndpointAddress; in alloc_all_endpoints_genuine()
|
| H A D | uhidev.c | 186 ed->bEndpointAddress & UE_ADDR, in uhidev_attach() 187 UE_GET_DIR(ed->bEndpointAddress)==UE_DIR_IN? "in" : "out", in uhidev_attach() 191 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uhidev_attach() 193 sc->sc_iep_addr = ed->bEndpointAddress; in uhidev_attach() 194 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uhidev_attach() 196 sc->sc_oep_addr = ed->bEndpointAddress; in uhidev_attach()
|