Home
last modified time | relevance | path

Searched refs:ep_in (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/subsys/usb/device_next/
Dusbd_init.c70 uint8_t ep_in = USB_EP_DIR_IN | idx; in unassign_eps() local
73 if (usbd_ep_bm_is_set(class_ep_bm, ep_in)) { in unassign_eps()
74 if (!usbd_ep_bm_is_set(config_ep_bm, ep_in)) { in unassign_eps()
75 LOG_ERR("Endpoing 0x%02x not assigned", ep_in); in unassign_eps()
79 usbd_ep_bm_clear(config_ep_bm, ep_in); in unassign_eps()
80 usbd_ep_bm_clear(class_ep_bm, ep_in); in unassign_eps()
Dusbd_interface.c119 uint8_t ep_in = USB_EP_DIR_IN | idx; in usbd_interface_shutdown() local
123 if (usbd_ep_bm_is_set(ep_bm, ep_in)) { in usbd_interface_shutdown()
124 ret = usbd_ep_disable(uds_ctx->dev, ep_in, ep_bm); in usbd_interface_shutdown()
/Zephyr-latest/drivers/usb/common/nrf_usbd_common/
Dnrf_usbd_common.c262 usbd_ep_state_t ep_in[NRF_USBD_COMMON_EPIN_CNT]; /*!< Status for IN endpoints. */ member
287 int ep_in = NRF_USBD_COMMON_EP_IS_IN(ep); in usbd_ep_to_endevent() local
293 if (ep_in) { in usbd_ep_to_endevent()
300 return ep_in ? &NRF_USBD->EVENTS_ENDISOIN : &NRF_USBD->EVENTS_ENDISOOUT; in usbd_ep_to_endevent()
306 int ep_in = NRF_USBD_COMMON_EP_IS_IN(ep); in usbd_ep_amount_get() local
312 if (ep_in) { in usbd_ep_amount_get()
319 return ep_in ? NRF_USBD->ISOIN.AMOUNT : NRF_USBD->ISOOUT.AMOUNT; in usbd_ep_amount_get()
325 int ep_in = NRF_USBD_COMMON_EP_IS_IN(ep); in usbd_ep_dma_start() local
331 if (ep_in) { in usbd_ep_dma_start()
340 } else if (ep_in) { in usbd_ep_dma_start()
[all …]