/Zephyr-latest/subsys/usb/device_next/ |
D | usbd_endpoint.h | 22 if (USB_EP_DIR_IS_IN(ep)) { in usbd_ep_bm_set() 39 if (USB_EP_DIR_IS_IN(ep)) { in usbd_ep_bm_clear() 60 if (USB_EP_DIR_IS_IN(ep)) { in usbd_ep_bm_is_set()
|
D | usbd_endpoint.c | 113 if (USB_EP_DIR_IS_IN(bi->ep)) { in usbd_ep_ctrl_enqueue() 139 if (USB_EP_DIR_IS_IN(bi->ep)) { in usbd_ep_enqueue()
|
D | usbd_init.c | 34 if (USB_EP_DIR_IS_IN(ed->bEndpointAddress)) { in assign_ep_addr()
|
D | usbd_class.c | 150 if (USB_EP_DIR_IS_IN(ep)) { in usbd_class_get_by_ep()
|
/Zephyr-latest/drivers/usb/device/ |
D | usb_dc_native_posix.c | 80 } else if ((USB_EP_DIR_IS_IN(ep)) && in usbip_ep_is_valid() 98 } else if ((USB_EP_DIR_IS_IN(ep)) && in usbip_ep_is_enabled() 178 if ((USB_EP_DIR_IS_IN(cfg->ep_addr)) && in usb_dc_ep_check_cap() 481 if (USB_EP_DIR_IS_IN(ep)) { in usb_dc_ep_set_callback()
|
D | usb_dc_it82xx2.c | 295 if (USB_EP_DIR_IS_IN(ep) && udata0.ep_data[ep_idx].ep_status == EP_CONFIG_IN) { in it82xx2_usb_fifo_ctrl() 1069 bool in = USB_EP_DIR_IS_IN(cfg->ep_addr); in usb_dc_ep_check_cap() 1109 bool in = USB_EP_DIR_IS_IN(cfg->ep_addr); in usb_dc_ep_configure() 1179 if (USB_EP_DIR_IS_IN(ep)) { in usb_dc_ep_set_callback() 1311 if (USB_EP_DIR_IS_IN(ep)) { in usb_dc_ep_flush() 1500 if (USB_EP_DIR_IS_IN(ep)) { in usb_dc_ep_read_wait() 1536 if (USB_EP_DIR_IS_IN(ep)) { in usb_dc_ep_read_continue()
|
D | usb_dc_dw.c | 223 } else if ((USB_EP_DIR_IS_IN(ep)) && ep_idx < USB_DW_IN_EP_NUM) { in usb_dw_ep_is_valid() 238 } else if ((USB_EP_DIR_IS_IN(ep)) && in usb_dw_ep_is_enabled() 435 if (USB_EP_DIR_IS_IN(ep)) { in usb_dw_ep_set() 961 if (USB_EP_DIR_IS_IN(cfg->ep_addr) && ep_idx >= USB_DW_IN_EP_NUM) { in usb_dc_ep_check_cap() 1359 if (USB_EP_DIR_IS_IN(ep)) { in usb_dc_ep_set_callback()
|
D | usb_dc_sam_usbc.c | 859 if (USB_EP_DIR_IS_IN(cfg->ep_addr)) { in usb_dc_ep_check_cap() 1130 if (USB_EP_DIR_IS_IN(ep)) { in usb_dc_ep_set_callback() 1137 USB_EP_DIR_IS_IN(ep) ? "IN" : "OUT"); in usb_dc_ep_set_callback() 1359 if (USB_EP_DIR_IS_IN(ep)) { in usb_dc_ep_read_ex() 1430 if (USB_EP_DIR_IS_IN(ep)) { in usb_dc_ep_read_continue()
|
D | usb_dc_rpi_pico.c | 117 if (USB_EP_DIR_IS_IN(ep)) { in udc_rpi_start_xfer() 183 if (USB_EP_DIR_IS_IN(ep)) { in udc_rpi_cancel_endpoint() 767 if (!ep_state || !USB_EP_DIR_IS_IN(ep)) { in usb_dc_ep_write()
|
D | usb_dc_numaker.c | 669 if (USB_EP_DIR_IS_IN(ep_cur->addr)) { in numaker_usbd_ep_enable() 924 __ASSERT_NO_MSG(USB_EP_DIR_IS_IN(ep_cur->addr)); in numaker_usbd_ep_bh() 1229 USB_EP_DIR_IS_IN(ep) ? USB_DC_EP_DATA_IN : USB_DC_EP_DATA_OUT; in numaker_udbd_isr() 1377 if (USB_EP_DIR_IS_IN(ep_cfg->ep_addr) && USB_EP_GET_IDX(ep_cfg->ep_addr) < 8) { in usb_dc_ep_check_cap() 1681 if (!USB_EP_DIR_IS_IN(ep)) { in usb_dc_ep_write()
|
D | usb_dc_sam0.c | 423 if (USB_EP_DIR_IS_IN(cfg->ep_addr)) { in usb_dc_ep_configure() 443 if (USB_EP_DIR_IS_IN(cfg->ep_addr)) { in usb_dc_ep_configure()
|
D | usb_dc_native_posix_adapt.c | 437 uint32_t ep_dir = USB_EP_DIR_IS_IN(ep) ? USBIP_DIR_IN : USBIP_DIR_OUT; in usbip_send_common()
|
D | usb_dc_sam_usbhs.c | 816 if (USB_EP_DIR_IS_IN(ep)) { in usb_dc_ep_set_callback()
|
/Zephyr-latest/drivers/usb/uhc/ |
D | uhc_virtual.c | 103 if (USB_EP_DIR_IS_IN(xfer->ep)) { in vrt_xfer_control() 130 if (USB_EP_DIR_IS_IN(xfer->ep)) { in vrt_xfer_control() 162 if (USB_EP_DIR_IS_IN(xfer->ep)) { in vrt_xfer_bulk()
|
D | uhc_max3421e.c | 278 if (USB_EP_DIR_IS_IN(ep)) { in max3421e_xfer_data() 345 if (USB_EP_DIR_IS_IN(xfer->ep)) { in max3421e_xfer_control()
|
/Zephyr-latest/include/zephyr/usb/ |
D | usb_ch9.h | 318 #define USB_EP_DIR_IS_IN(ep) (USB_EP_GET_DIR(ep) == USB_EP_DIR_IN) macro
|
/Zephyr-latest/include/zephyr/drivers/usb/ |
D | udc.h | 696 if (USB_EP_DIR_IS_IN(bi->ep)) { in udc_ep_buf_set_zlp()
|
/Zephyr-latest/tests/drivers/udc/src/ |
D | main.c | 127 uint8_t ctrl_ep = USB_EP_DIR_IS_IN(ed->bEndpointAddress) ? in test_udc_ep_enable() 166 uint8_t ctrl_ep = USB_EP_DIR_IS_IN(ed->bEndpointAddress) ? in test_udc_ep_disable()
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_common.c | 60 #define USB_EP_LUT_IDX(ep) (USB_EP_DIR_IS_IN(ep) ? (ep & BIT_MASK(4)) + 16 : \ 245 bool dir_is_in = USB_EP_DIR_IS_IN(ep); in ep_check_config() 601 USB_EP_DIR_IS_IN(cfg->addr) ? buf->len : buf->size); in udc_ep_enqueue()
|
D | udc_nrf.c | 464 if (USB_EP_DIR_IS_IN(ep)) { in udc_nrf_thread() 487 if (USB_EP_DIR_IS_IN(ep)) { in udc_nrf_thread()
|
D | udc_renesas_ra.c | 110 if (USB_EP_DIR_IS_IN(ep)) { in udc_event_xfer_next() 253 if (USB_EP_DIR_IS_IN(ep) && udc_ep_buf_has_zlp(buf)) { in udc_event_xfer_complete()
|
D | udc_ambiq.c | 223 if (USB_EP_DIR_IS_IN(ep_addr)) { in udc_ambiq_ep_xfer_complete_callback() 763 if (USB_EP_DIR_IS_IN(cfg->addr)) { in udc_event_xfer()
|
D | udc_dwc2.c | 318 if (USB_EP_DIR_IS_IN(cfg->addr)) { in dwc2_set_epint() 1329 if (USB_EP_DIR_IS_IN(cfg->addr) && udc_mps_ep_size(cfg) != 0U) { in udc_dwc2_ep_activate() 1519 if (USB_EP_DIR_IS_IN(cfg->addr) && udc_mps_ep_size(cfg) != 0U && in udc_dwc2_ep_deactivate() 1573 if (USB_EP_DIR_IS_IN(cfg->addr)) { in udc_dwc2_ep_clear_halt() 1598 if (USB_EP_DIR_IS_IN(cfg->addr)) { in udc_dwc2_ep_enqueue() 2893 if (USB_EP_DIR_IS_IN(ep)) { in dwc2_thread_handler()
|
D | udc_it82xx2.c | 447 if (USB_EP_DIR_IS_IN(ep)) { in it82xx2_usb_fifo_ctrl() 502 if (USB_EP_DIR_IS_IN(cfg->addr)) { in it82xx2_ep_dequeue() 585 if (USB_EP_DIR_IS_IN(cfg->addr)) { in it82xx2_ep_enable()
|
D | udc_smartbond.c | 628 if (USB_EP_DIR_IS_IN(ep)) { in udc_smartbond_ep_enqueue() 675 if (USB_EP_DIR_IS_IN(ep)) { in udc_smartbond_ep_enable() 709 if (USB_EP_DIR_IS_IN(ep)) { in udc_smartbond_ep_disable()
|