Home
last modified time | relevance | path

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

/external/u-boot/drivers/usb/musb-new/
Dmusb_dma.h75 struct dma_controller;
125 struct dma_controller { struct
126 int (*start)(struct dma_controller *); argument
127 int (*stop)(struct dma_controller *); argument
128 struct dma_channel *(*channel_alloc)(struct dma_controller *, argument
145 extern struct dma_controller *__init argument
148 extern void dma_controller_destroy(struct dma_controller *);
Dmusb_host.c372 struct dma_controller *dma = musb->dma_controller; in musb_advance_schedule()
616 static bool musb_tx_dma_program(struct dma_controller *dma, in musb_tx_dma_program()
686 struct dma_controller *dma_controller; in musb_ep_program() local
706 dma_controller = musb->dma_controller; in musb_ep_program()
707 if (is_dma_capable() && epnum && dma_controller) { in musb_ep_program()
710 dma_channel = dma_controller->channel_alloc( in musb_ep_program()
711 dma_controller, hw_ep, is_out); in musb_ep_program()
807 if (dma_channel && musb_tx_dma_program(dma_controller, in musb_ep_program()
864 dma_ok = dma_controller->channel_program(dma_channel, in musb_ep_program()
870 dma_controller->channel_release(dma_channel); in musb_ep_program()
[all …]
Dmusb_gadget.c84 struct dma_controller *dma = musb->dma_controller; in map_dma_buffer()
221 struct dma_controller *c = ep->musb->dma_controller; in nuke()
362 struct dma_controller *c = musb->dma_controller; in txstate()
673 struct dma_controller *c = musb->dma_controller; in rxstate()
716 struct dma_controller *c; in rxstate()
720 c = musb->dma_controller; in rxstate()
796 struct dma_controller *c; in rxstate()
800 c = musb->dma_controller; in rxstate()
851 struct dma_controller *c = musb->dma_controller; in rxstate()
1177 if (is_dma_capable() && musb->dma_controller) { in musb_gadget_enable()
[all …]
Dmusb_core.h352 struct dma_controller *dma_controller; member
Dmusb_core.c1890 if (is_dma_capable() && musb->dma_controller) { in musb_free()
1891 struct dma_controller *c = musb->dma_controller; in musb_free()
1984 struct dma_controller *c; in musb_init_controller()
1987 musb->dma_controller = c; in musb_init_controller()
1994 if (!is_dma_capable() || !musb->dma_controller) in musb_init_controller()
2114 (is_dma_capable() && musb->dma_controller) in musb_init_controller()