Home
last modified time | relevance | path

Searched refs:USB_EP_DIR_IS_IN (Results 1 – 25 of 34) sorted by relevance

12

/Zephyr-latest/subsys/usb/device_next/
Dusbd_endpoint.h22 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()
Dusbd_endpoint.c113 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()
Dusbd_init.c34 if (USB_EP_DIR_IS_IN(ed->bEndpointAddress)) { in assign_ep_addr()
Dusbd_class.c150 if (USB_EP_DIR_IS_IN(ep)) { in usbd_class_get_by_ep()
/Zephyr-latest/drivers/usb/device/
Dusb_dc_native_posix.c80 } 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()
Dusb_dc_it82xx2.c295 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()
Dusb_dc_dw.c223 } 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()
Dusb_dc_sam_usbc.c859 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()
Dusb_dc_rpi_pico.c117 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()
Dusb_dc_numaker.c669 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()
Dusb_dc_sam0.c423 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()
Dusb_dc_native_posix_adapt.c437 uint32_t ep_dir = USB_EP_DIR_IS_IN(ep) ? USBIP_DIR_IN : USBIP_DIR_OUT; in usbip_send_common()
Dusb_dc_sam_usbhs.c816 if (USB_EP_DIR_IS_IN(ep)) { in usb_dc_ep_set_callback()
/Zephyr-latest/drivers/usb/uhc/
Duhc_virtual.c103 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()
Duhc_max3421e.c278 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/
Dusb_ch9.h318 #define USB_EP_DIR_IS_IN(ep) (USB_EP_GET_DIR(ep) == USB_EP_DIR_IN) macro
/Zephyr-latest/include/zephyr/drivers/usb/
Dudc.h696 if (USB_EP_DIR_IS_IN(bi->ep)) { in udc_ep_buf_set_zlp()
/Zephyr-latest/tests/drivers/udc/src/
Dmain.c127 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/
Dudc_common.c60 #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()
Dudc_nrf.c464 if (USB_EP_DIR_IS_IN(ep)) { in udc_nrf_thread()
487 if (USB_EP_DIR_IS_IN(ep)) { in udc_nrf_thread()
Dudc_renesas_ra.c110 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()
Dudc_ambiq.c223 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()
Dudc_dwc2.c318 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()
Dudc_it82xx2.c447 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()
Dudc_smartbond.c628 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()

12