taglinefilesource code
dmanr134include/asm-alpha/dma.hstatic __inline__ void enable_dma(unsigned int dmanr)
dmanr136include/asm-alpha/dma.hif (dmanr<=3)
dmanr137include/asm-alpha/dma.hdma_outb(dmanr,  DMA1_MASK_REG);
dmanr139include/asm-alpha/dma.hdma_outb(dmanr & 3,  DMA2_MASK_REG);
dmanr142include/asm-alpha/dma.hstatic __inline__ void disable_dma(unsigned int dmanr)
dmanr144include/asm-alpha/dma.hif (dmanr<=3)
dmanr145include/asm-alpha/dma.hdma_outb(dmanr | 4,  DMA1_MASK_REG);
dmanr147include/asm-alpha/dma.hdma_outb((dmanr & 3) | 4,  DMA2_MASK_REG);
dmanr157include/asm-alpha/dma.hstatic __inline__ void clear_dma_ff(unsigned int dmanr)
dmanr159include/asm-alpha/dma.hif (dmanr<=3)
dmanr166include/asm-alpha/dma.hstatic __inline__ void set_dma_mode(unsigned int dmanr, char mode)
dmanr168include/asm-alpha/dma.hif (dmanr<=3)
dmanr169include/asm-alpha/dma.hdma_outb(mode | dmanr,  DMA1_MODE_REG);
dmanr171include/asm-alpha/dma.hdma_outb(mode | (dmanr&3),  DMA2_MODE_REG);
dmanr179include/asm-alpha/dma.hstatic __inline__ void set_dma_page(unsigned int dmanr, char pagenr)
dmanr181include/asm-alpha/dma.hswitch(dmanr) {
dmanr210include/asm-alpha/dma.hstatic __inline__ void set_dma_addr(unsigned int dmanr, unsigned int a)
dmanr212include/asm-alpha/dma.hset_dma_page(dmanr, a>>16);
dmanr213include/asm-alpha/dma.hif (dmanr <= 3)  {
dmanr214include/asm-alpha/dma.hdma_outb( a & 0xff, ((dmanr&3)<<1) + IO_DMA1_BASE );
dmanr215include/asm-alpha/dma.hdma_outb( (a>>8) & 0xff, ((dmanr&3)<<1) + IO_DMA1_BASE );
dmanr217include/asm-alpha/dma.hdma_outb( (a>>1) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE );
dmanr218include/asm-alpha/dma.hdma_outb( (a>>9) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE );
dmanr231include/asm-alpha/dma.hstatic __inline__ void set_dma_count(unsigned int dmanr, unsigned int count)
dmanr234include/asm-alpha/dma.hif (dmanr <= 3)  {
dmanr235include/asm-alpha/dma.hdma_outb( count & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
dmanr236include/asm-alpha/dma.hdma_outb( (count>>8) & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
dmanr238include/asm-alpha/dma.hdma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
dmanr239include/asm-alpha/dma.hdma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
dmanr252include/asm-alpha/dma.hstatic __inline__ int get_dma_residue(unsigned int dmanr)
dmanr254include/asm-alpha/dma.hunsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE
dmanr255include/asm-alpha/dma.h: ((dmanr&3)<<2) + 2 + IO_DMA2_BASE;
dmanr263include/asm-alpha/dma.hreturn (dmanr<=3)? count : (count<<1);
dmanr268include/asm-alpha/dma.hextern int request_dma(unsigned int dmanr, char * device_id);  /* reserve a DMA channel */
dmanr269include/asm-alpha/dma.hextern void free_dma(unsigned int dmanr);  /* release it again */
dmanr133include/asm-i386/dma.hstatic __inline__ void enable_dma(unsigned int dmanr)
dmanr135include/asm-i386/dma.hif (dmanr<=3)
dmanr136include/asm-i386/dma.hdma_outb(dmanr,  DMA1_MASK_REG);
dmanr138include/asm-i386/dma.hdma_outb(dmanr & 3,  DMA2_MASK_REG);
dmanr141include/asm-i386/dma.hstatic __inline__ void disable_dma(unsigned int dmanr)
dmanr143include/asm-i386/dma.hif (dmanr<=3)
dmanr144include/asm-i386/dma.hdma_outb(dmanr | 4,  DMA1_MASK_REG);
dmanr146include/asm-i386/dma.hdma_outb((dmanr & 3) | 4,  DMA2_MASK_REG);
dmanr156include/asm-i386/dma.hstatic __inline__ void clear_dma_ff(unsigned int dmanr)
dmanr158include/asm-i386/dma.hif (dmanr<=3)
dmanr165include/asm-i386/dma.hstatic __inline__ void set_dma_mode(unsigned int dmanr, char mode)
dmanr167include/asm-i386/dma.hif (dmanr<=3)
dmanr168include/asm-i386/dma.hdma_outb(mode | dmanr,  DMA1_MODE_REG);
dmanr170include/asm-i386/dma.hdma_outb(mode | (dmanr&3),  DMA2_MODE_REG);
dmanr178include/asm-i386/dma.hstatic __inline__ void set_dma_page(unsigned int dmanr, char pagenr)
dmanr180include/asm-i386/dma.hswitch(dmanr) {
dmanr209include/asm-i386/dma.hstatic __inline__ void set_dma_addr(unsigned int dmanr, unsigned int a)
dmanr211include/asm-i386/dma.hset_dma_page(dmanr, a>>16);
dmanr212include/asm-i386/dma.hif (dmanr <= 3)  {
dmanr213include/asm-i386/dma.hdma_outb( a & 0xff, ((dmanr&3)<<1) + IO_DMA1_BASE );
dmanr214include/asm-i386/dma.hdma_outb( (a>>8) & 0xff, ((dmanr&3)<<1) + IO_DMA1_BASE );
dmanr216include/asm-i386/dma.hdma_outb( (a>>1) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE );
dmanr217include/asm-i386/dma.hdma_outb( (a>>9) & 0xff, ((dmanr&3)<<2) + IO_DMA2_BASE );
dmanr230include/asm-i386/dma.hstatic __inline__ void set_dma_count(unsigned int dmanr, unsigned int count)
dmanr233include/asm-i386/dma.hif (dmanr <= 3)  {
dmanr234include/asm-i386/dma.hdma_outb( count & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
dmanr235include/asm-i386/dma.hdma_outb( (count>>8) & 0xff, ((dmanr&3)<<1) + 1 + IO_DMA1_BASE );
dmanr237include/asm-i386/dma.hdma_outb( (count>>1) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
dmanr238include/asm-i386/dma.hdma_outb( (count>>9) & 0xff, ((dmanr&3)<<2) + 2 + IO_DMA2_BASE );
dmanr251include/asm-i386/dma.hstatic __inline__ int get_dma_residue(unsigned int dmanr)
dmanr253include/asm-i386/dma.hunsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE
dmanr254include/asm-i386/dma.h: ((dmanr&3)<<2) + 2 + IO_DMA2_BASE;
dmanr262include/asm-i386/dma.hreturn (dmanr<=3)? count : (count<<1);
dmanr267include/asm-i386/dma.hextern int request_dma(unsigned int dmanr, char * device_id);  /* reserve a DMA channel */
dmanr268include/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)
dmanr638include/linux/tpqic02.hunsigned short  dmanr;  /* DMA channel to use */
dmanr72kernel/dma.cint request_dma(unsigned int dmanr, char * device_id)
dmanr74kernel/dma.cif (dmanr >= MAX_DMA_CHANNELS)
dmanr77kernel/dma.cif (xchg_u32(&dma_chan_busy[dmanr].lock, 1) != 0)
dmanr80kernel/dma.cdma_chan_busy[dmanr].device_id = device_id;
dmanr87kernel/dma.cvoid free_dma(unsigned int dmanr)
dmanr89kernel/dma.cif (dmanr >= MAX_DMA_CHANNELS) {
dmanr90kernel/dma.cprintk("Trying to free DMA%d\n", dmanr);
dmanr94kernel/dma.cif (xchg_u32(&dma_chan_busy[dmanr].lock, 0) == 0) {
dmanr95kernel/dma.cprintk("Trying to free free DMA%d\n", dmanr);
dmanr61kernel/ksyms.cextern int request_dma(unsigned int dmanr, char * deviceID);
dmanr62kernel/ksyms.cextern void free_dma(unsigned int dmanr);