Home
last modified time | relevance | path

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

/drivers/usb/musb/
Dmusb_dma.h106 struct dma_controller;
160 struct dma_controller { struct
162 struct dma_channel *(*channel_alloc)(struct dma_controller *, argument
173 void (*dma_callback)(struct dma_controller *); argument
180 static inline struct dma_controller *
186 static inline void musb_dma_controller_destroy(struct dma_controller *d) { } in musb_dma_controller_destroy()
190 extern struct dma_controller *
193 extern void (*musb_dma_controller_destroy)(struct dma_controller *);
197 extern struct dma_controller *
199 extern void musbhs_dma_controller_destroy(struct dma_controller *c);
[all …]
Dmusb_host.c335 struct dma_controller *dma = musb->dma_controller; in musb_advance_schedule()
625 static bool musb_tx_dma_program(struct dma_controller *dma, in musb_tx_dma_program()
673 struct dma_controller *dma_controller; in musb_ep_program() local
703 dma_controller = musb->dma_controller; in musb_ep_program()
704 if (use_dma && is_dma_capable() && epnum && dma_controller) { in musb_ep_program()
707 dma_channel = dma_controller->channel_alloc( in musb_ep_program()
708 dma_controller, hw_ep, is_out); in musb_ep_program()
806 if (dma_channel && musb_tx_dma_program(dma_controller, in musb_ep_program()
877 dma_ok = dma_controller->channel_program(dma_channel, in musb_ep_program()
883 dma_controller->channel_release(dma_channel); in musb_ep_program()
[all …]
Dmusb_gadget.c36 struct dma_controller *dma = musb->dma_controller; in map_dma_buffer()
167 struct dma_controller *c = ep->musb->dma_controller; in nuke()
272 struct dma_controller *c = musb->dma_controller; in txstate()
557 struct dma_controller *c = musb->dma_controller; in rxstate()
602 struct dma_controller *c; in rxstate()
607 c = musb->dma_controller; in rxstate()
679 struct dma_controller *c; in rxstate()
683 c = musb->dma_controller; in rxstate()
734 struct dma_controller *c = musb->dma_controller; in rxstate()
1054 if (is_dma_capable() && musb->dma_controller) { in musb_gadget_enable()
[all …]
Dmusbhsdma.c65 struct dma_controller controller;
98 static struct dma_channel *dma_channel_allocate(struct dma_controller *c, in dma_channel_allocate()
379 void musbhs_dma_controller_destroy(struct dma_controller *c) in musbhs_dma_controller_destroy()
413 struct dma_controller *
444 struct dma_controller *
Dux500_dma.c43 struct dma_controller controller;
128 static struct dma_channel *ux500_dma_channel_allocate(struct dma_controller *c, in ux500_dma_channel_allocate()
347 void ux500_dma_controller_destroy(struct dma_controller *c) in ux500_dma_controller_destroy()
357 struct dma_controller *
Dmusb_core.h179 struct dma_controller *
181 void (*dma_exit)(struct dma_controller *c);
321 struct dma_controller *dma_controller; member
Dtusb6010_omap.c51 struct dma_controller controller;
422 tusb_omap_dma_allocate(struct dma_controller *c, in tusb_omap_dma_allocate()
514 void tusb_dma_controller_destroy(struct dma_controller *c) in tusb_dma_controller_destroy()
582 struct dma_controller *
Djz4740.c33 if (IS_ENABLED(CONFIG_USB_INVENTRA_DMA) && musb->dma_controller) in jz4740_musb_interrupt()
34 retval_dma = dma_controller_irq(irq, musb->dma_controller); in jz4740_musb_interrupt()
Dda8xx.c445 static void da8xx_dma_controller_callback(struct dma_controller *c) in da8xx_dma_controller_callback()
453 static struct dma_controller *
456 struct dma_controller *controller; in da8xx_dma_controller_create()
Dmusb_cppi41.c37 struct dma_controller controller;
482 static struct dma_channel *cppi41_dma_channel_allocate(struct dma_controller *c, in cppi41_dma_channel_allocate()
734 void cppi41_dma_controller_destroy(struct dma_controller *c) in cppi41_dma_controller_destroy()
747 struct dma_controller *
Dcppi_dma.h110 struct dma_controller controller;
Dmusb_core.c435 struct dma_controller *
439 void (*musb_dma_controller_destroy)(struct dma_controller *c);
2482 musb->dma_controller = in musb_init_controller()
2484 if (IS_ERR(musb->dma_controller)) { in musb_init_controller()
2485 status = PTR_ERR(musb->dma_controller); in musb_init_controller()
2581 if (musb->dma_controller) in musb_init_controller()
2582 musb_dma_controller_destroy(musb->dma_controller); in musb_init_controller()
2660 if (musb->dma_controller) in musb_remove()
2661 musb_dma_controller_destroy(musb->dma_controller); in musb_remove()
Ddavinci.c267 cppi = container_of(musb->dma_controller, struct cppi, controller); in davinci_musb_interrupt()
268 if (is_cppi_enabled(musb) && musb->dma_controller && !cppi->irq) in davinci_musb_interrupt()
Dcppi_dma.c281 cppi_channel_allocate(struct dma_controller *c, in cppi_channel_allocate()
1151 cppi = container_of(musb->dma_controller, struct cppi, controller); in cppi_interrupt()
1299 struct dma_controller *
1351 void cppi_dma_controller_destroy(struct dma_controller *c) in cppi_dma_controller_destroy()
Dmusb_dsps.c642 static void dsps_dma_controller_callback(struct dma_controller *c) in dsps_dma_controller_callback()
654 static struct dma_controller *
657 struct dma_controller *controller; in dsps_dma_controller_create()
Dsunxi.c314 static struct dma_controller *
320 static void sunxi_musb_dma_controller_destroy(struct dma_controller *c) in sunxi_musb_dma_controller_destroy()
Dmediatek.c187 retval = dma_controller_irq(irq, musb->dma_controller); in mtk_musb_interrupt()