/Zephyr-latest/include/zephyr/usb/ |
D | usb_ch9.h | 298 #define USB_EP_DIR_IN (uint8_t)BIT(7) macro 318 #define USB_EP_DIR_IS_IN(ep) (USB_EP_GET_DIR(ep) == USB_EP_DIR_IN) 327 #define USB_CONTROL_EP_IN (USB_EP_DIR_IN | 0U)
|
/Zephyr-latest/subsys/usb/device_next/ |
D | usbd_init.c | 35 ep = USB_EP_DIR_IN | idx; in assign_ep_addr() 70 uint8_t ep_in = USB_EP_DIR_IN | idx; in unassign_eps()
|
D | usbd_interface.c | 119 uint8_t ep_in = USB_EP_DIR_IN | idx; in usbd_interface_shutdown()
|
/Zephyr-latest/drivers/usb/device/ |
D | usb_dc_kinetis.c | 142 if (ep & USB_EP_DIR_IN) { in get_bdt_idx() 306 if (USB_EP_GET_DIR(cfg->ep_addr) != USB_EP_DIR_IN) { in usb_dc_ep_check_cap() 372 if (cfg->ep_addr & USB_EP_DIR_IN) { in usb_dc_ep_configure() 613 if (USB_EP_GET_DIR(ep) != USB_EP_DIR_IN) { in usb_dc_ep_write() 820 if (ep & USB_EP_DIR_IN) { in usb_dc_ep_set_callback() 846 if (ep & USB_EP_DIR_IN) { in usb_dc_ep_mps() 915 uint8_t ep = ((status << 4) & USB_EP_DIR_IN) | ep_idx; in usb_kinetis_isr_handler()
|
D | usb_dc_sam_usbhs.c | 191 dev_data.ep_data[0].cb_in(USB_EP_DIR_IN, USB_DC_EP_DATA_IN); in usb_dc_ep0_isr() 221 uint8_t ep = ep_idx | USB_EP_DIR_IN; in usb_dc_ep_isr() 439 if (USB_EP_GET_DIR(cfg->ep_addr) != USB_EP_DIR_IN) { in usb_dc_ep_check_cap() 736 if (USB_EP_GET_DIR(ep) != USB_EP_DIR_IN) { in usb_dc_ep_write()
|
D | usb_dc_native_posix.c | 341 if (USB_EP_GET_DIR(ep) != USB_EP_DIR_IN) { in usb_dc_ep_write() 597 ep = ep_idx | USB_EP_DIR_IN; in handle_usb_data()
|
D | usb_dc_numaker.c | 800 ep_cur->addr = USB_EP_GET_ADDR(0, USB_EP_DIR_IN); in numaker_usbd_ep_mgmt_init() 902 __ASSERT_NO_MSG((ep_cur + 1)->addr == USB_EP_GET_ADDR(0, USB_EP_DIR_IN)); in numaker_usbd_ep_bh() 1202 ? USB_EP_DIR_IN in numaker_udbd_isr() 1210 if (ep == USB_EP_GET_ADDR(0, USB_EP_DIR_IN)) { in numaker_udbd_isr()
|
D | usb_dc_it82xx2.c | 619 udata0.ep_data[ep_idx].cb_in(ep_idx | USB_EP_DIR_IN, USB_DC_EP_DATA_IN); in it82xx2_handler_setup() 679 udata0.ep_data[ep_idx].cb_in(ep_idx | USB_EP_DIR_IN, USB_DC_EP_DATA_IN); in it82xx2_handler_in() 1177 LOG_DBG("EP%d set callback: %d", ep_idx, !!(ep & USB_EP_DIR_IN)); in usb_dc_ep_set_callback()
|
D | usb_dc_stm32.c | 150 #define EP0_IN (EP0_IDX | USB_EP_DIR_IN) 1266 uint8_t ep = ep_idx | USB_EP_DIR_IN; in HAL_PCD_DataInStageCallback()
|
D | usb_dc_dw.c | 763 ep_cb(USB_EP_GET_ADDR(ep_idx, USB_EP_DIR_IN), in usb_dw_int_iep_handler() 1209 if (USB_EP_GET_DIR(ep) != USB_EP_DIR_IN) { in usb_dc_ep_write()
|
D | usb_dc_sam_usbc.c | 465 dev_data.ep_data[0].cb_in(USB_EP_DIR_IN, USB_DC_EP_DATA_IN); in usb_dc_ep0_isr() 532 uint8_t ep = ep_idx | USB_EP_DIR_IN; in usb_dc_ep_isr()
|
D | usb_dc_smartbond.c | 509 try_allocate_dma(ep_state, USB_EP_DIR_IN)) { in start_tx_packet() 1146 dev_state.ep_state[1][i].ep_addr = i | USB_EP_DIR_IN; in usb_init()
|
D | usb_dc_mcux.c | 547 if (USB_EP_GET_DIR(ep) != USB_EP_DIR_IN) { in usb_dc_ep_write()
|
/Zephyr-latest/subsys/usb/device/ |
D | usb_descriptor.c | 271 if (ep_cfg.ep_addr & USB_EP_DIR_IN) { in usb_validate_ep_cfg_data() 276 ep_cfg.ep_addr = (USB_EP_DIR_IN | idx); in usb_validate_ep_cfg_data() 290 if (ep_cfg.ep_addr & USB_EP_DIR_IN) { in usb_validate_ep_cfg_data()
|
D | usb_device.c | 533 ep_idx = ep & (~USB_EP_DIR_IN); in get_ep_bm_from_addr() 539 if (ep & USB_EP_DIR_IN) { in get_ep_bm_from_addr() 1372 ret = disable_endpoint(USB_EP_DIR_IN | i); in usb_disable()
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_skeleton.c | 312 config->ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in udc_skeleton_driver_preinit()
|
D | udc_dwc2.c | 1134 tmp = udc_get_ep_cfg(dev, i | USB_EP_DIR_IN); in dwc2_unset_unused_fifo() 2189 config->ep_cfg_in[n].addr = USB_EP_DIR_IN | i; in dwc2_driver_preinit() 2191 LOG_DBG("Register ep 0x%02x (%u)", USB_EP_DIR_IN | i, n); in dwc2_driver_preinit() 2354 ep_cfg = udc_get_ep_cfg(dev, ep_idx | USB_EP_DIR_IN); in dwc2_handle_in_xfercompl() 2392 n | USB_EP_DIR_IN, status); in dwc2_handle_iepint() 2570 mem_addr_t diepctl_reg = dwc2_get_dxepctl_reg(dev, i | USB_EP_DIR_IN); in dwc2_handle_incompisoin() 2580 cfg = udc_get_ep_cfg(dev, i | USB_EP_DIR_IN); in dwc2_handle_incompisoin() 2829 return USB_EP_DIR_IN | bit; in pull_next_ep_from_bitmap()
|
D | udc_stm32.c | 307 uint8_t ep = epnum | USB_EP_DIR_IN; in HAL_PCD_DataInStageCallback() 487 if (!(ep->addr & USB_EP_DIR_IN) || !USB_EP_GET_IDX(ep->addr)) { in udc_stm32_ep_mem_config() 1158 ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in udc_stm32_driver_init0()
|
D | udc_numaker.c | 703 ep_cur->addr = USB_EP_GET_ADDR(0, USB_EP_DIR_IN); in numaker_usbd_ep_mgmt_init() 1335 ? USB_EP_DIR_IN in numaker_udbd_isr() 1343 if (ep == USB_EP_GET_ADDR(0, USB_EP_DIR_IN)) { in numaker_udbd_isr() 1692 config->ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in udc_numaker_driver_preinit()
|
D | udc_kinetis.c | 519 return (status & USB_STAT_TX_MASK) ? (USB_EP_DIR_IN | ep_idx) : ep_idx; in stat_reg_get_ep() 1125 config->ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in usbfsotg_driver_preinit()
|
D | udc_rpi_pico.c | 581 ep = USB_EP_DIR_IN | (i >> 1U); in rpi_pico_handle_buff_status() 1040 config->ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in udc_rpi_pico_driver_preinit()
|
D | udc_nrf.c | 900 ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in udc_nrf_driver_init()
|
D | udc_virtual.c | 599 config->ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in udc_vrt_driver_preinit()
|
D | udc_renesas_ra.c | 630 config->ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in udc_renesas_ra_driver_preinit()
|
/Zephyr-latest/tests/drivers/udc/src/ |
D | main.c | 411 ed.bEndpointAddress |= USB_EP_DIR_IN; in test_udc_ep_mps()
|