Searched refs:ep_num (Results 1 – 4 of 4) sorted by relevance
288 int ep_num = NRF_USBD_COMMON_EP_NUM(ep); in usbd_ep_to_endevent() local292 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() local311 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() local330 if (!NRF_USBD_COMMON_EP_IS_ISO(ep_num)) { in usbd_ep_dma_start()[all …]
304 uint8_t ep_num = USB_EP_GET_IDX(ep); in ep_is_valid() local307 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() local341 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()
890 for (int ep_num = 1; ep_num < EP_MAX; ++ep_num) { in handle_alt_ev() local891 ep_state = usb_dc_get_ep_out_state(ep_num); in handle_alt_ev()
580 #define USB_DWC2_DAINT_OUTEPINT(ep_num) BIT(16UL + ep_num) argument581 #define USB_DWC2_DAINT_INEPINT(ep_num) BIT(ep_num) argument