Home
last modified time | relevance | path

Searched refs:ep_num (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/drivers/usb/common/nrf_usbd_common/
Dnrf_usbd_common.c288 int ep_num = NRF_USBD_COMMON_EP_NUM(ep); in usbd_ep_to_endevent() local
292 if (!NRF_USBD_COMMON_EP_IS_ISO(ep_num)) { in usbd_ep_to_endevent()
294 return &NRF_USBD->EVENTS_ENDEPIN[ep_num]; in usbd_ep_to_endevent()
296 return &NRF_USBD->EVENTS_ENDEPOUT[ep_num]; in usbd_ep_to_endevent()
307 int ep_num = NRF_USBD_COMMON_EP_NUM(ep); in usbd_ep_amount_get() local
311 if (!NRF_USBD_COMMON_EP_IS_ISO(ep_num)) { in usbd_ep_amount_get()
313 return NRF_USBD->EPIN[ep_num].AMOUNT; in usbd_ep_amount_get()
315 return NRF_USBD->EPOUT[ep_num].AMOUNT; in usbd_ep_amount_get()
326 int ep_num = NRF_USBD_COMMON_EP_NUM(ep); in usbd_ep_dma_start() local
330 if (!NRF_USBD_COMMON_EP_IS_ISO(ep_num)) { in usbd_ep_dma_start()
[all …]
/Zephyr-Core-3.7.0/drivers/usb/device/
Dusb_dc_nrfx.c304 uint8_t ep_num = USB_EP_GET_IDX(ep); in ep_is_valid() local
307 if (unlikely(ep_num == NRF_USBD_EPISO_FIRST)) { in ep_is_valid()
312 if (ep_num >= CFG_EPIN_CNT) { in ep_is_valid()
317 if (unlikely(ep_num == NRF_USBD_EPISO_FIRST)) { in ep_is_valid()
322 if (ep_num >= CFG_EPOUT_CNT) { in ep_is_valid()
334 uint8_t ep_num; in endpoint_ctx() local
341 ep_num = NRF_USBD_EP_NR_GET(ep); in endpoint_ctx()
347 return &ctx->ep_ctx[ep_num]; in endpoint_ctx()
355 ep_num]; in endpoint_ctx()
Dusb_dc_smartbond.c890 for (int ep_num = 1; ep_num < EP_MAX; ++ep_num) { in handle_alt_ev() local
891 ep_state = usb_dc_get_ep_out_state(ep_num); in handle_alt_ev()
/Zephyr-Core-3.7.0/drivers/usb/common/
Dusb_dwc2_hw.h580 #define USB_DWC2_DAINT_OUTEPINT(ep_num) BIT(16UL + ep_num) argument
581 #define USB_DWC2_DAINT_INEPINT(ep_num) BIT(ep_num) argument