/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-h8300/ |
H A D | dma.h | 12 extern int request_dma(unsigned int dmanr, const char *device_id); /* reserve a DMA channel */ 13 extern void free_dma(unsigned int dmanr); /* release it again */
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m68k/ |
H A D | dma.h | 11 extern int request_dma(unsigned int dmanr, const char * device_id); /* reserve a DMA channel */ 12 extern void free_dma(unsigned int dmanr); /* release it again */
|
H A D | apollodma.h | 141 static __inline__ void enable_dma(unsigned int dmanr) argument 143 if (dmanr<=3) 144 dma_outb(dmanr, DMA1_MASK_REG); 146 dma_outb(dmanr & 3, DMA2_MASK_REG); 149 static __inline__ void disable_dma(unsigned int dmanr) argument 151 if (dmanr<=3) 152 dma_outb(dmanr | 4, DMA1_MASK_REG); 154 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); 164 static __inline__ void clear_dma_ff(unsigned int dmanr) argument 166 if (dmanr< 173 set_dma_mode(unsigned int dmanr, char mode) argument 184 set_dma_addr(unsigned int dmanr, unsigned int a) argument 204 set_dma_count(unsigned int dmanr, unsigned int count) argument 225 get_dma_residue(unsigned int dmanr) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-v850/ |
H A D | dma.h | 8 extern int request_dma (unsigned int dmanr, const char * device_id); 10 extern void free_dma (unsigned int dmanr);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v32/kernel/ |
H A D | dma.c | 20 int crisv32_request_dma(unsigned int dmanr, const char * device_id, argument 28 if (crisv32_arbiter_allocate_bandwidth(dmanr, 35 if (used_dma_channels[dmanr]) { 38 printk("Failed to request DMA %i for %s, already allocated by %s\n", dmanr, device_id, used_dma_channels_users[dmanr]); 47 switch(dmanr) 75 printk("Failed to request DMA %i for %s, only 0-%i valid)\n", dmanr, device_id, MAX_DMA_CHANNELS-1); 86 if (dmanr == 0) 88 else if (dmanr == 1) 94 if (dmanr 219 crisv32_free_dma(unsigned int dmanr) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-parisc/ |
H A D | dma.h | 93 static __inline__ int get_dma_residue(unsigned int dmanr) argument 95 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE 96 : ((dmanr&3)<<2) + 2 + IO_DMA2_BASE; 104 return (dmanr<=3)? count : (count<<1); 108 static __inline__ void enable_dma(unsigned int dmanr) argument 111 if (dmanr<=3) 112 dma_outb(dmanr, DMA1_MASK_REG); 114 dma_outb(dmanr & 3, DMA2_MASK_REG); 118 static __inline__ void disable_dma(unsigned int dmanr) argument 138 clear_dma_ff(unsigned int dmanr) argument 143 set_dma_mode(unsigned int dmanr, char mode) argument 152 set_dma_page(unsigned int dmanr, char pagenr) argument 160 set_dma_addr(unsigned int dmanr, unsigned int a) argument 173 set_dma_count(unsigned int dmanr, unsigned int count) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/syslib/ |
H A D | ppc4xx_dma.c | 42 ppc4xx_set_src_addr(int dmanr, phys_addr_t src_addr) argument 44 if (dmanr >= MAX_PPC4xx_DMA_CHANNELS) { 45 printk("set_src_addr: bad channel: %d\n", dmanr); 50 mtdcr(DCRN_DMASAH0 + dmanr*2, (u32)(src_addr >> 32)); 52 mtdcr(DCRN_DMASA0 + dmanr*2, (u32)src_addr); 57 ppc4xx_set_dst_addr(int dmanr, phys_addr_t dst_addr) argument 59 if (dmanr >= MAX_PPC4xx_DMA_CHANNELS) { 60 printk("set_dst_addr: bad channel: %d\n", dmanr); 65 mtdcr(DCRN_DMADAH0 + dmanr*2, (u32)(dst_addr >> 32)); 67 mtdcr(DCRN_DMADA0 + dmanr* 72 ppc4xx_enable_dma(unsigned int dmanr) argument 143 ppc4xx_disable_dma(unsigned int dmanr) argument 183 ppc4xx_set_dma_mode(unsigned int dmanr, unsigned int mode) argument 204 ppc4xx_set_dma_count(unsigned int dmanr, unsigned int count) argument 250 ppc4xx_get_dma_residue(unsigned int dmanr) argument 271 ppc4xx_set_dma_addr(unsigned int dmanr, phys_addr_t addr) argument 319 ppc4xx_set_dma_addr2(unsigned int dmanr, phys_addr_t src_dma_addr, phys_addr_t dst_dma_addr) argument 377 ppc4xx_enable_dma_interrupt(unsigned int dmanr) argument 405 ppc4xx_disable_dma_interrupt(unsigned int dmanr) argument 434 ppc4xx_init_dma_channel(unsigned int dmanr, ppc_dma_ch_t * p_init) argument 503 ppc4xx_get_channel_config(unsigned int dmanr, ppc_dma_ch_t * p_dma_ch) argument 557 ppc4xx_set_channel_priority(unsigned int dmanr, unsigned int priority) argument 593 ppc4xx_get_peripheral_width(unsigned int dmanr) argument 611 ppc4xx_clr_dma_status(unsigned int dmanr) argument 630 ppc4xx_enable_burst(unsigned int dmanr) argument 649 ppc4xx_disable_burst(unsigned int dmanr) argument 674 ppc4xx_set_burst_size(unsigned int dmanr, unsigned int bsize) argument [all...] |
H A D | ppc4xx_sgdma.c | 33 ppc4xx_set_sg_addr(int dmanr, phys_addr_t sg_addr) argument 35 if (dmanr >= MAX_PPC4xx_DMA_CHANNELS) { 36 printk("ppc4xx_set_sg_addr: bad channel: %d\n", dmanr); 41 mtdcr(DCRN_ASGH0 + (dmanr * 0x8), (u32)(sg_addr >> 32)); 43 mtdcr(DCRN_ASG0 + (dmanr * 0x8), (u32)sg_addr); 68 if (psgl->dmanr >= MAX_PPC4xx_DMA_CHANNELS) { 69 printk("ppc4xx_add_dma_sgl: bad channel: %d\n", psgl->dmanr); 73 p_dma_ch = &dma_channels[psgl->dmanr]; 154 } else if (psgl->dmanr > (MAX_PPC4xx_DMA_CHANNELS - 1)) { 156 psgl->dmanr); 355 ppc4xx_alloc_dma_handle(sgl_handle_t * phandle, unsigned int mode, unsigned int dmanr) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m68knommu/ |
H A D | dma.h | 123 static __inline__ void enable_dma(unsigned int dmanr) argument 128 printk("enable_dma(dmanr=%d)\n", dmanr); 131 dmawp = (unsigned short *) dma_base_addr[dmanr]; 135 static __inline__ void disable_dma(unsigned int dmanr) argument 141 printk("disable_dma(dmanr=%d)\n", dmanr); 144 dmawp = (unsigned short *) dma_base_addr[dmanr]; 145 dmapb = (unsigned char *) dma_base_addr[dmanr]; 162 static __inline__ void clear_dma_ff(unsigned int dmanr) argument 167 set_dma_mode(unsigned int dmanr, char mode) argument 210 set_dma_addr(unsigned int dmanr, unsigned int a) argument 247 set_dma_device_addr(unsigned int dmanr, unsigned int a) argument 259 set_dma_count(unsigned int dmanr, unsigned int count) argument 277 get_dma_residue(unsigned int dmanr) argument 316 enable_dma(unsigned int dmanr) argument 328 disable_dma(unsigned int dmanr) argument 353 clear_dma_ff(unsigned int dmanr) argument 358 set_dma_mode(unsigned int dmanr, char mode) argument 396 set_dma_addr(unsigned int dmanr, unsigned int a) argument 431 set_dma_device_addr(unsigned int dmanr, unsigned int a) argument 445 set_dma_count(unsigned int dmanr, unsigned int count) argument 463 get_dma_residue(unsigned int dmanr) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/ |
H A D | dma.h | 170 static __inline__ void enable_dma(unsigned int dmanr) argument 172 if (dmanr<=3) 173 dma_outb(dmanr, DMA1_MASK_REG); 175 dma_outb(dmanr & 3, DMA2_MASK_REG); 178 static __inline__ void disable_dma(unsigned int dmanr) argument 180 if (dmanr<=3) 181 dma_outb(dmanr | 4, DMA1_MASK_REG); 183 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); 193 static __inline__ void clear_dma_ff(unsigned int dmanr) argument 195 if (dmanr< 202 set_dma_mode(unsigned int dmanr, char mode) argument 215 set_dma_page(unsigned int dmanr, char pagenr) argument 246 set_dma_addr(unsigned int dmanr, unsigned int a) argument 267 set_dma_count(unsigned int dmanr, unsigned int count) argument 288 get_dma_residue(unsigned int dmanr) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh/mpc1211/ |
H A D | dma.h | 152 static __inline__ void enable_dma(unsigned int dmanr) argument 154 if (dmanr<=3) 155 dma_outb(dmanr, DMA1_MASK_REG); 157 dma_outb(dmanr & 3, DMA2_MASK_REG); 160 static __inline__ void disable_dma(unsigned int dmanr) argument 162 if (dmanr<=3) 163 dma_outb(dmanr | 4, DMA1_MASK_REG); 165 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); 175 static __inline__ void clear_dma_ff(unsigned int dmanr) argument 177 if (dmanr< 184 set_dma_mode(unsigned int dmanr, char mode) argument 197 set_dma_page(unsigned int dmanr, unsigned int pagenr) argument 235 set_dma_addr(unsigned int dmanr, unsigned int a) argument 256 set_dma_count(unsigned int dmanr, unsigned int count) argument 277 get_dma_residue(unsigned int dmanr) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-i386/ |
H A D | dma.h | 152 static __inline__ void enable_dma(unsigned int dmanr) argument 154 if (dmanr<=3) 155 dma_outb(dmanr, DMA1_MASK_REG); 157 dma_outb(dmanr & 3, DMA2_MASK_REG); 160 static __inline__ void disable_dma(unsigned int dmanr) argument 162 if (dmanr<=3) 163 dma_outb(dmanr | 4, DMA1_MASK_REG); 165 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); 175 static __inline__ void clear_dma_ff(unsigned int dmanr) argument 177 if (dmanr< 184 set_dma_mode(unsigned int dmanr, char mode) argument 197 set_dma_page(unsigned int dmanr, char pagenr) argument 228 set_dma_addr(unsigned int dmanr, unsigned int a) argument 249 set_dma_count(unsigned int dmanr, unsigned int count) argument 270 get_dma_residue(unsigned int dmanr) argument [all...] |
H A D | mca_dma.h | 60 * @dmanr: DMA channel 66 static __inline__ void mca_enable_dma(unsigned int dmanr) argument 68 outb(MCA_DMA_FN_RESET_MASK | dmanr, MCA_DMA_REG_FN); 73 * @dmanr: DMA channel 79 static __inline__ void mca_disable_dma(unsigned int dmanr) argument 81 outb(MCA_DMA_FN_MASK | dmanr, MCA_DMA_REG_FN); 86 * @dmanr: DMA channel 93 static __inline__ void mca_set_dma_addr(unsigned int dmanr, unsigned int a) argument 95 outb(MCA_DMA_FN_SET_ADDR | dmanr, MCA_DMA_REG_FN); 103 * @dmanr 109 mca_get_dma_addr(unsigned int dmanr) argument 130 mca_set_dma_count(unsigned int dmanr, unsigned int count) argument 147 mca_get_dma_residue(unsigned int dmanr) argument 167 mca_set_dma_io(unsigned int dmanr, unsigned int io_addr) argument 195 mca_set_dma_mode(unsigned int dmanr, unsigned int mode) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/ |
H A D | dma.h | 170 static __inline__ void enable_dma(unsigned int dmanr) argument 172 if (dmanr<=3) 173 dma_outb(dmanr, DMA1_MASK_REG); 175 dma_outb(dmanr & 3, DMA2_MASK_REG); 178 static __inline__ void disable_dma(unsigned int dmanr) argument 180 if (dmanr<=3) 181 dma_outb(dmanr | 4, DMA1_MASK_REG); 183 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); 193 static __inline__ void clear_dma_ff(unsigned int dmanr) argument 195 if (dmanr< 202 set_dma_mode(unsigned int dmanr, char mode) argument 215 set_dma_page(unsigned int dmanr, char pagenr) argument 246 set_dma_addr(unsigned int dmanr, unsigned int a) argument 267 set_dma_count(unsigned int dmanr, unsigned int count) argument 288 get_dma_residue(unsigned int dmanr) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-x86_64/ |
H A D | dma.h | 159 static __inline__ void enable_dma(unsigned int dmanr) argument 161 if (dmanr<=3) 162 dma_outb(dmanr, DMA1_MASK_REG); 164 dma_outb(dmanr & 3, DMA2_MASK_REG); 167 static __inline__ void disable_dma(unsigned int dmanr) argument 169 if (dmanr<=3) 170 dma_outb(dmanr | 4, DMA1_MASK_REG); 172 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); 182 static __inline__ void clear_dma_ff(unsigned int dmanr) argument 184 if (dmanr< 191 set_dma_mode(unsigned int dmanr, char mode) argument 204 set_dma_page(unsigned int dmanr, char pagenr) argument 235 set_dma_addr(unsigned int dmanr, unsigned int a) argument 256 set_dma_count(unsigned int dmanr, unsigned int count) argument 277 get_dma_residue(unsigned int dmanr) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-xtensa/ |
H A D | dma.h | 51 extern int request_dma(unsigned int dmanr, const char * device_id); 52 extern void free_dma(unsigned int dmanr);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/ |
H A D | dma.h | 199 static __inline__ void enable_dma(unsigned int dmanr) argument 203 if (dmanr != 4) { 207 if (dmanr <= 3) { 208 dma_outb(dmanr, DMA1_MASK_REG); 211 dma_outb(dmanr & 3, DMA2_MASK_REG); 215 static __inline__ void disable_dma(unsigned int dmanr) argument 217 if (dmanr <= 3) 218 dma_outb(dmanr | 4, DMA1_MASK_REG); 220 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); 230 static __inline__ void clear_dma_ff(unsigned int dmanr) argument 239 set_dma_mode(unsigned int dmanr, char mode) argument 252 set_dma_page(unsigned int dmanr, int pagenr) argument 298 set_dma_addr(unsigned int dmanr, unsigned int phys) argument 329 set_dma_count(unsigned int dmanr, unsigned int count) argument 359 get_dma_residue(unsigned int dmanr) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v10/kernel/ |
H A D | dma.c | 21 int cris_request_dma(unsigned int dmanr, const char * device_id, argument 28 if ((dmanr < 0) || (dmanr >= MAX_DMA_CHANNELS)) { 29 printk(KERN_CRIT "cris_request_dma: invalid DMA channel %u\n", dmanr); 34 if (used_dma_channels[dmanr]) { 37 printk(KERN_CRIT "Failed to request DMA %i for %s, already allocated by %s\n", dmanr, device_id, used_dma_channels_users[dmanr]); 50 if ((dmanr != NETWORK_TX_DMA_NBR) && 51 (dmanr != NETWORK_RX_DMA_NBR)) { 57 if (dmanr 214 cris_free_dma(unsigned int dmanr, const char * device_id) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-alpha/ |
H A D | dma.h | 213 static __inline__ void enable_dma(unsigned int dmanr) argument 215 if (dmanr<=3) 216 dma_outb(dmanr, DMA1_MASK_REG); 218 dma_outb(dmanr & 3, DMA2_MASK_REG); 221 static __inline__ void disable_dma(unsigned int dmanr) argument 223 if (dmanr<=3) 224 dma_outb(dmanr | 4, DMA1_MASK_REG); 226 dma_outb((dmanr & 3) | 4, DMA2_MASK_REG); 236 static __inline__ void clear_dma_ff(unsigned int dmanr) argument 238 if (dmanr< 245 set_dma_mode(unsigned int dmanr, char mode) argument 254 set_dma_ext_mode(unsigned int dmanr, char ext_mode) argument 266 set_dma_page(unsigned int dmanr, unsigned int pagenr) argument 304 set_dma_addr(unsigned int dmanr, unsigned int a) argument 325 set_dma_count(unsigned int dmanr, unsigned int count) argument 346 get_dma_residue(unsigned int dmanr) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/mach-au1x00/ |
H A D | au1000_dma.h | 129 extern void free_au1000_dma(unsigned int dmanr); 132 extern void dump_au1000_dma_channel(unsigned int dmanr); 136 static __inline__ struct dma_chan *get_dma_chan(unsigned int dmanr) argument 138 if (dmanr >= NUM_AU1000_DMA_CHANNELS 139 || au1000_dma_table[dmanr].dev_id < 0) 141 return &au1000_dma_table[dmanr]; 159 static __inline__ void enable_dma_buffer0(unsigned int dmanr) argument 161 struct dma_chan *chan = get_dma_chan(dmanr); 166 static __inline__ void enable_dma_buffer1(unsigned int dmanr) argument 168 struct dma_chan *chan = get_dma_chan(dmanr); 173 enable_dma_buffers(unsigned int dmanr) argument 181 start_dma(unsigned int dmanr) argument 192 halt_dma(unsigned int dmanr) argument 209 disable_dma(unsigned int dmanr) argument 221 dma_halted(unsigned int dmanr) argument 230 init_dma(unsigned int dmanr) argument 254 set_dma_mode(unsigned int dmanr, unsigned int mode) argument 269 get_dma_mode(unsigned int dmanr) argument 277 get_dma_active_buffer(unsigned int dmanr) argument 291 set_dma_fifo_addr(unsigned int dmanr, unsigned int a) argument 310 clear_dma_done0(unsigned int dmanr) argument 317 clear_dma_done1(unsigned int dmanr) argument 328 set_dma_page(unsigned int dmanr, char pagenr) argument 335 set_dma_addr0(unsigned int dmanr, unsigned int a) argument 346 set_dma_addr1(unsigned int dmanr, unsigned int a) argument 358 set_dma_count0(unsigned int dmanr, unsigned int count) argument 371 set_dma_count1(unsigned int dmanr, unsigned int count) argument 384 set_dma_count(unsigned int dmanr, unsigned int count) argument 399 get_dma_buffer_done(unsigned int dmanr) argument 412 get_dma_done_irq(unsigned int dmanr) argument 424 get_dma_residue(unsigned int dmanr) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/mach-au1x00/ |
H A D | au1000_dma.h | 129 extern void free_au1000_dma(unsigned int dmanr); 132 extern void dump_au1000_dma_channel(unsigned int dmanr); 136 static __inline__ struct dma_chan *get_dma_chan(unsigned int dmanr) argument 138 if (dmanr >= NUM_AU1000_DMA_CHANNELS 139 || au1000_dma_table[dmanr].dev_id < 0) 141 return &au1000_dma_table[dmanr]; 159 static __inline__ void enable_dma_buffer0(unsigned int dmanr) argument 161 struct dma_chan *chan = get_dma_chan(dmanr); 166 static __inline__ void enable_dma_buffer1(unsigned int dmanr) argument 168 struct dma_chan *chan = get_dma_chan(dmanr); 173 enable_dma_buffers(unsigned int dmanr) argument 181 start_dma(unsigned int dmanr) argument 192 halt_dma(unsigned int dmanr) argument 209 disable_dma(unsigned int dmanr) argument 221 dma_halted(unsigned int dmanr) argument 230 init_dma(unsigned int dmanr) argument 254 set_dma_mode(unsigned int dmanr, unsigned int mode) argument 269 get_dma_mode(unsigned int dmanr) argument 277 get_dma_active_buffer(unsigned int dmanr) argument 291 set_dma_fifo_addr(unsigned int dmanr, unsigned int a) argument 310 clear_dma_done0(unsigned int dmanr) argument 317 clear_dma_done1(unsigned int dmanr) argument 328 set_dma_page(unsigned int dmanr, char pagenr) argument 335 set_dma_addr0(unsigned int dmanr, unsigned int a) argument 346 set_dma_addr1(unsigned int dmanr, unsigned int a) argument 358 set_dma_count0(unsigned int dmanr, unsigned int count) argument 371 set_dma_count1(unsigned int dmanr, unsigned int count) argument 384 set_dma_count(unsigned int dmanr, unsigned int count) argument 399 get_dma_buffer_done(unsigned int dmanr) argument 412 get_dma_done_irq(unsigned int dmanr) argument 424 get_dma_residue(unsigned int dmanr) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc64/ |
H A D | parport.h | 40 static __inline__ int request_dma(unsigned int dmanr, const char *device_id) argument 42 if (dmanr >= PARPORT_PC_MAX_PORTS) 44 if (xchg(&sparc_ebus_dmas[dmanr].lock, 1) != 0) 49 static __inline__ void free_dma(unsigned int dmanr) argument 51 if (dmanr >= PARPORT_PC_MAX_PORTS) { 52 printk(KERN_WARNING "Trying to free DMA%d\n", dmanr); 55 if (xchg(&sparc_ebus_dmas[dmanr].lock, 0) == 0) { 56 printk(KERN_WARNING "Trying to free free DMA%d\n", dmanr); 61 static __inline__ void enable_dma(unsigned int dmanr) argument 63 ebus_dma_enable(&sparc_ebus_dmas[dmanr] 71 disable_dma(unsigned int dmanr) argument 76 clear_dma_ff(unsigned int dmanr) argument 81 set_dma_mode(unsigned int dmanr, char mode) argument 86 set_dma_addr(unsigned int dmanr, unsigned int addr) argument 91 set_dma_count(unsigned int dmanr, unsigned int count) argument 96 get_dma_residue(unsigned int dmanr) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/ |
H A D | dma.c | 67 * @dmanr: DMA channel number 70 int request_dma(unsigned int dmanr, const char * device_id) argument 72 if (dmanr >= MAX_DMA_CHANNELS) 75 if (xchg(&dma_chan_busy[dmanr].lock, 1) != 0) 78 dma_chan_busy[dmanr].device_id = device_id; 86 * @dmanr: DMA channel number 88 void free_dma(unsigned int dmanr) argument 90 if (dmanr >= MAX_DMA_CHANNELS) { 91 printk(KERN_WARNING "Trying to free DMA%d\n", dmanr); 95 if (xchg(&dma_chan_busy[dmanr] 104 request_dma(unsigned int dmanr, const char *device_id) argument 109 free_dma(unsigned int dmanr) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/arch-v10/ |
H A D | dma.h | 71 int cris_request_dma(unsigned int dmanr, const char * device_id, 74 void cris_free_dma(unsigned int dmanr, const char * device_id);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-cris/arch-v32/ |
H A D | dma.h | 70 int crisv32_request_dma(unsigned int dmanr, const char * device_id, 72 void crisv32_free_dma(unsigned int dmanr);
|