Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/usb/udc/
Dudc_smartbond.c120 atomic_ptr_t dma_ep[2]; /** DMA used by channel */ member
331 if (atomic_ptr_cas(&data->dma_ep[dir_ix], NULL, ep_state)) { in try_allocate_dma()
537 if (data->dma_ep[0] == ep_state) { in udc_smartbond_ep_abort()
539 data->dma_ep[0] = NULL; in udc_smartbond_ep_abort()
540 } else if (data->dma_ep[1] == ep_state) { in udc_smartbond_ep_abort()
542 data->dma_ep[1] = NULL; in udc_smartbond_ep_abort()
930 if (data->dma_ep[0] == ep_state) { in handle_epx_rx_ev()
941 if (data->dma_ep[0] == ep_state) { in handle_epx_rx_ev()
964 data->dma_ep[0] = NULL; in handle_epx_rx_ev()
1037 if (data->dma_ep[1] == ep_state) { in handle_epx_tx_ev()
[all …]
/Zephyr-latest/drivers/usb/common/nrf_usbd_common/
Dnrf_usbd_common.c225 static nrf_usbd_common_ep_t dma_ep; variable
906 dma_ep = ep; in usbd_dmareq_process()
1066 dma_endevent = usbd_ep_to_endevent(dma_ep); in nrf_usbd_common_irq_handler()
1069 nrf_usbd_dma_finished(dma_ep); in nrf_usbd_common_irq_handler()
1088 (dma_ep != NRF_USBD_COMMON_EPIN0 && dma_ep != NRF_USBD_COMMON_EPOUT0))) { in nrf_usbd_common_irq_handler()
/Zephyr-latest/drivers/usb/device/
Dusb_dc_smartbond.c169 atomic_ptr_t dma_ep[2]; /** DMA used by channel */ member
414 if (atomic_ptr_cas(&dev_state.dma_ep[dir_ix], NULL, ep_state)) { in try_allocate_dma()
645 if (dev_state.dma_ep[0] == ep_state) { in handle_epx_rx_ev()
656 if (dev_state.dma_ep[0] == ep_state) { in handle_epx_rx_ev()
678 dev_state.dma_ep[0] = NULL; in handle_epx_rx_ev()
731 if (dev_state.dma_ep[1] == ep_state) { in handle_epx_tx_ev()
742 dev_state.dma_ep[1] = NULL; in handle_epx_tx_ev()