/Zephyr-latest/dts/bindings/usb/ |
D | usb-ep.yaml | 14 (including EP0) 20 (including EP0 IN) 26 (including EP0 OUT)
|
/Zephyr-latest/include/zephyr/devicetree/ |
D | port-endpoint.h | 175 * Example usage with DT_NODE_BY_ENDPOINT() to get the @c &device node from its @c ep0 node: 178 * DT_NODE_BY_ENDPOINT(DT_NODELABEL(ep0)) 188 * ep0: endpoint@0 { 204 * ep0: endpoint@0 {
|
/Zephyr-latest/tests/drivers/i2c/i2c_target_api/src/ |
D | main.c | 223 /* The simulated EP0 is configured to be accessed as a target device in ZTEST() 235 "Full I2C read from EP0 failed"); in ZTEST() 245 "Partial I2C read EP0 failed"); in ZTEST() 258 "Program I2C read EP0 failed"); in ZTEST()
|
/Zephyr-latest/drivers/usb/device/ |
D | usb_dc_it82xx2.c | 163 /* EP0 status */ 166 /* EP0 status */ 184 * EP mapping because when (ep_idx % FIFO_NUM) is 3, it actually means the EP0. 583 return ((ep_regs[EP0].ep_transtype_sts & DC_ALL_TRANS) == 0 || in it82xx2_check_setup_following_out() 585 ff_regs[EP0].ep_rx_fifo_dcnt_lsb == SETUP_DATA_CNT)); in it82xx2_check_setup_following_out() 698 /* ep0 wrong enter check */ in it82xx2_handler_out() 1032 ff_regs[EP0].ep_rx_fifo_ctrl = FIFO_FORCE_EMPTY; in usb_dc_reset() 1033 ff_regs[EP0].ep_tx_fifo_ctrl = FIFO_FORCE_EMPTY; in usb_dc_reset() 1071 if ((cfg->ep_type == USB_DC_EP_CONTROL) && ep_idx > EP0) { in usb_dc_ep_check_cap() 1096 if (ep_idx > EP0) { in usb_dc_ep_check_cap() [all …]
|
D | usb_dc_numaker.c | 94 uint8_t ep_hw_idx; /* BSP USBD driver EP index EP0, EP1, EP2, etc */ 240 /* USBD EP base by e.g. EP0, EP1, ... */ 450 ep_base = numaker_usbd_ep_base(dev, EP0 + i); in numaker_usbd_bus_reset_th() 461 /* Except EP0/EP1 kept resident for CTRL OUT/IN, disable all other EPs */ in numaker_usbd_bus_reset_th() 772 ep_cur->ep_hw_idx = EP0 + (ep_cur - ep_mgmt->ep_pool); in numaker_usbd_ep_mgmt_init() 775 /* Reserve 1st/2nd EP contexts (BSP USBD driver EP0/EP1) for CTRL OUT/IN */ in numaker_usbd_ep_mgmt_init() 785 /* Reserve 1st EP context (BSP USBD driver EP0) for CTRL OUT */ in numaker_usbd_ep_mgmt_init() 1156 USBD_EP_T *ep0_base = numaker_usbd_ep_base(dev, EP0); in numaker_udbd_isr()
|
D | usb_dc_rpi_pico.c | 495 /* Enable an interrupt per EP0 transaction */ in udc_rpi_init() 711 /* EP0 doesn't have an ep_ctl */ in usb_dc_ep_enable() 739 /* EP0 doesn't have an ep_ctl */ in usb_dc_ep_disable() 883 LOG_DBG("EP0 setup (wLength=%d, is_to_device=%d)", in usb_dc_control_ep_read_continue()
|
D | usb_dc_dw.c | 329 * DIEPCTLx, with EP0 always being assigned to FIFO zero (the in usb_dw_set_fifo() 377 /* Set max packet size for EP0 */ in usb_dw_ep_set() 400 /* No need to set EP0 type */ in usb_dw_ep_set() 1019 /* Not possible to clear stall for EP0 */ in usb_dc_ep_clear_stall() 1044 /* Cannot disable EP0, just set stall */ in usb_dc_ep_halt()
|
D | usb_dc_native_posix.c | 238 /* Not possible to clear stall for EP0 */ in usb_dc_ep_clear_stall() 257 /* Cannot disable EP0, just set stall */ in usb_dc_ep_halt()
|
D | usb_dc_sam_usbhs.c | 252 /* Restore EP0 configuration to previously set mps */ in usb_dc_isr() 262 /* The device clears some of the configuration of EP0 in usb_dc_isr() 298 /* EP0 endpoint interrupt */ in usb_dc_isr()
|
D | usb_dc_smartbond.c | 949 * EP0 is stalled and NAK was sent, it means that in handle_ep0_nak() 962 /* NAK over EP0 was sent, receive should conclude */ in handle_ep0_nak() 1149 /* Max packet size for EP0 is hardwired to 8 */ in usb_init() 1553 /* EP0 has just one registers to control stall for IN and OUT */ in usb_dc_ep_set_stall()
|
D | usb_dc_nrfx.c | 236 * @param ctrl_read_len State of control read operation (EP0). 775 /* Allow data chunk on EP0 OUT */ in usbd_work_process_setup() 931 /* Allow next data chunk on EP0 OUT */ in usbd_event_transfer_ctrl()
|
D | usb_dc_stm32.c | 1223 ep_state = usb_dc_stm32_get_ep_state(EP0_OUT); /* can't fail for ep0 */ in HAL_PCD_SetupStageCallback() 1224 __ASSERT(ep_state, "No corresponding ep_state for EP0"); in HAL_PCD_SetupStageCallback()
|
D | usb_dc_sam_usbc.c | 557 /* EP0 endpoint interrupt */ in usb_dc_sam_usbc_isr() 593 /* The device clears some of the configuration of EP0 in usb_dc_sam_usbc_isr()
|
D | usb_dc_sam0.c | 126 /* The device clears some of the configuration of EP0 in usb_sam0_isr()
|
/Zephyr-latest/soc/ite/ec/common/ |
D | check_regs.c | 169 usb_ep_regs[EP0].ep_transtype_sts, 0x42); 171 usb_ep_regs[EP0].ep_nak_transtype_sts, 0x43);
|
D | chip_chipregs.h | 507 /* EP0 to EP15 Enumeration */ 509 EP0, enumerator 710 * EP0: 60h ~ 74h
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_numaker.c | 85 uint8_t ep_hw_idx; /* BSP USBD driver EP index EP0, EP1, EP2, etc */ 218 /* USBD EP base by e.g. EP0, EP1, ... */ 395 ep_base = numaker_usbd_ep_base(dev, EP0 + i); in numaker_usbd_bus_reset_th() 406 /* Except EP0/EP1 kept resident for CTRL OUT/IN, disable all other EPs */ in numaker_usbd_bus_reset_th() 675 ep_cur->ep_hw_idx = EP0 + (ep_cur - priv->ep_pool); in numaker_usbd_ep_mgmt_init() 678 /* Reserve 1st/2nd EP H/W contexts (BSP USBD driver EP0/EP1) for CTRL OUT/IN */ in numaker_usbd_ep_mgmt_init() 688 /* Reserve 1st EP H/W context (BSP USBD driver EP0) for CTRL OUT */ in numaker_usbd_ep_mgmt_init() 1290 USBD_EP_T *ep0_base = numaker_usbd_ep_base(dev, EP0); in numaker_udbd_isr()
|
D | udc_kinetis.c | 251 LOG_DBG("ep0 %p|odd: %u|d: %u", buf, cfg->stat.odd, cfg->stat.data1); in usbfsotg_ctrl_feed_start() 275 LOG_DBG("ep0 %p|odd: %u|d: %u (n)", buf, cfg->stat.odd, cfg->stat.data1); in usbfsotg_ctrl_feed_start_next()
|
D | udc_stm32.c | 457 LOG_ERR("Not a 32-bit word multiple: ep0(%u)|ep(%u)", in udc_stm32_mem_init() 469 /* For EP0 TX, reserve only one MPS */ in udc_stm32_mem_init()
|
D | udc_nrf.c | 90 /* Allow data chunk on EP0 OUT */ in udc_nrf_clear_control_out()
|
D | udc_smartbond.c | 445 * code should detect EP0 NAK event that could mean that in start_tx_packet() 1145 * EP0 is stalled and NAK was sent, it means that in handle_ep0_nak()
|
D | udc_rpi_pico.c | 918 /* Enable an interrupt per EP0 transaction */ in udc_rpi_pico_enable()
|
/Zephyr-latest/subsys/usb/device/class/audio/ |
D | audio.c | 628 * is returned in case of an error. This leads to setting stall on IN EP0. 704 * value will lead to set stall on IN EP0.
|
/Zephyr-latest/drivers/usb/common/nrf_usbd_common/ |
D | nrf_usbd_common.h | 149 /** EP0 transfer can be aborted when new setup comes.
|
/Zephyr-latest/subsys/usb/device/ |
D | usb_device.c | 247 /*Always EP0 for control*/ in usb_data_to_host() 277 * @brief handle IN/OUT transfers on EP0
|