Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/musb/
Dmusb_dma.h47 #define is_dma_capable() (0) macro
49 #define is_dma_capable() (1) macro
141 return (is_dma_capable() && c) ? c->status : MUSB_DMA_STATUS_UNKNOWN; in dma_channel_status()
Dmusb_gadget.c27 #define is_buffer_mapped(req) (is_dma_capable() && \
40 if (!is_dma_capable() || !musb_ep->dma) in map_dma_buffer()
166 if (is_dma_capable() && ep->dma) { in nuke()
423 dma = is_dma_capable() ? musb_ep->dma : NULL; in musb_g_tx()
816 dma = is_dma_capable() ? musb_ep->dma : NULL; in musb_g_rx()
1054 if (is_dma_capable() && musb->dma_controller) { in musb_gadget_enable()
1300 else if (is_dma_capable() && musb_ep->dma) { in musb_gadget_dequeue()
Ddavinci.c94 if (is_dma_capable() && !dma_off) in davinci_musb_enable()
121 if (is_dma_capable() && !dma_off) in davinci_musb_disable()
Dmusb_host.c698 if (use_dma && is_dma_capable() && epnum && dma_controller) { in musb_ep_program()
906 dma = is_dma_capable() ? ep->rx_channel : NULL; in musb_bulk_nak_timeout()
922 dma = is_dma_capable() ? ep->tx_channel : NULL; in musb_bulk_nak_timeout()
1215 dma = is_dma_capable() ? hw_ep->tx_channel : NULL; in musb_host_tx()
1290 if (is_dma_capable() && dma && !status) { in musb_host_tx()
1742 dma = is_dma_capable() ? hw_ep->rx_channel : NULL; in musb_host_rx()
2316 if (is_dma_capable()) { in musb_cleanup_urb()
2333 if (is_dma_capable() && dma) in musb_cleanup_urb()
Dtusb6010.c960 if (is_dma_capable() && dma_off) in tusb_musb_enable()
984 if (is_dma_capable() && !dma_off) { in tusb_musb_disable()
/linux-6.1.9/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-comp.c653 static inline bool is_dma_capable(const enum mdp_comp_type type) in is_dma_capable() function
844 if (is_dma_capable(comp->type)) { in mdp_comp_init()
998 if (!is_dma_capable(comp->type)) in mdp_comp_config()