Lines Matching +full:dma +full:- +full:controller
2 * On-chip DMA controller framework.
45 struct soc_dma_s *dma; member
53 /* This should be set by dma->setup_fn(). */
55 /* Initialised by the DMA module, call soc_dma_ch_update after writing. */
66 /* Set and used by the DMA module. */
71 /* Following fields are set by the SoC DMA module and can be used
79 /* Set by soc_dma_init() for use by the DMA module. */
83 /* Call to activate or stop a DMA channel. */
87 * ch->type[0...1],
88 * ch->vaddr[0...1],
89 * ch->paddr[0...1],
93 /* The SoC should call this when the DMA module is being reset. */
97 void soc_dma_port_add_fifo(struct soc_dma_s *dma, hwaddr virt_base,
99 void soc_dma_port_add_mem(struct soc_dma_s *dma, uint8_t *phys_base,
102 static inline void soc_dma_port_add_fifo_in(struct soc_dma_s *dma, in soc_dma_port_add_fifo_in() argument
105 return soc_dma_port_add_fifo(dma, virt_base, fn, opaque, 0); in soc_dma_port_add_fifo_in()
108 static inline void soc_dma_port_add_fifo_out(struct soc_dma_s *dma, in soc_dma_port_add_fifo_out() argument
111 return soc_dma_port_add_fifo(dma, virt_base, fn, opaque, 1); in soc_dma_port_add_fifo_out()