Home
last modified time | relevance | path

Searched refs:dma_controller (Results 1 – 12 of 12) sorted by relevance

/drivers/usb/musb/
Dmusb_dma.h111 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 *);
Dux500_dma.c49 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
Dmusb_host.c608 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 …]
Dmusb_gadget.c102 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 …]
Dmusbhsdma.c40 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
Dtusb6010_omap.c53 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
Dcppi_dma.c152 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()
Dcppi_dma.h116 struct dma_controller controller;
Dmusb_core.h357 struct dma_controller *dma_controller; member
Dmusbhsdma.h158 struct dma_controller controller;
Ddavinci.c288 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()
Dmusb_core.c1856 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()