Lines Matching refs:chan
53 int (*request)(struct dma_channel *chan);
54 void (*free)(struct dma_channel *chan);
56 int (*get_residue)(struct dma_channel *chan);
57 int (*xfer)(struct dma_channel *chan);
58 int (*configure)(struct dma_channel *chan, unsigned long flags);
59 int (*extend)(struct dma_channel *chan, unsigned long op, void *param);
65 unsigned int chan; /* DMAC channel number */ member
108 extern int dma_xfer(unsigned int chan, unsigned long from,
111 #define dma_write(chan, from, to, size) \ argument
112 dma_xfer(chan, from, to, size, DMA_MODE_WRITE)
113 #define dma_write_page(chan, from, to) \ argument
114 dma_write(chan, from, to, PAGE_SIZE)
116 #define dma_read(chan, from, to, size) \ argument
117 dma_xfer(chan, from, to, size, DMA_MODE_READ)
118 #define dma_read_page(chan, from, to) \ argument
119 dma_read(chan, from, to, PAGE_SIZE)
123 extern int get_dma_residue(unsigned int chan);
124 extern struct dma_info *get_dma_info(unsigned int chan);
125 extern struct dma_channel *get_dma_channel(unsigned int chan);
126 extern void dma_wait_for_completion(unsigned int chan);
127 extern void dma_configure_channel(unsigned int chan, unsigned long flags);
133 extern int dma_extend(unsigned int chan, unsigned long op, void *param);