Searched refs:dma_channel (Results 1 – 16 of 16) sorted by relevance
/arch/sh/include/asm/ |
D | dma.h | 63 struct dma_channel; 66 int (*request)(struct dma_channel *chan); 67 void (*free)(struct dma_channel *chan); 69 int (*get_residue)(struct dma_channel *chan); 70 int (*xfer)(struct dma_channel *chan); 71 int (*configure)(struct dma_channel *chan, unsigned long flags); 72 int (*extend)(struct dma_channel *chan, unsigned long op, void *param); 75 struct dma_channel { struct 106 struct dma_channel *channels; argument 118 #define to_dma_channel(channel) container_of(channel, struct dma_channel, dev) [all …]
|
/arch/arm/kernel/ |
D | dma.c | 31 static inline dma_t *dma_channel(unsigned int chan) in dma_channel() function 59 dma_t *dma = dma_channel(chan); in request_dma() 97 dma_t *dma = dma_channel(chan); in free_dma() 126 dma_t *dma = dma_channel(chan); in set_dma_sg() 144 dma_t *dma = dma_channel(chan); in __set_dma_addr() 162 dma_t *dma = dma_channel(chan); in set_dma_count() 178 dma_t *dma = dma_channel(chan); in set_dma_mode() 193 dma_t *dma = dma_channel(chan); in enable_dma() 214 dma_t *dma = dma_channel(chan); in disable_dma() 236 dma_t *dma = dma_channel(chan); in dma_channel_active() [all …]
|
/arch/sh/drivers/dma/ |
D | dma-sysfs.c | 34 struct dma_channel *channel = get_dma_channel(i); in dma_show_devices() 64 struct dma_channel *channel = to_dma_channel(dev); in dma_show_dev_id() 72 struct dma_channel *channel = to_dma_channel(dev); in dma_store_dev_id() 83 struct dma_channel *channel = to_dma_channel(dev); in dma_store_config() 97 struct dma_channel *channel = to_dma_channel(dev); in dma_show_mode() 105 struct dma_channel *channel = to_dma_channel(dev); in dma_store_mode() 116 struct dma_channel *channel = to_dma_channel(dev); \ 124 int dma_create_sysfs_files(struct dma_channel *chan, struct dma_info *info) in dma_create_sysfs_files() 152 void dma_remove_sysfs_files(struct dma_channel *chan, struct dma_info *info) in dma_remove_sysfs_files()
|
D | dma-api.c | 75 struct dma_channel *get_dma_channel(unsigned int chan) in get_dma_channel() 78 struct dma_channel *channel; in get_dma_channel() 97 struct dma_channel *channel = get_dma_channel(chan); in get_dma_residue() 149 struct dma_channel *channel = &info->channels[i]; in request_dma_bycap() 168 struct dma_channel *channel = { 0 }; in dmac_search_free_channel() 195 struct dma_channel *channel = { 0 }; in request_dma() 220 struct dma_channel *channel = get_dma_channel(chan); in free_dma() 232 struct dma_channel *channel = get_dma_channel(chan); in dma_wait_for_completion() 261 struct dma_channel *channel; in register_chan_caps() 277 struct dma_channel *channel = get_dma_channel(chan); in dma_configure_channel() [all …]
|
D | dma-sh.c | 56 static inline unsigned int calc_xmit_shift(struct dma_channel *chan) in calc_xmit_shift() 73 struct dma_channel *chan = dev_id; in dma_tei() 89 static int sh_dmac_request_dma(struct dma_channel *chan) in sh_dmac_request_dma() 103 static void sh_dmac_free_dma(struct dma_channel *chan) in sh_dmac_free_dma() 109 sh_dmac_configure_channel(struct dma_channel *chan, unsigned long chcr) in sh_dmac_configure_channel() 127 static void sh_dmac_enable_dma(struct dma_channel *chan) in sh_dmac_enable_dma() 146 static void sh_dmac_disable_dma(struct dma_channel *chan) in sh_dmac_disable_dma() 161 static int sh_dmac_xfer_dma(struct dma_channel *chan) in sh_dmac_xfer_dma() 202 static int sh_dmac_get_dma_residue(struct dma_channel *chan) in sh_dmac_get_dma_residue()
|
D | dma-pvr2.c | 41 static int pvr2_request_dma(struct dma_channel *chan) in pvr2_request_dma() 51 static int pvr2_get_dma_residue(struct dma_channel *chan) in pvr2_get_dma_residue() 56 static int pvr2_xfer_dma(struct dma_channel *chan) in pvr2_xfer_dma()
|
D | dma-g2.c | 64 struct dma_channel *chan = info->channels + i; in g2_dma_interrupt() 76 static int g2_enable_dma(struct dma_channel *chan) in g2_enable_dma() 86 static int g2_disable_dma(struct dma_channel *chan) in g2_disable_dma() 96 static int g2_xfer_dma(struct dma_channel *chan) in g2_xfer_dma() 152 static int g2_get_residue(struct dma_channel *chan) in g2_get_residue()
|
/arch/unicore32/kernel/ |
D | dma.c | 25 struct dma_channel { struct 33 static struct dma_channel dma_channels[MAX_DMA_CHANNELS]; argument 102 struct dma_channel *channel = &dma_channels[i]; in dma_irq_handler() 130 struct dma_channel *channel = &dma_channels[i]; in dma_err_handler()
|
/arch/arm/plat-omap/include/plat/ |
D | onenand.h | 32 int dma_channel; member
|
/arch/mips/include/asm/mach-rc32434/ |
D | dma.h | 99 struct dma_channel { struct
|
/arch/arm/plat-pxa/ |
D | dma.c | 31 struct dma_channel { struct 39 static struct dma_channel *dma_channels; argument 341 struct dma_channel *channel; in dma_irq_handler() 365 dma_channels = kzalloc(sizeof(struct dma_channel) * num_ch, GFP_KERNEL); in pxa_init_dma()
|
/arch/blackfin/include/asm/ |
D | dma.h | 98 struct dma_channel { struct 118 extern struct dma_channel dma_ch[MAX_DMA_CHANNELS]; argument
|
/arch/arm/mach-omap2/ |
D | board-flash.c | 87 .dma_channel = -1, /* disable DMA in OMAP OneNAND driver */
|
D | board-igep0020.c | 157 .dma_channel = -1, /* disable DMA in OMAP OneNAND driver */
|
/arch/arm/mach-pnx4008/ |
D | dma.c | 32 static struct dma_channel { struct 1045 struct dma_channel *channel = &dma_channels[i]; in dma_irq_handler()
|
/arch/blackfin/kernel/ |
D | bfin_dma.c | 30 struct dma_channel dma_ch[MAX_DMA_CHANNELS];
|