taglinefilesource code
dmanr128include/asm-i386/dma.hstatic __inline__ void enable_dma(unsigned int dmanr)
dmanr130include/asm-i386/dma.hif (dmanr<=3)
dmanr131include/asm-i386/dma.hdma_outb(dmanr,  DMA1_MASK_REG);
dmanr133include/asm-i386/dma.hdma_outb(dmanr & 3,  DMA2_MASK_REG);
dmanr136include/asm-i386/dma.hstatic __inline__ void disable_dma(unsigned int dmanr)
dmanr138include/asm-i386/dma.hif (dmanr<=3)
dmanr139include/asm-i386/dma.hdma_outb(dmanr | 4,  DMA1_MASK_REG);
dmanr141include/asm-i386/dma.hdma_outb((dmanr & 3) | 4,  DMA2_MASK_REG);
dmanr151include/asm-i386/dma.hstatic __inline__ void clear_dma_ff(unsigned int dmanr)
dmanr153include/asm-i386/dma.hif (dmanr<=3)
dmanr160include/asm-i386/dma.hstatic __inline__ void set_dma_mode(unsigned int dmanr, char mode)
dmanr162include/asm-i386/dma.hif (dmanr<=3)
dmanr163include/asm-i386/dma.hdma_outb(mode | dmanr,  DMA1_MODE_REG);
dmanr165include/asm-i386/dma.hdma_outb(mode | (dmanr&3),  DMA2_MODE_REG);
dmanr173include/asm-i386/dma.hstatic __inline__ void set_dma_page(unsigned int dmanr, char pagenr)
dmanr175include/asm-i386/dma.hswitch(dmanr) {
dmanr204include/asm-i386/dma.hstatic __inline__ void set_dma_addr(unsigned int dmanr, unsigned int a)
dmanr206include/asm-i386/dma.hset_dma_page(dmanr, a>>16);
dmanr207include/asm-i386/dma.hif (dmanr <= 3)  {
dmanr208include/asm-i386/dma.hdma_outb( a & 0xff, ((dmanr&3)<<1) + IO_DMA1_BASE );
dmanr209include/asm-i386/dma.hdma_outb( (a>>8) & 0xff, ((dmanr&3)<<1) + IO_DMA1_BASE );
dmanr211include/asm-i386/dma.hdma_outb( (a>>1) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE );
dmanr212include/asm-i386/dma.hdma_outb( (a>>9) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE );
dmanr225include/asm-i386/dma.hstatic __inline__ void set_dma_count(unsigned int dmanr, unsigned int count)
dmanr228include/asm-i386/dma.hif (dmanr <= 3)  {
dmanr229include/asm-i386/dma.hdma_outb( count & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
dmanr230include/asm-i386/dma.hdma_outb( (count>>8) & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
dmanr232include/asm-i386/dma.hdma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
dmanr233include/asm-i386/dma.hdma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
dmanr246include/asm-i386/dma.hstatic __inline__ int get_dma_residue(unsigned int dmanr)
dmanr248include/asm-i386/dma.hunsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE
dmanr249include/asm-i386/dma.h: ((dmanr&3)<<2) + 2 + IO_DMA2_BASE;
dmanr257include/asm-i386/dma.hreturn (dmanr<=3)? count : (count<<1);
dmanr262include/asm-i386/dma.hextern int request_dma(unsigned int dmanr, char * deviceID);  /* reserve a DMA channel */
dmanr263include/asm-i386/dma.hextern void free_dma(unsigned int dmanr);  /* release it again */
dmanr386include/linux/tpqic02.h# define QIC02_TAPE_DMA    (qic02_tape_dynconf.dmanr)
dmanr637include/linux/tpqic02.hunsigned short  dmanr;  /* DMA channel to use */
dmanr87kernel/dma.cint request_dma(unsigned int dmanr, char * deviceID)
dmanr89kernel/dma.cif (dmanr >= MAX_DMA_CHANNELS)
dmanr92kernel/dma.cif (mutex_atomic_swap((unsigned int *) &dma_chan_busy[dmanr], (unsigned int) deviceID) != 0) 
dmanr100kernel/dma.cvoid free_dma(unsigned int dmanr)
dmanr102kernel/dma.cif (dmanr >= MAX_DMA_CHANNELS) {
dmanr103kernel/dma.cprintk("Trying to free DMA%d\n", dmanr);
dmanr107kernel/dma.cif (mutex_atomic_swap((unsigned int *) &dma_chan_busy[dmanr], 0) == 0) {
dmanr108kernel/dma.cprintk("Trying to free free DMA%d\n", dmanr);
dmanr51kernel/ksyms.cextern int request_dma(unsigned int dmanr, char * deviceID);
dmanr52kernel/ksyms.cextern void free_dma(unsigned int dmanr);