Searched refs:dma_t (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/arch/arm/include/asm/mach/ |
D | dma.h | 12 typedef struct dma_struct dma_t; typedef 15 int (*request)(unsigned int, dma_t *); /* optional */ 16 void (*free)(unsigned int, dma_t *); /* optional */ 17 void (*enable)(unsigned int, dma_t *); /* mandatory */ 18 void (*disable)(unsigned int, dma_t *); /* mandatory */ 19 int (*residue)(unsigned int, dma_t *); /* optional */ 20 int (*setspeed)(unsigned int, dma_t *, int); /* optional */ 46 extern int isa_dma_add(unsigned int, dma_t *dma);
|
/linux-6.1.9/arch/arm/kernel/ |
D | dma.c | 26 static dma_t *dma_chan[MAX_DMA_CHANNELS]; 28 static inline dma_t *dma_channel(unsigned int chan) in dma_channel() 36 int __init isa_dma_add(unsigned int chan, dma_t *dma) in isa_dma_add() 56 dma_t *dma = dma_channel(chan); in request_dma() 94 dma_t *dma = dma_channel(chan); in free_dma() 123 dma_t *dma = dma_channel(chan); in set_dma_sg() 140 dma_t *dma = dma_channel(chan); in __set_dma_addr() 157 dma_t *dma = dma_channel(chan); in set_dma_count() 172 dma_t *dma = dma_channel(chan); in set_dma_mode() 186 dma_t *dma = dma_channel(chan); in enable_dma() [all …]
|
/linux-6.1.9/arch/arm/mach-rpc/ |
D | dma.c | 134 static int iomd_request_dma(unsigned int chan, dma_t *dma) in iomd_request_dma() 142 static void iomd_free_dma(unsigned int chan, dma_t *dma) in iomd_free_dma() 155 static void iomd_enable_dma(unsigned int chan, dma_t *dma) in iomd_enable_dma() 192 static void iomd_disable_dma(unsigned int chan, dma_t *dma) in iomd_disable_dma() 205 static int iomd_set_dma_speed(unsigned int chan, dma_t *dma, int cycle) in iomd_set_dma_speed() 265 static void floppy_enable_dma(unsigned int chan, dma_t *dma) in floppy_enable_dma() 299 static void floppy_disable_dma(unsigned int chan, dma_t *dma) in floppy_disable_dma() 306 static int floppy_get_residue(unsigned int chan, dma_t *dma) in floppy_get_residue() 323 static void sound_enable_disable_dma(unsigned int chan, dma_t *dma) in sound_enable_disable_dma() 342 static dma_t sound_dma = {
|
/linux-6.1.9/arch/arm/mach-footbridge/ |
D | dma-isa.c | 44 static int isa_get_dma_residue(unsigned int chan, dma_t *dma) in isa_get_dma_residue() 61 static void isa_enable_dma(unsigned int chan, dma_t *dma) in isa_enable_dma() 125 static void isa_disable_dma(unsigned int chan, dma_t *dma) in isa_disable_dma() 155 static dma_t isa_dma[8];
|