Searched refs:dma_controller (Results 1 – 12 of 12) sorted by relevance
/drivers/usb/musb/ |
D | musb_dma.h | 111 struct dma_controller; 161 struct dma_controller { struct 162 int (*start)(struct dma_controller *); argument 163 int (*stop)(struct dma_controller *); argument 164 struct dma_channel *(*channel_alloc)(struct dma_controller *, argument 181 extern struct dma_controller *__init argument 184 extern void dma_controller_destroy(struct dma_controller *);
|
D | ux500_dma.c | 49 struct dma_controller controller; 137 static struct dma_channel *ux500_dma_channel_allocate(struct dma_controller *c, in ux500_dma_channel_allocate() 257 static int ux500_dma_controller_stop(struct dma_controller *c) in ux500_dma_controller_stop() 288 static int ux500_dma_controller_start(struct dma_controller *c) in ux500_dma_controller_start() 359 void dma_controller_destroy(struct dma_controller *c) in dma_controller_destroy() 367 struct dma_controller *__init
|
D | musb_host.c | 608 static bool musb_tx_dma_program(struct dma_controller *dma, in musb_tx_dma_program() 678 struct dma_controller *dma_controller; in musb_ep_program() local 698 dma_controller = musb->dma_controller; in musb_ep_program() 699 if (is_dma_capable() && epnum && dma_controller) { in musb_ep_program() 702 dma_channel = dma_controller->channel_alloc( in musb_ep_program() 703 dma_controller, hw_ep, is_out); in musb_ep_program() 799 if (dma_channel && musb_tx_dma_program(dma_controller, in musb_ep_program() 856 dma_ok = dma_controller->channel_program(dma_channel, in musb_ep_program() 862 dma_controller->channel_release(dma_channel); in musb_ep_program() 1159 (void) musb->dma_controller->channel_abort(dma); in musb_host_tx() [all …]
|
D | musb_gadget.c | 102 struct dma_controller *dma = musb->dma_controller; in map_dma_buffer() 228 struct dma_controller *c = ep->musb->dma_controller; in nuke() 362 struct dma_controller *c = musb->dma_controller; in txstate() 666 struct dma_controller *c = musb->dma_controller; in rxstate() 709 struct dma_controller *c; in rxstate() 713 c = musb->dma_controller; in rxstate() 789 struct dma_controller *c; in rxstate() 793 c = musb->dma_controller; in rxstate() 844 struct dma_controller *c = musb->dma_controller; in rxstate() 1170 if (is_dma_capable() && musb->dma_controller) { in musb_gadget_enable() [all …]
|
D | musbhsdma.c | 40 static int dma_controller_start(struct dma_controller *c) in dma_controller_start() 48 static int dma_controller_stop(struct dma_controller *c) in dma_controller_stop() 74 static struct dma_channel *dma_channel_allocate(struct dma_controller *c, in dma_channel_allocate() 369 void dma_controller_destroy(struct dma_controller *c) in dma_controller_destroy() 383 struct dma_controller *__init
|
D | tusb6010_omap.c | 53 struct dma_controller controller; 63 static int tusb_omap_dma_start(struct dma_controller *c) in tusb_omap_dma_start() 74 static int tusb_omap_dma_stop(struct dma_controller *c) in tusb_omap_dma_stop() 503 tusb_omap_dma_allocate(struct dma_controller *c, in tusb_omap_dma_allocate() 645 void dma_controller_destroy(struct dma_controller *c) in dma_controller_destroy() 665 struct dma_controller *__init
|
D | cppi_dma.c | 152 static int __init cppi_controller_start(struct dma_controller *c) in cppi_controller_start() 224 static int cppi_controller_stop(struct dma_controller *c) in cppi_controller_stop() 287 cppi_channel_allocate(struct dma_controller *c, in cppi_channel_allocate() 1171 cppi = container_of(musb->dma_controller, struct cppi, controller); in cppi_interrupt() 1319 struct dma_controller *__init 1371 void dma_controller_destroy(struct dma_controller *c) in dma_controller_destroy()
|
D | cppi_dma.h | 116 struct dma_controller controller;
|
D | musb_core.h | 357 struct dma_controller *dma_controller; member
|
D | musbhsdma.h | 158 struct dma_controller controller;
|
D | davinci.c | 288 cppi = container_of(musb->dma_controller, struct cppi, controller); in davinci_musb_interrupt() 289 if (is_cppi_enabled() && musb->dma_controller && !cppi->irq) in davinci_musb_interrupt()
|
D | musb_core.c | 1856 if (is_dma_capable() && musb->dma_controller) { in musb_free() 1857 struct dma_controller *c = musb->dma_controller; in musb_free() 1938 struct dma_controller *c; in musb_init_controller() 1941 musb->dma_controller = c; in musb_init_controller() 1947 if (!is_dma_capable() || !musb->dma_controller) in musb_init_controller() 2057 (is_dma_capable() && musb->dma_controller) in musb_init_controller()
|