Home
last modified time | relevance | path

Searched full:dma_controller (Results 1 – 16 of 16) sorted by relevance

/Linux-v6.6/drivers/usb/musb/
Dmusb_dma.h99 struct dma_controller;
115 /* FIXME not void* private_data, but a dma_controller * */
138 * struct dma_controller - A DMA Controller.
153 struct dma_controller { struct
155 struct dma_channel *(*channel_alloc)(struct dma_controller *, argument
166 void (*dma_callback)(struct dma_controller *); argument
173 static inline struct dma_controller *
179 static inline void musb_dma_controller_destroy(struct dma_controller *d) { } in musb_dma_controller_destroy()
183 extern struct dma_controller *
186 extern void (*musb_dma_controller_destroy)(struct dma_controller *);
[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 …]
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 *
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 …]
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 *
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 *
Djz4740.c34 if (IS_ENABLED(CONFIG_USB_INVENTRA_DMA) && musb->dma_controller) in jz4740_musb_interrupt()
35 retval_dma = dma_controller_irq(irq, musb->dma_controller); in jz4740_musb_interrupt()
Dda8xx.c447 static void da8xx_dma_controller_callback(struct dma_controller *c) in da8xx_dma_controller_callback()
455 static struct dma_controller *
458 struct dma_controller *controller; in da8xx_dma_controller_create()
Dcppi_dma.h110 struct dma_controller controller;
Dmusb_core.c435 struct dma_controller *
439 void (*musb_dma_controller_destroy)(struct dma_controller *c);
2476 musb->dma_controller = in musb_init_controller()
2478 if (IS_ERR(musb->dma_controller)) { in musb_init_controller()
2479 status = PTR_ERR(musb->dma_controller); in musb_init_controller()
2575 if (musb->dma_controller) in musb_init_controller()
2576 musb_dma_controller_destroy(musb->dma_controller); in musb_init_controller()
2654 if (musb->dma_controller) in musb_remove()
2655 musb_dma_controller_destroy(musb->dma_controller); in musb_remove()
Dmusb_dsps.c640 static void dsps_dma_controller_callback(struct dma_controller *c) in dsps_dma_controller_callback()
652 static struct dma_controller *
655 struct dma_controller *controller; in dsps_dma_controller_create()
Dsunxi.c321 static struct dma_controller *
327 static void sunxi_musb_dma_controller_destroy(struct dma_controller *c) in sunxi_musb_dma_controller_destroy()
Dmediatek.c188 retval = dma_controller_irq(irq, musb->dma_controller); in mtk_musb_interrupt()
/Linux-v6.6/Documentation/devicetree/bindings/spi/
Dspi-pl022.yaml143 dmas = <&dma_controller 23 1>,
144 <&dma_controller 24 0>;