Home
last modified time | relevance | path

Searched full:ep0 (Results 1 – 25 of 27) sorted by relevance

12

/Zephyr-latest/dts/bindings/usb/
Dusb-ep.yaml14 (including EP0)
20 (including EP0 IN)
26 (including EP0 OUT)
/Zephyr-latest/include/zephyr/devicetree/
Dport-endpoint.h175 * 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/
Dmain.c223 /* 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/
Dusb_dc_it82xx2.c163 /* 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 …]
Dusb_dc_numaker.c94 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()
Dusb_dc_rpi_pico.c495 /* 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()
Dusb_dc_dw.c329 * 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()
Dusb_dc_native_posix.c238 /* 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()
Dusb_dc_sam_usbhs.c252 /* 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()
Dusb_dc_smartbond.c949 * 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()
Dusb_dc_nrfx.c236 * @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()
Dusb_dc_stm32.c1223 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()
Dusb_dc_sam_usbc.c557 /* 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()
Dusb_dc_sam0.c126 /* The device clears some of the configuration of EP0 in usb_sam0_isr()
/Zephyr-latest/soc/ite/ec/common/
Dcheck_regs.c169 usb_ep_regs[EP0].ep_transtype_sts, 0x42);
171 usb_ep_regs[EP0].ep_nak_transtype_sts, 0x43);
Dchip_chipregs.h507 /* EP0 to EP15 Enumeration */
509 EP0, enumerator
710 * EP0: 60h ~ 74h
/Zephyr-latest/drivers/usb/udc/
Dudc_numaker.c85 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()
Dudc_kinetis.c251 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()
Dudc_stm32.c457 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()
Dudc_nrf.c90 /* Allow data chunk on EP0 OUT */ in udc_nrf_clear_control_out()
Dudc_smartbond.c445 * 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()
Dudc_rpi_pico.c918 /* Enable an interrupt per EP0 transaction */ in udc_rpi_pico_enable()
/Zephyr-latest/subsys/usb/device/class/audio/
Daudio.c628 * 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/
Dnrf_usbd_common.h149 /** EP0 transfer can be aborted when new setup comes.
/Zephyr-latest/subsys/usb/device/
Dusb_device.c247 /*Always EP0 for control*/ in usb_data_to_host()
277 * @brief handle IN/OUT transfers on EP0

12