taglinefilesource code
dma521drivers/block/ide-tape.cunsigned dma    :1;  /* Using DMA of PIO */
dma56drivers/cdrom/isp16.cstatic short isp16_cdi_config(int base, u_char drive_type, int irq, int dma);
dma228drivers/cdrom/isp16.cisp16_cdi_config(int base, u_char drive_type, int irq, int dma)
dma235drivers/cdrom/isp16.cif ( (drive_type == ISP16_MITSUMI) && (dma != 0) )
dma266drivers/cdrom/isp16.cswitch (dma) {
dma276drivers/cdrom/isp16.cprintk("ISP16: dma %d not supported by cdrom interface.\n", dma);
dma55drivers/cdrom/optcd_isp16.hstatic short isp16_cdi_config( int base, u_char drive_type, int irq, int dma );
dma182drivers/cdrom/optcd_isp16.hisp16_cdi_config( int base, u_char drive_type, int irq, int dma )
dma189drivers/cdrom/optcd_isp16.hif ( (drive_type == ISP16_MITSUMI) && (dma != 0) )
dma219drivers/cdrom/optcd_isp16.hswitch (dma) {
dma229drivers/cdrom/optcd_isp16.hprintk( "Dma %d not supported by cdrom interface on ISP16.\n", dma );
dma534drivers/net/ewrk3.cdev->dma = 0;
dma202drivers/net/lance.cint dma;
dma435drivers/net/lance.cdev->dma = 4;      /* Native bus-master, no DMA channel needed. */
dma441drivers/net/lance.cdev->dma = dma_tbl[(port_val >> 4) & 3];
dma443drivers/net/lance.cprintk(" HP Vectra IRQ %d DMA %d.\n", dev->irq, dev->dma);
dma448drivers/net/lance.cdev->dma = dma_tbl[(reset_val >> 2) & 3];
dma450drivers/net/lance.cprintk(" HP J2405A IRQ %d DMA %d.\n", dev->irq, dev->dma);
dma455drivers/net/lance.cdev->dma = bus_info & 0x07;
dma460drivers/net/lance.cdev->dma = dev->mem_start & 0x07;
dma463drivers/net/lance.cif (dev->dma == 0) {
dma491drivers/net/lance.cdev->dma = 4;
dma494drivers/net/lance.cif (dev->dma == 4) {
dma496drivers/net/lance.c} else if (dev->dma) {
dma497drivers/net/lance.cif (request_dma(dev->dma, chipname)) {
dma498drivers/net/lance.cprintk("DMA %d allocation failed.\n", dev->dma);
dma501drivers/net/lance.cprintk(", assigned DMA %d.\n", dev->dma);
dma505drivers/net/lance.cint dma = dmas[i];
dma510drivers/net/lance.cif (test_bit(dma, &dma_channels))
dma513drivers/net/lance.cif (request_dma(dma, chipname))
dma515drivers/net/lance.cset_dma_mode(dma, DMA_MODE_CASCADE);
dma516drivers/net/lance.cenable_dma(dma);
dma524drivers/net/lance.cdev->dma = dma;
dma525drivers/net/lance.cprintk(", DMA %d.\n", dev->dma);
dma528drivers/net/lance.cdisable_dma(dma);
dma529drivers/net/lance.cfree_dma(dma);
dma580drivers/net/lance.cif (dev->dma != 4) {
dma581drivers/net/lance.cenable_dma(dev->dma);
dma582drivers/net/lance.cset_dma_mode(dev->dma, DMA_MODE_CASCADE);
dma597drivers/net/lance.cdev->name, dev->irq, dev->dma, (int) lp->tx_ring, (int) lp->rx_ring,
dma1056drivers/net/lance.cif (dev->dma != 4)
dma1057drivers/net/lance.cdisable_dma(dev->dma);
dma233drivers/net/net_init.cif (map->dma != (u_char)(-1))
dma234drivers/net/net_init.cdev->dma = map->dma;
dma223drivers/net/ni65.cif(dev->dma == 0)  
dma224drivers/net/ni65.cdev->dma = dmatab[inw(PORT+L_CONFIG)&3];
dma227drivers/net/ni65.c"network card", dev->base_addr, dev->irq,dev->dma);
dma236drivers/net/ni65.cif(request_dma(dev->dma, "ni65") != 0)
dma238drivers/net/ni65.cprintk("%s: Can't request dma-channel %d\n",dev->name,(int) dev->dma);
dma320drivers/net/ni65.cdisable_dma(dev->dma); /* I've never worked with dma, but we do it like the packetdriver */
dma321drivers/net/ni65.cset_dma_mode(dev->dma,DMA_MODE_CASCADE);
dma322drivers/net/ni65.cenable_dma(dev->dma); 
dma328drivers/net/ni65.cdisable_dma(dev->dma);
dma329drivers/net/ni65.cfree_dma(dev->dma);
dma388drivers/net/ni65.cdisable_dma(dev->dma);
dma389drivers/net/ni65.cfree_dma(dev->dma);
dma1251drivers/net/pi2.cpi0a.dma = PI_DMA;
dma1365drivers/net/pi2.clp->dmachan = dev->dma;
dma1395drivers/net/pi2.cdev->irq, dev->dma);
dma1463drivers/net/pi2.cif (request_dma(dev->dma,"pi2")) {
dma1640drivers/net/pi2.cdev->dma = lp->dmachan = rq.dmachan;
dma554drivers/net/pt.cpt0a.dma = 0;  /* wizzer - no dma yet */
dma864drivers/net/pt.cprintk("PT: Autodetected IRQ %d, assuming DMA %d\n", dev->irq, dev->dma);
dma933drivers/net/pt.cif (request_dma(dev->dma, "pt"))
dma1074drivers/net/pt.cdev->dma = lp->dmachan = rq.dmachan;
dma236drivers/net/skeleton.cif (dev->dma == 0) {
dma237drivers/net/skeleton.cif (request_dma(dev->dma, cardname)) {
dma238drivers/net/skeleton.cprintk("DMA %d allocation failed.\n", dev->dma);
dma241drivers/net/skeleton.cprintk(", assigned DMA %d.\n", dev->dma);
dma261drivers/net/skeleton.cdev->dma = i;
dma268drivers/net/skeleton.cif (request_dma(dev->dma, cardname)) {
dma269drivers/net/skeleton.cprintk("probed DMA %d allocation failed.\n", dev->dma);
dma323drivers/net/skeleton.cif (request_dma(dev->dma, cardname)) {
dma503drivers/net/skeleton.cdisable_dma(dev->dma);
dma509drivers/net/skeleton.cfree_dma(dev->dma);
dma584drivers/net/skeleton.cstatic int dma = 0;
dma598drivers/net/skeleton.cthis_device.dma       = dma;
dma788drivers/net/sunlance.cdev->dma = 0;
dma502drivers/scsi/53c7,8xx.cint dma;  /* DMA channel     - often none */
dma588drivers/scsi/53c7,8xx.coverrides[commandline_current].data.normal.dma = (ints[0] >= 4) ?
dma1175drivers/scsi/53c7,8xx.cu32 base, int io_port, int irq, int dma, int pci_valid, 
dma1204drivers/scsi/53c7,8xx.cif (dma == DMA_NONE)
dma1207drivers/scsi/53c7,8xx.cprintk(", dma %d\n", dma);
dma1319drivers/scsi/53c7,8xx.cinstance->dma_channel = dma;
dma1551drivers/scsi/53c7,8xx.coverrides[current_override].data.normal.dma,
dma578drivers/scsi/NCR53c406a.cshpnt->dma = dma_chan;
dma300drivers/scsi/aha152x.hunsigned dma:1;    /* Transfer mode: 0=PIO; 1=DMA */
dma313drivers/scsi/aha152x.h#define cf_dma    fields.dma
dma97drivers/scsi/g_NCR5380.cint dma;
dma136drivers/scsi/g_NCR5380.coverrides[commandline_current].dma = ints[3];
dma138drivers/scsi/g_NCR5380.coverrides[commandline_current].dma = DMA_NONE;
dma173drivers/scsi/wd7000.cint dma;                          /* This adapter's DMA channel */
dma198drivers/scsi/wd7000.cint dma;                      /* DMA channel */
dma551drivers/scsi/wd7000.cset_dma_mode(host->dma, DMA_MODE_CASCADE);
dma552drivers/scsi/wd7000.cenable_dma(host->dma);
dma1055drivers/scsi/wd7000.cif (request_dma(host->dma,"wd7000"))  {
dma1056drivers/scsi/wd7000.cprintk("wd7000_init: can't get DMA channel %d.\n", host->dma);
dma1064drivers/scsi/wd7000.cfree_dma(host->dma);
dma1155drivers/scsi/wd7000.chost->dma = cfg->dma;
dma1171drivers/scsi/wd7000.chost->iobase, host->irq, host->dma);
dma1718drivers/sound/ad1848.cif (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3)
dma1720drivers/sound/ad1848.cprintk ("MSS: Bad DMA %d\n", hw_config->dma);
dma1728drivers/sound/ad1848.cif (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80)
dma1767drivers/sound/ad1848.chw_config->dma,
dma1785drivers/sound/ad1848.coutb (bits | dma_bits[hw_config->dma], config_port);  /* Write IRQ+DMA setup */
dma1789drivers/sound/ad1848.chw_config->dma,
dma1790drivers/sound/ad1848.chw_config->dma, 0, hw_config->osp);
dma1800drivers/sound/ad1848.chw_config->dma,
dma1801drivers/sound/ad1848.chw_config->dma, 0);
dma1821drivers/sound/ad1848.chw_config->dma,
dma1831drivers/sound/ad1848.chw_config->dma,
dma306drivers/sound/aedsp16.cstatic int      dma = DMA;  /* dma for DSP I/O                      */
dma567drivers/sound/aedsp16.cif (orDMA[gc].val == dma)
dma697drivers/sound/aedsp16.cdma = hw_config->dma;
dma765drivers/sound/aedsp16.cdma = hw_config->dma;
dma89drivers/sound/cs4232.cint             dma1 = hw_config->dma, dma2 = hw_config->dma2;
dma180drivers/sound/cs4232.cint             dma1 = hw_config->dma, dma2 = hw_config->dma2;
dma200drivers/sound/cs4232.chw_config2.dma = -1;
dma227drivers/sound/cs4232.cint             dma1 = hw_config->dma, dma2 = hw_config->dma2;
dma246drivers/sound/cs4232.chw_config2.dma = -1;
dma227drivers/sound/dev_table.csnd_installed_cards[sel].config.dma = hw_config->dma;
dma285drivers/sound/dev_table.csnd_installed_cards[i].config.dma = hw_config->dma;
dma364drivers/sound/dev_table.cint             card_type, ioaddr, irq, dma, ptr, j;
dma381drivers/sound/dev_table.cdma = (val & 0x0000000f);
dma398drivers/sound/dev_table.csnd_installed_cards[ptr].config.dma = dma;
dma512drivers/sound/dev_table.hvoid sound_chconf(int card_type, int ioaddr, int irq, int dma);
dma64drivers/sound/gus_card.cif (sound_alloc_dma (hw_config->dma, "GUS"))
dma66drivers/sound/gus_card.cif (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma)
dma93drivers/sound/gus_card.cif (sound_alloc_dma (hw_config->dma, "GUS"))
dma95drivers/sound/gus_card.cif (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma)
dma157drivers/sound/gus_card.csound_free_dma (hw_config->dma);
dma159drivers/sound/gus_card.cif (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma)
dma239drivers/sound/gus_card.chw_config->dma,
dma240drivers/sound/gus_card.chw_config->dma, 0,
dma251drivers/sound/gus_card.chw_config->dma,
dma252drivers/sound/gus_card.chw_config->dma, 0);
dma2992drivers/sound/gus_wave.cint             irq = hw_config->irq, dma = hw_config->dma, dma2 = hw_config->dma2;
dma3000drivers/sound/gus_wave.cif (dma < 0 || dma > 7)
dma3002drivers/sound/gus_wave.cprintk ("ERROR! Invalid DMA#%d. GUS Disabled", dma);
dma3007drivers/sound/gus_wave.cgus_dma = dma;
dma3011drivers/sound/gus_wave.cgus_dma2 = dma;
dma3142drivers/sound/gus_wave.caudio_devs[gus_devnum]->dmachan1 = dma;
dma3145drivers/sound/gus_wave.cif (dma2 != dma && dma2 != -1)
dma358drivers/sound/mad16.cif (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3)
dma360drivers/sound/mad16.cprintk ("MSS: Bad DMA %d\n", hw_config->dma);
dma368drivers/sound/mad16.cif (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80)
dma399drivers/sound/mad16.cint             ad_flags = 0, dma = hw_config->dma, dma2 = hw_config->dma2;
dma423drivers/sound/mad16.cif (ad_flags & AD_F_CS4231 && dma2 != -1 && dma2 != dma)
dma425drivers/sound/mad16.cif ((dma == 0 && dma2 == 1) ||
dma426drivers/sound/mad16.c(dma == 1 && dma2 == 0) ||
dma427drivers/sound/mad16.c(dma == 3 && dma2 == 0))
dma433drivers/sound/mad16.cif (dma == 3)
dma441drivers/sound/mad16.cdma2 = dma;
dma445drivers/sound/mad16.cdma2 = dma;
dma447drivers/sound/mad16.coutb (bits | dma_bits[dma] | dma2_bit, config_port);  /* Write IRQ+DMA setup */
dma451drivers/sound/mad16.cdma,
dma601drivers/sound/mad16.chw_config->dma,
dma207drivers/sound/pas2_card.cif (hw_config->dma < 0 || hw_config->dma > 7)
dma209drivers/sound/pas2_card.cprintk ("PAS2: Invalid DMA selection %d", hw_config->dma);
dma214drivers/sound/pas2_card.cpas_write (I_C_2_PCM_DMA_translate[hw_config->dma], IO_CONFIGURATION_2);
dma215drivers/sound/pas2_card.cif (!I_C_2_PCM_DMA_translate[hw_config->dma])
dma217drivers/sound/pas2_card.cprintk ("PAS2: Invalid DMA selection %d", hw_config->dma);
dma222drivers/sound/pas2_card.cif (sound_alloc_dma (hw_config->dma, "PAS16"))
dma289drivers/sound/pas2_card.cif (!E_C_SB_DMA_translate[sb_config->dma])
dma291drivers/sound/pas2_card.csb_config->dma);
dma297drivers/sound/pas2_card.cirq_dma = E_C_SB_DMA_translate[sb_config->dma] |
dma419drivers/sound/pas2_card.csound_free_dma (hw_config->dma);
dma423drivers/sound/pas2_pcm.caudio_devs[my_devnum]->dmachan1 = hw_config->dma;
dma81drivers/sound/pss.cint             dma;
dma97drivers/sound/pss.cint             irq, dma;
dma101drivers/sound/pss.cdma = devc->dma = hw_config->dma;
dma164drivers/sound/pss.cset_dma (pss_config * devc, int dev, int dma)
dma174drivers/sound/pss.cif (dma < 0 || dma > 7)
dma179drivers/sound/pss.cif ((bits = dma_bits[dma]) == 0 && dma != 4)
dma181drivers/sound/pss.cprintk ("PSS: Invalid DMA %d\n", dma);
dma331drivers/sound/pss.cdevc->dma = hw_config->dma;
dma349drivers/sound/pss.cif (sound_alloc_dma (hw_config->dma, "PSS"))
dma361drivers/sound/pss.cif (!set_dma (devc, CONF_PSS, devc->dma))
dma736drivers/sound/pss.cif (!set_dma (devc, CONF_WSS, hw_config->dma))
dma530drivers/sound/sb16_dsp.cextern void     Jazz16_set_dma16 (int dma);
dma537drivers/sound/sb16_dsp.cJazz16_set_dma16 (hw_config->dma);
dma558drivers/sound/sb16_dsp.cif (hw_config->dma < 4)
dma559drivers/sound/sb16_dsp.cif (hw_config->dma != sb_config->dma)
dma562drivers/sound/sb16_dsp.csb_config->dma, hw_config->dma);
dma566drivers/sound/sb16_dsp.cdma16 = hw_config->dma;
dma567drivers/sound/sb16_dsp.cdma8 = sb_config->dma;
dma569drivers/sound/sb16_dsp.csb_setmixer (DMA_NR, (1 << hw_config->dma) | (1 << sb_config->dma));
dma571drivers/sound/sb16_dsp.cDEB (printk ("SoundBlaster 16: IRQ %d DMA %d OK\n", sb_config->irq, hw_config->dma));
dma1219drivers/sound/sb_dsp.csbc_dma = hw_config->dma;
dma1226drivers/sound/sb_dsp.cdma8 = dma16 = hw_config->dma;
dma1414drivers/sound/sb_dsp.cJazz16_set_dma16 (int dma)
dma1416drivers/sound/sb_dsp.cdma16 = dma;
dma1583drivers/sound/sb_dsp.cdma8 = audio_devs[my_dev]->dmachan1 = hw_config->dma;
dma1584drivers/sound/sb_dsp.cdma16 = audio_devs[my_dev]->dmachan2 = hw_config->dma;
dma1585drivers/sound/sb_dsp.cif (sound_alloc_dma (hw_config->dma, "SoundBlaster"))
dma91drivers/sound/sound_calls.hvoid conf_printf2(char *name, int base, int irq, int dma, int dma2);
dma140drivers/sound/sound_config.hint dma;
dma176drivers/sound/sound_switch.cif (snd_installed_cards[i].config.dma != -1)
dma180drivers/sound/sound_switch.cif (!put_status_int (snd_installed_cards[i].config.dma, 10))
dma747drivers/sound/soundcard.cif (hw_config->dma != -1 || hw_config->dma2 != -1)
dma749drivers/sound/soundcard.cprintk (" dma %d", hw_config->dma);
dma758drivers/sound/soundcard.cconf_printf2 (char *name, int base, int irq, int dma, int dma2)
dma768drivers/sound/soundcard.cif (dma != -1 || dma2 != -1)
dma770drivers/sound/soundcard.cprintk (" dma %d", dma);
dma93drivers/sound/sscape.cint             base, irq, dma;
dma359drivers/sound/sscape.ctemp = devc->dma << 4;  /* Setup DMA channel select bits */
dma360drivers/sound/sscape.cif (devc->dma <= 3)
dma520drivers/sound/sscape.cclear_dma_ff (devc->dma);
dma521drivers/sound/sscape.cif ((resid = get_dma_residue (devc->dma)) == 0)
dma992drivers/sound/sscape.caudio_devs[my_dev]->dmachan1 = hw_config->dma;
dma1020drivers/sound/sscape.cdevc->dma = hw_config->dma;
dma1086drivers/sound/sscape.cif (sound_alloc_dma (hw_config->dma, "soundscape"))
dma1163drivers/sound/sscape.csscape_write (devc, GA_CDCFG_REG, 0x89 | (hw_config->dma << 4) |
dma1171drivers/sound/sscape.chw_config->dma,
dma1172drivers/sound/sscape.chw_config->dma,
dma1201drivers/sound/sscape.csound_free_dma (hw_config->dma);
dma1209drivers/sound/sscape.chw_config->dma,
dma1210drivers/sound/sscape.chw_config->dma,
dma187drivers/sound/trix.cif (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3)
dma189drivers/sound/trix.cprintk ("AudioTriX: Bad WSS DMA %d\n", hw_config->dma);
dma204drivers/sound/trix.cif (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80)
dma235drivers/sound/trix.cint             dma1 = hw_config->dma, dma2 = hw_config->dma2;
dma321drivers/sound/trix.ctmp = hw_config->dma;
dma328drivers/sound/trix.cif (hw_config->dma == 3)
dma441drivers/sound/trix.cdma2 = hw_config->dma;
dma448drivers/sound/trix.chw_config->dma,
dma72include/asm-sparc/dma.h#define DMA_ISBROKEN(dma)    ((dma)->revision == dvmarev1)
dma73include/asm-sparc/dma.h#define DMA_ISESC1(dma)      ((dma)->revision == dvmaesc1)
dma146include/asm-sparc/dma.h#define DMA_IRQ_ENTRY(dma, dregs) do { \
dma147include/asm-sparc/dma.hif(DMA_ISBROKEN(dma)) DMA_INTSOFF(dregs); \
dma150include/asm-sparc/dma.h#define DMA_IRQ_EXIT(dma, dregs) do { \
dma151include/asm-sparc/dma.hif(DMA_ISBROKEN(dma)) DMA_INTSON(dregs); \
dma174include/asm-sparc/dma.h#define DMA_RESET(dma) do { \
dma175include/asm-sparc/dma.hstruct sparc_dma_registers *regs = dma->regs;                      \
dma184include/asm-sparc/dma.hif(dma->revision>dvmarev1) regs->cond_reg |= DMA_3CLKS;            \
dma185include/asm-sparc/dma.hdma->running = 0;                                                  \
dma188include/asm-sparc/dma.h#define for_each_dvma(dma) \
dma189include/asm-sparc/dma.hfor((dma) = dma_chain; (dma); (dma) = (dma)->next)
dma81include/linux/if.hunsigned char dma;
dma113include/linux/netdevice.hunsigned char      dma;      /* DMA channel    */
dma1185net/core/dev.cifr.ifr_map.dma=dev->dma;