Home
last modified time | relevance | path

Searched refs:is_dma_capable (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/musb/
H A 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()
H A Dmusb_host.c710 if (use_dma && is_dma_capable() && epnum && dma_controller) { in musb_ep_program()
918 dma = is_dma_capable() ? ep->rx_channel : NULL; in musb_bulk_nak_timeout()
934 dma = is_dma_capable() ? ep->tx_channel : NULL; in musb_bulk_nak_timeout()
1227 dma = is_dma_capable() ? hw_ep->tx_channel : NULL; in musb_host_tx()
1302 if (is_dma_capable() && dma && !status) { in musb_host_tx()
1754 dma = is_dma_capable() ? hw_ep->rx_channel : NULL; in musb_host_rx()
2328 if (is_dma_capable()) { in musb_cleanup_urb()
2345 if (is_dma_capable() && dma) in musb_cleanup_urb()
H A 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()
H A Ddavinci.c94 if (is_dma_capable() && !dma_off) in davinci_musb_enable()
121 if (is_dma_capable() && !dma_off) in davinci_musb_disable()
H A Dtusb6010.c959 if (is_dma_capable() && dma_off) in tusb_musb_enable()
983 if (is_dma_capable() && !dma_off) { in tusb_musb_disable()
/kernel/linux/linux-6.6/drivers/usb/musb/
H A Dmusb_dma.h47 #define is_dma_capable() (0) macro
49 #define is_dma_capable() (1) macro
134 return (is_dma_capable() && c) ? c->status : MUSB_DMA_STATUS_UNKNOWN; in dma_channel_status()
H A Dmusb_host.c704 if (use_dma && is_dma_capable() && epnum && dma_controller) { in musb_ep_program()
912 dma = is_dma_capable() ? ep->rx_channel : NULL; in musb_bulk_nak_timeout()
928 dma = is_dma_capable() ? ep->tx_channel : NULL; in musb_bulk_nak_timeout()
1221 dma = is_dma_capable() ? hw_ep->tx_channel : NULL; in musb_host_tx()
1296 if (is_dma_capable() && dma && !status) { in musb_host_tx()
1748 dma = is_dma_capable() ? hw_ep->rx_channel : NULL; in musb_host_rx()
2322 if (is_dma_capable()) { in musb_cleanup_urb()
2339 if (is_dma_capable() && dma) in musb_cleanup_urb()
H A 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()
H A Dtusb6010.c965 if (is_dma_capable() && dma_off) in tusb_musb_enable()
989 if (is_dma_capable() && !dma_off) { in tusb_musb_disable()
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-comp.c769 static inline bool is_dma_capable(const enum mdp_comp_type type) in is_dma_capable() function
801 if (comp->comp_dev && is_dma_capable(comp->type)) { in mdp_comp_clock_on()
831 if (comp->comp_dev && is_dma_capable(comp->type)) in mdp_comp_clock_on()
847 if (comp->comp_dev && is_dma_capable(comp->type)) in mdp_comp_clock_off()
978 if (is_dma_capable(comp->type)) { in mdp_comp_init()
1090 if (is_dma_capable(mdp->comp[i]->type)) in mdp_comp_destroy()
1144 if (!is_dma_capable(comp->type)) in mdp_comp_config()

Completed in 17 milliseconds