| /netbsd-src/sys/dev/usb/ |
| H A D | ubsa.c | 237 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in ubsa_attach() 239 sc->sc_intr_number = ed->bEndpointAddress; in ubsa_attach() 241 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in ubsa_attach() 243 ucaa.ucaa_bulkin = ed->bEndpointAddress; in ubsa_attach() 245 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in ubsa_attach() 247 ucaa.ucaa_bulkout = ed->bEndpointAddress; in ubsa_attach()
|
| H A D | u3g.c | 393 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in u3g_attach() 395 intr_address = ed->bEndpointAddress; in u3g_attach() 398 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in u3g_attach() 400 ucaa.ucaa_bulkin = ed->bEndpointAddress; in u3g_attach() 402 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in u3g_attach() 404 ucaa.ucaa_bulkout = ed->bEndpointAddress; in u3g_attach() 620 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in u3g_open() 624 ed->bEndpointAddress, UF_ENDPOINT_HALT); in u3g_open()
|
| H A D | uhmodem.c | 291 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uhmodem_attach() 293 sc->sc_intr_number = ed->bEndpointAddress; in uhmodem_attach() 295 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uhmodem_attach() 297 ucaa.ucaa_bulkin = ed->bEndpointAddress; in uhmodem_attach() 298 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uhmodem_attach() 300 ucaa.ucaa_bulkout = ed->bEndpointAddress; in uhmodem_attach() 524 ed->bEndpointAddress, UF_ENDPOINT_HALT); in uhmodem_endpointhalt() 527 __func__, ed->bEndpointAddress)); in uhmodem_endpointhalt()
|
| H A D | if_cdce.c | 217 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in cdce_attach() 219 un->un_ed[USBNET_ENDPT_RX] = ed->bEndpointAddress; in cdce_attach() 220 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in cdce_attach() 222 un->un_ed[USBNET_ENDPT_TX] = ed->bEndpointAddress; in cdce_attach() 223 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in cdce_attach()
|
| H A D | if_upl.c | 193 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in upl_attach() 195 un->un_ed[USBNET_ENDPT_RX] = ed->bEndpointAddress; in upl_attach() 196 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in upl_attach() 198 un->un_ed[USBNET_ENDPT_TX] = ed->bEndpointAddress; in upl_attach()
|
| H A D | umct.c | 250 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in umct_attach() 253 ucaa.ucaa_bulkin = ed->bEndpointAddress; in umct_attach() 254 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in umct_attach() 256 ucaa.ucaa_bulkout = ed->bEndpointAddress; in umct_attach() 257 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in umct_attach() 259 sc->sc_intr_number = ed->bEndpointAddress; in umct_attach()
|
| H A D | if_kue.c | 474 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in kue_attach() 476 un->un_ed[USBNET_ENDPT_RX] = ed->bEndpointAddress; in kue_attach() 477 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in kue_attach() 479 un->un_ed[USBNET_ENDPT_TX] = ed->bEndpointAddress; in kue_attach() 480 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in kue_attach() 486 un->un_ed[USBNET_ENDPT_INTR] = ed->bEndpointAddress; in kue_attach()
|
| H A D | uark.c | 167 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uark_attach() 169 ucaa.ucaa_bulkin = ed->bEndpointAddress; in uark_attach() 170 else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uark_attach() 172 ucaa.ucaa_bulkout = ed->bEndpointAddress; in uark_attach()
|
| H A D | umodem_common.c | 186 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in umodem_common_attach() 188 ucaa->ucaa_bulkin = ed->bEndpointAddress; in umodem_common_attach() 189 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in umodem_common_attach() 191 ucaa->ucaa_bulkout = ed->bEndpointAddress; in umodem_common_attach() 239 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in umodem_common_attach() 243 sc->sc_ctl_notify = ed->bEndpointAddress; in umodem_common_attach()
|
| H A D | uipaq.c | 226 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uipaq_attach() 228 ucaa.ucaa_bulkin = ed->bEndpointAddress; in uipaq_attach() 229 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uipaq_attach() 231 ucaa.ucaa_bulkout = ed->bEndpointAddress; in uipaq_attach()
|
| H A D | if_cue.c | 513 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in cue_attach() 515 un->un_ed[USBNET_ENDPT_RX] = ed->bEndpointAddress; in cue_attach() 516 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in cue_attach() 518 un->un_ed[USBNET_ENDPT_TX] = ed->bEndpointAddress; in cue_attach() 519 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in cue_attach() 521 un->un_ed[USBNET_ENDPT_INTR] = ed->bEndpointAddress; in cue_attach()
|
| H A D | if_url.c | 225 UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN) in url_attach() 226 un->un_ed[USBNET_ENDPT_RX] = ed->bEndpointAddress; in url_attach() 228 UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT) in url_attach() 229 un->un_ed[USBNET_ENDPT_TX] = ed->bEndpointAddress; in url_attach() 231 UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN) in url_attach() 232 un->un_ed[USBNET_ENDPT_INTR] = ed->bEndpointAddress; in url_attach()
|
| H A D | if_mos.c | 622 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in mos_attach() 624 un->un_ed[USBNET_ENDPT_RX] = ed->bEndpointAddress; in mos_attach() 625 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in mos_attach() 627 un->un_ed[USBNET_ENDPT_TX] = ed->bEndpointAddress; in mos_attach() 628 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in mos_attach() 630 un->un_ed[USBNET_ENDPT_INTR] = ed->bEndpointAddress; in mos_attach()
|
| H A D | auvitek.c | 162 dir = UE_GET_DIR(ed->bEndpointAddress); in auvitek_attach() 167 sc->sc_ax.ax_endpt = ed->bEndpointAddress; in auvitek_attach() 207 dir = UE_GET_DIR(ed->bEndpointAddress); in auvitek_attach() 212 sc->sc_ab.ab_endpt = ed->bEndpointAddress; in auvitek_attach()
|
| H A D | if_udav.c | 219 UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN) in udav_attach() 220 un->un_ed[USBNET_ENDPT_RX] = ed->bEndpointAddress; in udav_attach() 222 UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT) in udav_attach() 223 un->un_ed[USBNET_ENDPT_TX] = ed->bEndpointAddress; in udav_attach() 225 UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN) in udav_attach() 226 un->un_ed[USBNET_ENDPT_INTR] = ed->bEndpointAddress; in udav_attach()
|
| H A D | uvscom.c | 305 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uvscom_attach() 307 ucaa.ucaa_bulkin = ed->bEndpointAddress; in uvscom_attach() 308 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uvscom_attach() 310 ucaa.ucaa_bulkout = ed->bEndpointAddress; in uvscom_attach() 311 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uvscom_attach() 313 sc->sc_intr_number = ed->bEndpointAddress; in uvscom_attach()
|
| H A D | usscanner.c | 231 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in usscanner_attach() 233 sc->sc_in_addr = ed->bEndpointAddress; in usscanner_attach() 234 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in usscanner_attach() 236 sc->sc_intr_addr = ed->bEndpointAddress; in usscanner_attach() 237 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in usscanner_attach() 239 sc->sc_out_addr = ed->bEndpointAddress; in usscanner_attach()
|
| H A D | umodeswitch.c | 94 if (UE_GET_DIR(ed->bEndpointAddress) != UE_DIR_OUT) in send_bulkmsg() 103 err = usbd_open_pipe(iface, ed->bEndpointAddress, in send_bulkmsg() 107 __func__, ed->bEndpointAddress); in send_bulkmsg()
|
| H A D | uchcom.c | 363 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in find_endpoints() 365 intr = ed->bEndpointAddress; in find_endpoints() 367 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in find_endpoints() 369 bin = ed->bEndpointAddress; in find_endpoints() 370 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in find_endpoints() 372 bout = ed->bEndpointAddress; in find_endpoints()
|
| H A D | if_smsc.c | 815 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in smsc_attach() 817 un->un_ed[USBNET_ENDPT_RX] = ed->bEndpointAddress; in smsc_attach() 818 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in smsc_attach() 820 un->un_ed[USBNET_ENDPT_TX] = ed->bEndpointAddress; in smsc_attach() 822 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in smsc_attach() 824 un->un_ed[USBNET_ENDPT_INTR] = ed->bEndpointAddress; in smsc_attach()
|
| H A D | uplcom.c | 388 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uplcom_attach() 390 sc->sc_intr_number = ed->bEndpointAddress; in uplcom_attach() 441 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in uplcom_attach() 443 ucaa.ucaa_bulkin = ed->bEndpointAddress; in uplcom_attach() 444 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in uplcom_attach() 446 ucaa.ucaa_bulkout = ed->bEndpointAddress; in uplcom_attach()
|
| H A D | if_axen.c | 643 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in axen_attach() 645 un->un_ed[USBNET_ENDPT_RX] = ed->bEndpointAddress; in axen_attach() 646 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in axen_attach() 648 un->un_ed[USBNET_ENDPT_TX] = ed->bEndpointAddress; in axen_attach() 650 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in axen_attach() 652 un->un_ed[USBNET_ENDPT_INTR] = ed->bEndpointAddress; in axen_attach()
|
| H A D | ubt.c | 551 dir = UE_GET_DIR(ed->bEndpointAddress); in ubt_attach() 555 sc->sc_evt_addr = ed->bEndpointAddress; in ubt_attach() 557 sc->sc_aclrd_addr = ed->bEndpointAddress; in ubt_attach() 559 sc->sc_aclwr_addr = ed->bEndpointAddress; in ubt_attach() 787 ed->bEndpointAddress, in ubt_set_isoc_config() 788 UE_GET_DIR(ed->bEndpointAddress) ? "in" : "out"); in ubt_set_isoc_config() 793 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN) { in ubt_set_isoc_config() 794 rd_addr = ed->bEndpointAddress; in ubt_set_isoc_config() 797 wr_addr = ed->bEndpointAddress; in ubt_set_isoc_config()
|
| H A D | if_aue.c | 830 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in aue_attach() 832 un->un_ed[USBNET_ENDPT_RX] = ed->bEndpointAddress; in aue_attach() 833 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && in aue_attach() 835 un->un_ed[USBNET_ENDPT_TX] = ed->bEndpointAddress; in aue_attach() 836 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && in aue_attach() 838 un->un_ed[USBNET_ENDPT_INTR] = ed->bEndpointAddress; in aue_attach()
|
| H A D | ualea.c | 115 if (UE_GET_DIR(ed->bEndpointAddress) != UE_DIR_IN || in ualea_attach() 125 status = usbd_open_pipe(uiaa->uiaa_iface, ed->bEndpointAddress, in ualea_attach()
|