Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/musb/
Dmusb_dma.h100 struct dma_controller;
154 struct dma_controller { struct
156 struct dma_channel *(*channel_alloc)(struct dma_controller *, argument
167 void (*dma_callback)(struct dma_controller *); argument
174 static inline struct dma_controller *
180 static inline void musb_dma_controller_destroy(struct dma_controller *d) { } in musb_dma_controller_destroy()
184 extern struct dma_controller *
187 extern void (*musb_dma_controller_destroy)(struct dma_controller *);
191 extern struct dma_controller *
193 extern void musbhs_dma_controller_destroy(struct dma_controller *c);
[all …]
Dmusb_host.c347 struct dma_controller *dma = musb->dma_controller; in musb_advance_schedule()
584 static void musb_tx_dma_set_mode_mentor(struct dma_controller *dma, in musb_tx_dma_set_mode_mentor()
623 static void musb_tx_dma_set_mode_cppi_tusb(struct dma_controller *dma, in musb_tx_dma_set_mode_cppi_tusb()
642 static bool musb_tx_dma_program(struct dma_controller *dma, in musb_tx_dma_program()
691 struct dma_controller *dma_controller; in musb_ep_program() local
721 dma_controller = musb->dma_controller; in musb_ep_program()
722 if (use_dma && is_dma_capable() && epnum && dma_controller) { in musb_ep_program()
725 dma_channel = dma_controller->channel_alloc( in musb_ep_program()
726 dma_controller, hw_ep, is_out); in musb_ep_program()
829 if (dma_channel && musb_tx_dma_program(dma_controller, 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()
568 struct dma_controller *c = musb->dma_controller; in rxstate()
613 struct dma_controller *c; in rxstate()
618 c = musb->dma_controller; in rxstate()
690 struct dma_controller *c; in rxstate()
694 c = musb->dma_controller; in rxstate()
745 struct dma_controller *c = musb->dma_controller; in rxstate()
1062 if (is_dma_capable() && musb->dma_controller) { in musb_gadget_enable()
[all …]
Dmusb_core.h170 struct dma_controller *
172 void (*dma_exit)(struct dma_controller *c);
312 struct dma_controller *dma_controller; member
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 *
Dmusbhsdma.c70 struct dma_controller controller;
103 static struct dma_channel *dma_channel_allocate(struct dma_controller *c, in dma_channel_allocate()
386 void musbhs_dma_controller_destroy(struct dma_controller *c) in musbhs_dma_controller_destroy()
400 struct dma_controller *musbhs_dma_controller_create(struct musb *musb, in musbhs_dma_controller_create()
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 *
Dcppi_dma.h110 struct dma_controller controller;
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()
736 void cppi41_dma_controller_destroy(struct dma_controller *c) in cppi41_dma_controller_destroy()
749 struct dma_controller *
Dmusb_core.c396 struct dma_controller *
400 void (*musb_dma_controller_destroy)(struct dma_controller *c);
2306 musb->dma_controller = in musb_init_controller()
2308 if (IS_ERR(musb->dma_controller)) { in musb_init_controller()
2309 status = PTR_ERR(musb->dma_controller); in musb_init_controller()
2412 if (musb->dma_controller) in musb_init_controller()
2413 musb_dma_controller_destroy(musb->dma_controller); in musb_init_controller()
2495 if (musb->dma_controller) in musb_remove()
2496 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.c632 static void dsps_dma_controller_callback(struct dma_controller *c) in dsps_dma_controller_callback()
644 static struct dma_controller *
647 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()