Home
last modified time | relevance | path

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

/external/u-boot/drivers/usb/musb-new/
Dmusb_dma.h41 #define is_dma_capable() (1) macro
43 #define is_dma_capable() (0) macro
109 return (is_dma_capable() && c) ? c->status : MUSB_DMA_STATUS_UNKNOWN; in dma_channel_status()
Dmusb_gadget.c74 #define is_buffer_mapped(req) (is_dma_capable() && \
88 if (!is_dma_capable() || !musb_ep->dma) in map_dma_buffer()
220 if (is_dma_capable() && ep->dma) { in nuke()
502 dma = is_dma_capable() ? musb_ep->dma : NULL; in musb_g_tx()
929 dma = is_dma_capable() ? musb_ep->dma : NULL; in musb_g_rx()
1177 if (is_dma_capable() && musb->dma_controller) { in musb_gadget_enable()
1399 else if (is_dma_capable() && musb_ep->dma) { in musb_gadget_dequeue()
Dmusb_host.c707 if (is_dma_capable() && epnum && dma_controller) { in musb_ep_program()
1128 dma = is_dma_capable() ? hw_ep->tx_channel : NULL; in musb_host_tx()
1196 if (is_dma_capable() && dma && !status) { in musb_host_tx()
1396 dma = is_dma_capable() ? ep->rx_channel : NULL; in musb_bulk_rx_nak_timeout()
1449 dma = is_dma_capable() ? hw_ep->rx_channel : NULL; in musb_host_rx()
2134 if (is_dma_capable()) {
Dmusb_core.c1890 if (is_dma_capable() && musb->dma_controller) { in musb_free()
1994 if (!is_dma_capable() || !musb->dma_controller) in musb_init_controller()
2114 (is_dma_capable() && musb->dma_controller) in musb_init_controller()