Lines Matching refs:channel

47 #define clear_dma_ff(channel)
54 extern void set_dma_page(dmach_t channel, char pagenr);
56 /* Request a DMA channel
60 extern int request_dma(dmach_t channel, const char * device_id);
62 /* Free a DMA channel
66 extern void free_dma(dmach_t channel);
68 /* Enable DMA for this channel
73 extern void enable_dma(dmach_t channel);
75 /* Disable DMA for this channel
80 extern void disable_dma(dmach_t channel);
82 /* Test whether the specified channel has an active DMA transfer
84 extern int dma_channel_active(dmach_t channel);
86 /* Set the DMA scatter gather list for this channel
88 * This should not be called if a DMA channel is enabled,
92 extern void set_dma_sg(dmach_t channel, struct scatterlist *sg, int nr_sg);
94 /* Set the DMA address for this channel
96 * This should not be called if a DMA channel is enabled,
100 extern void __set_dma_addr(dmach_t channel, void *addr);
101 #define set_dma_addr(channel, addr) \
102 __set_dma_addr(channel, bus_to_virt(addr))
104 /* Set the DMA byte count for this channel
106 * This should not be called if a DMA channel is enabled,
110 extern void set_dma_count(dmach_t channel, unsigned long count);
112 /* Set the transfer direction for this channel
114 * This should not be called if a DMA channel is enabled,
119 extern void set_dma_mode(dmach_t channel, dmamode_t mode);
121 /* Set the transfer speed for this channel
123 extern void set_dma_speed(dmach_t channel, int cycle_ns);
128 * If called before the channel has been used, it may return 1.
131 extern int get_dma_residue(dmach_t channel);