Home
last modified time | relevance | path

Searched refs:dmach_t (Results 1 – 13 of 13) sorted by relevance

/linux-2.4.37.9/include/asm-arm/
Ddma.h4 typedef unsigned int dmach_t; typedef
49 extern void set_dma_page(dmach_t channel, char pagenr);
55 extern int request_dma(dmach_t channel, const char * device_id);
61 extern void free_dma(dmach_t channel);
68 extern void enable_dma(dmach_t channel);
75 extern void disable_dma(dmach_t channel);
79 extern int dma_channel_active(dmach_t channel);
87 extern void set_dma_sg(dmach_t channel, struct scatterlist *sg, int nr_sg);
95 extern void set_dma_addr(dmach_t channel, unsigned long physaddr);
103 extern void set_dma_count(dmach_t channel, unsigned long count);
[all …]
/linux-2.4.37.9/include/asm-arm/arch-sa1100/
Ddma.h89 extern int sa1100_request_dma( dmach_t *channel, const char *device_id,
91 extern int sa1100_dma_set_callback( dmach_t channel, dma_callback_t cb );
92 extern int sa1100_dma_set_spin( dmach_t channel, dma_addr_t addr, int size );
93 extern int sa1100_dma_queue_buffer( dmach_t channel, void *buf_id,
95 extern int sa1100_dma_get_current( dmach_t channel, void **buf_id, dma_addr_t *addr );
96 extern int sa1100_dma_stop( dmach_t channel );
97 extern int sa1100_dma_resume( dmach_t channel );
98 extern int sa1100_dma_flush_all( dmach_t channel );
99 extern void sa1100_free_dma( dmach_t channel );
100 extern int sa1100_dma_sleep( dmach_t channel );
[all …]
/linux-2.4.37.9/arch/arm/kernel/
Ddma.c53 int request_dma(dmach_t channel, const char *device_id) in request_dma()
90 void free_dma(dmach_t channel) in free_dma()
118 void set_dma_sg (dmach_t channel, struct scatterlist *sg, int nr_sg) in set_dma_sg()
136 void set_dma_addr (dmach_t channel, unsigned long physaddr) in set_dma_addr()
155 void set_dma_count (dmach_t channel, unsigned long count) in set_dma_count()
172 void set_dma_mode (dmach_t channel, dmamode_t mode) in set_dma_mode()
186 void enable_dma (dmach_t channel) in enable_dma()
206 void disable_dma (dmach_t channel) in disable_dma()
227 int dma_channel_active(dmach_t channel) in dma_channel_active()
232 void set_dma_page(dmach_t channel, char pagenr) in set_dma_page()
[all …]
Ddma-arc.c28 static void arc_floppy_data_enable_dma(dmach_t channel, dma_t *dma) in arc_floppy_data_enable_dma()
68 static int arc_floppy_data_get_dma_residue(dmach_t channel, dma_t *dma) in arc_floppy_data_get_dma_residue()
76 static void arc_floppy_cmdend_enable_dma(dmach_t channel, dma_t *dma) in arc_floppy_cmdend_enable_dma()
94 static int arc_floppy_cmdend_get_dma_residue(dmach_t channel, dma_t *dma) in arc_floppy_cmdend_get_dma_residue()
103 static void arc_disable_dma(dmach_t channel, dma_t *dma) in arc_disable_dma()
128 static int a5k_floppy_get_dma_residue(dmach_t channel, dma_t *dma) in a5k_floppy_get_dma_residue()
135 static void a5k_floppy_enable_dma(dmach_t channel, dma_t *dma) in a5k_floppy_enable_dma()
164 static void a5k_floppy_disable_dma(dmach_t channel, dma_t *dma) in a5k_floppy_disable_dma()
181 static void sound_enable_disable_dma(dmach_t channel, dma_t *dma) in sound_enable_disable_dma()
Ddma-rpc.c130 static int iomd_request_dma(dmach_t channel, dma_t *dma) in iomd_request_dma()
136 static void iomd_free_dma(dmach_t channel, dma_t *dma) in iomd_free_dma()
141 static void iomd_enable_dma(dmach_t channel, dma_t *dma) in iomd_enable_dma()
170 static void iomd_disable_dma(dmach_t channel, dma_t *dma) in iomd_disable_dma()
184 static int iomd_set_dma_speed(dmach_t channel, dma_t *dma, int cycle) in iomd_set_dma_speed()
239 static void floppy_enable_dma(dmach_t channel, dma_t *dma) in floppy_enable_dma()
269 static void floppy_disable_dma(dmach_t channel, dma_t *dma) in floppy_disable_dma()
275 static int floppy_get_residue(dmach_t channel, dma_t *dma) in floppy_get_residue()
292 static void sound_enable_disable_dma(dmach_t channel, dma_t *dma) in sound_enable_disable_dma()
Ddma-riscstation.c36 static void floppy_enable_dma(dmach_t channel, dma_t *dma) in floppy_enable_dma()
66 static void floppy_disable_dma(dmach_t channel, dma_t *dma) in floppy_disable_dma()
72 static int floppy_get_residue(dmach_t channel, dma_t *dma) in floppy_get_residue()
89 static void sound_enable_disable_dma(dmach_t channel, dma_t *dma) in sound_enable_disable_dma()
Ddma-footbridge.c24 static int fb_dma_request(dmach_t channel, dma_t *dma)
29 static void fb_dma_enable(dmach_t channel, dma_t *dma)
33 static void fb_dma_disable(dmach_t channel, dma_t *dma)
Ddma-isa.c54 static int isa_get_dma_residue(dmach_t channel, dma_t *dma) in isa_get_dma_residue()
65 static void isa_enable_dma(dmach_t channel, dma_t *dma) in isa_enable_dma()
130 static void isa_disable_dma(dmach_t channel, dma_t *dma) in isa_disable_dma()
/linux-2.4.37.9/include/asm-arm/mach/
Ddma.h18 int (*request)(dmach_t, dma_t *); /* optional */
19 void (*free)(dmach_t, dma_t *); /* optional */
20 void (*enable)(dmach_t, dma_t *); /* mandatory */
21 void (*disable)(dmach_t, dma_t *); /* mandatory */
22 int (*residue)(dmach_t, dma_t *); /* optional */
23 int (*setspeed)(dmach_t, dma_t *, int); /* optional */
/linux-2.4.37.9/arch/arm/mach-sa1100/
Ddma.h53 int sa1111_dma_get_current(dmach_t channel, void **buf_id, dma_addr_t *addr);
54 int sa1111_dma_stop(dmach_t channel);
55 int sa1111_dma_resume(dmach_t channel);
56 void sa1111_reset_sac_dma(dmach_t channel);
57 void sa1111_cleanup_sac_dma(dmach_t channel);
Ddma-sa1100.c245 int sa1100_request_dma (dmach_t * channel, const char *device_id, in sa1100_request_dma()
301 int sa1100_dma_set_callback(dmach_t channel, dma_callback_t cb) in sa1100_dma_set_callback()
314 int sa1100_dma_set_spin(dmach_t channel, dma_addr_t addr, int size) in sa1100_dma_set_spin()
333 int sa1100_dma_queue_buffer(dmach_t channel, void *buf_id, in sa1100_dma_queue_buffer()
368 int sa1100_dma_get_current(dmach_t channel, void **buf_id, dma_addr_t *addr) in sa1100_dma_get_current()
432 int sa1100_dma_stop(dmach_t channel) in sa1100_dma_stop()
469 int sa1100_dma_resume(dmach_t channel) in sa1100_dma_resume()
490 int sa1100_dma_flush_all(dmach_t channel) in sa1100_dma_flush_all()
522 void sa1100_free_dma(dmach_t channel) in sa1100_free_dma()
563 int sa1100_dma_sleep(dmach_t channel) in sa1100_dma_sleep()
[all …]
Ddma-sa1111.c50 void sa1111_reset_sac_dma(dmach_t channel) in sa1111_reset_sac_dma()
189 int sa1111_sac_request_dma(dmach_t *channel, const char *device_id, in sa1111_sac_request_dma()
246 int sa1111_dma_get_current(dmach_t channel, void **buf_id, dma_addr_t *addr) in sa1111_dma_get_current()
269 int sa1111_dma_stop(dmach_t channel) in sa1111_dma_stop()
274 int sa1111_dma_resume(dmach_t channel) in sa1111_dma_resume()
280 void sa1111_cleanup_sac_dma(dmach_t channel) in sa1111_cleanup_sac_dma()
/linux-2.4.37.9/Documentation/arm/SA1100/
DDMA31 int sa1100_request_dma( dmach_t *channel, const char *device_id,
46 int sa1100_dma_queue_buffer( dmach_t channel, void *buf_id,
56 dmach_t channel: the channel number.
74 int sa1100_dma_set_callback( dmach_t channel, dma_callback_t cb );
92 int sa1100_dma_get_current( dmach_t channel, void **buf_id,
101 int sa1100_dma_stop( dmach_t channel );
106 int sa1100_dma_resume( dmach_t channel );
112 int sa1100_dma_flush_all( dmach_t channel );
119 int sa1100_dma_set_spin( dmach_t channel, dma_addr_t addr, int size );
145 void sa1100_free_dma( dmach_t channel );