taglinefilesource code
dma429drivers/block/ide-tape.cunsigned dma    :1;  /* Using DMA of PIO */
dma118drivers/cdrom/optcd.cstatic short isp16_config( int base, u_char drive_type, int irq, int dma );
dma1586drivers/cdrom/optcd.cisp16_config( int base, u_char drive_type, int irq, int dma )
dma1593drivers/cdrom/optcd.cif ( (drive_type == ISP16_MITSUMI) && (dma != 0) )
dma1623drivers/cdrom/optcd.cswitch (dma) {
dma1633drivers/cdrom/optcd.cprintk( "Dma %d not supported by cdrom interface on ISP16.\n", dma );
dma121drivers/cdrom/sjcd.cstatic short isp16_cdi_config( int base, u_char drive_type, int irq, int dma );
dma1751drivers/cdrom/sjcd.cisp16_cdi_config( int base, u_char drive_type, int irq, int dma )
dma1758drivers/cdrom/sjcd.cif ( (drive_type == ISP16_MITSUMI) && (dma != 0) )
dma1788drivers/cdrom/sjcd.cswitch (dma) {
dma1798drivers/cdrom/sjcd.cprintk( "Dma %d not supported by cdrom interface on ISP16.\n", dma );
dma568drivers/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,
dma1045drivers/net/lance.cif (dev->dma != 4)
dma1046drivers/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;
dma223drivers/net/skeleton.cif (dev->dma == 0) {
dma224drivers/net/skeleton.cif (request_dma(dev->dma, cardname)) {
dma225drivers/net/skeleton.cprintk("DMA %d allocation failed.\n", dev->dma);
dma228drivers/net/skeleton.cprintk(", assigned DMA %d.\n", dev->dma);
dma245drivers/net/skeleton.cdev->dma = i;
dma252drivers/net/skeleton.cif (request_dma(dev->dma, cardname)) {
dma253drivers/net/skeleton.cprintk("probed DMA %d allocation failed.\n", dev->dma);
dma304drivers/net/skeleton.cif (request_dma(dev->dma, cardname)) {
dma476drivers/net/skeleton.cdisable_dma(dev->dma);
dma482drivers/net/skeleton.cfree_dma(dev->dma);
dma548drivers/net/skeleton.cstatic int dma = 0;
dma562drivers/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) ?
dma1173drivers/scsi/53c7,8xx.cu32 base, int io_port, int irq, int dma, int pci_valid, 
dma1201drivers/scsi/53c7,8xx.cif (dma == DMA_NONE)
dma1204drivers/scsi/53c7,8xx.cprintk(", dma %d\n", dma);
dma1317drivers/scsi/53c7,8xx.cinstance->dma_channel = dma;
dma1555drivers/scsi/53c7,8xx.coverrides[current_override].data.normal.dma,
dma571drivers/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
dma80drivers/scsi/g_NCR5380.cint dma;
dma108drivers/scsi/g_NCR5380.coverrides[commandline_current].dma = ints[3];
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);
dma1664drivers/sound/ad1848.cif (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3)
dma1666drivers/sound/ad1848.cprintk ("MSS: Bad DMA %d\n", hw_config->dma);
dma1674drivers/sound/ad1848.cif (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80)
dma1720drivers/sound/ad1848.coutb (bits | dma_bits[hw_config->dma], config_port);  /* Write IRQ+DMA setup */
dma1724drivers/sound/ad1848.chw_config->dma,
dma1725drivers/sound/ad1848.chw_config->dma, 0, hw_config->osp);
dma1735drivers/sound/ad1848.chw_config->dma,
dma1736drivers/sound/ad1848.chw_config->dma, 0);
dma1756drivers/sound/ad1848.chw_config->dma,
dma1766drivers/sound/ad1848.chw_config->dma,
dma305drivers/sound/aedsp16.cstatic int      dma = DMA;  /* dma for DSP I/O                      */
dma566drivers/sound/aedsp16.cif (orDMA[gc].val == dma)
dma696drivers/sound/aedsp16.cdma = hw_config->dma;
dma764drivers/sound/aedsp16.cdma = hw_config->dma;
dma79drivers/sound/cs4232.cint             dma1 = hw_config->dma, dma2 = hw_config->dma2;
dma173drivers/sound/cs4232.cint             dma1 = hw_config->dma, dma2 = hw_config->dma2;
dma193drivers/sound/cs4232.chw_config2.dma = -1;
dma219drivers/sound/cs4232.cint             dma1 = hw_config->dma, dma2 = hw_config->dma2;
dma238drivers/sound/cs4232.chw_config2.dma = -1;
dma99drivers/sound/dev_table.cif (snd_installed_cards[i].config.dma >= 0)
dma101drivers/sound/dev_table.csnd_installed_cards[i].config.dma);
dma212drivers/sound/dev_table.csnd_installed_cards[sel].config.dma = hw_config->dma;
dma264drivers/sound/dev_table.csnd_installed_cards[i].config.dma = hw_config->dma;
dma289drivers/sound/dev_table.csnd_installed_cards[i].config.dma);
dma352drivers/sound/dev_table.cint             card_type, ioaddr, irq, dma, ptr, j;
dma369drivers/sound/dev_table.cdma = (val & 0x0000000f);
dma386drivers/sound/dev_table.csnd_installed_cards[ptr].config.dma = dma;
dma493drivers/sound/dev_table.hvoid sound_chconf(int card_type, int ioaddr, int irq, int dma);
dma62drivers/sound/gus_card.cif (sound_alloc_dma (hw_config->dma, "GUS"))
dma64drivers/sound/gus_card.cif (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma)
dma91drivers/sound/gus_card.cif (sound_alloc_dma (hw_config->dma, "GUS"))
dma93drivers/sound/gus_card.cif (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma)
dma155drivers/sound/gus_card.csound_free_dma (hw_config->dma);
dma157drivers/sound/gus_card.cif (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma)
dma232drivers/sound/gus_card.chw_config->dma,
dma233drivers/sound/gus_card.chw_config->dma, 0,
dma244drivers/sound/gus_card.chw_config->dma,
dma245drivers/sound/gus_card.chw_config->dma, 0);
dma2989drivers/sound/gus_wave.cint             irq = hw_config->irq, dma = hw_config->dma, dma2 = hw_config->dma2;
dma2997drivers/sound/gus_wave.cif (dma < 0 || dma > 7)
dma2999drivers/sound/gus_wave.cprintk ("ERROR! Invalid DMA#%d. GUS Disabled", dma);
dma3004drivers/sound/gus_wave.cgus_dma = dma;
dma3008drivers/sound/gus_wave.cgus_dma2 = dma;
dma3129drivers/sound/gus_wave.caudio_devs[gus_devnum]->dmachan1 = dma;
dma3132drivers/sound/gus_wave.cif (dma2 != dma && dma2 != -1)
dma355drivers/sound/mad16.cif (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3)
dma357drivers/sound/mad16.cprintk ("MSS: Bad DMA %d\n", hw_config->dma);
dma365drivers/sound/mad16.cif (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80)
dma396drivers/sound/mad16.cint             ad_flags = 0, dma = hw_config->dma, dma2 = hw_config->dma2;
dma420drivers/sound/mad16.cif (ad_flags & AD_F_CS4231 && dma2 != -1 && dma2 != dma)
dma422drivers/sound/mad16.cif ((dma == 0 && dma2 == 1) ||
dma423drivers/sound/mad16.c(dma == 1 && dma2 == 0) ||
dma424drivers/sound/mad16.c(dma == 3 && dma2 == 0))
dma431drivers/sound/mad16.cdma2 = dma;
dma435drivers/sound/mad16.cdma2 = dma;
dma437drivers/sound/mad16.coutb (bits | dma_bits[dma] | dma2_bit, config_port);  /* Write IRQ+DMA setup */
dma441drivers/sound/mad16.cdma,
dma591drivers/sound/mad16.chw_config->dma,
dma205drivers/sound/pas2_card.cif (hw_config->dma < 0 || hw_config->dma > 7)
dma207drivers/sound/pas2_card.cprintk ("PAS2: Invalid DMA selection %d", hw_config->dma);
dma212drivers/sound/pas2_card.cpas_write (I_C_2_PCM_DMA_translate[hw_config->dma], IO_CONFIGURATION_2);
dma213drivers/sound/pas2_card.cif (!I_C_2_PCM_DMA_translate[hw_config->dma])
dma215drivers/sound/pas2_card.cprintk ("PAS2: Invalid DMA selection %d", hw_config->dma);
dma220drivers/sound/pas2_card.cif (sound_alloc_dma (hw_config->dma, "PAS16"))
dma287drivers/sound/pas2_card.cif (!E_C_SB_DMA_translate[sb_config->dma])
dma289drivers/sound/pas2_card.csb_config->dma);
dma295drivers/sound/pas2_card.cirq_dma = E_C_SB_DMA_translate[sb_config->dma] |
dma412drivers/sound/pas2_card.csound_free_dma (hw_config->dma);
dma404drivers/sound/pas2_pcm.caudio_devs[my_devnum]->dmachan1 = hw_config->dma;
dma79drivers/sound/pss.cint             dma;
dma95drivers/sound/pss.cint             irq, dma;
dma99drivers/sound/pss.cdma = devc->dma = hw_config->dma;
dma116drivers/sound/pss.cif (dma != 5 && dma != 6 && dma != 7)
dma169drivers/sound/pss.cset_dma (pss_config * devc, int dev, int dma)
dma179drivers/sound/pss.cif (dma < 0 || dma > 7)
dma184drivers/sound/pss.cif ((bits = dma_bits[dma]) == 0 && dma != 4)
dma186drivers/sound/pss.cprintk ("PSS: Invalid DMA %d\n", dma);
dma335drivers/sound/pss.cdevc->dma = hw_config->dma;
dma353drivers/sound/pss.cif (sound_alloc_dma (hw_config->dma, "PSS"))
dma365drivers/sound/pss.cif (!set_dma (devc, CONF_PSS, devc->dma))
dma739drivers/sound/pss.cif (!set_dma (devc, CONF_WSS, hw_config->dma))
dma544drivers/sound/sb16_dsp.cif (hw_config->dma < 4)
dma545drivers/sound/sb16_dsp.cif (hw_config->dma != sb_config->dma)
dma548drivers/sound/sb16_dsp.csb_config->dma, hw_config->dma);
dma552drivers/sound/sb16_dsp.cdma16 = hw_config->dma;
dma553drivers/sound/sb16_dsp.cdma8 = sb_config->dma;
dma555drivers/sound/sb16_dsp.csb_setmixer (DMA_NR, (1 << hw_config->dma) | (1 << sb_config->dma));
dma557drivers/sound/sb16_dsp.cDEB (printk ("SoundBlaster 16: IRQ %d DMA %d OK\n", sb_config->irq, hw_config->dma));
dma1072drivers/sound/sb_dsp.cdma8 = hw_config->dma;
dma1252drivers/sound/sb_dsp.cdma8 = audio_devs[my_dev]->dmachan1 = hw_config->dma;
dma1254drivers/sound/sb_dsp.cif (sound_alloc_dma (hw_config->dma, "soundblaster"))
dma148drivers/sound/sound_config.hint dma;
dma112drivers/sound/sound_pnp.chw_config.dma = -1;
dma130drivers/sound/sound_pnp.chw_config.dma = dma1;
dma184drivers/sound/sound_switch.cif (snd_installed_cards[i].config.dma != -1)
dma188drivers/sound/sound_switch.cif (!put_status_int (snd_installed_cards[i].config.dma, 10))
dma91drivers/sound/sscape.cint             base, irq, dma;
dma386drivers/sound/sscape.ctemp = devc->dma << 4;  /* Setup DMA channel select bits */
dma387drivers/sound/sscape.cif (devc->dma <= 3)
dma538drivers/sound/sscape.cclear_dma_ff (devc->dma);
dma539drivers/sound/sscape.cif ((resid = get_dma_residue (devc->dma)) == 0)
dma1010drivers/sound/sscape.caudio_devs[my_dev]->dmachan1 = hw_config->dma;
dma1038drivers/sound/sscape.cdevc->dma = hw_config->dma;
dma1105drivers/sound/sscape.cif (sound_alloc_dma (hw_config->dma, "soundscape"))
dma1182drivers/sound/sscape.csscape_write (devc, GA_CDCFG_REG, 0x89 | (hw_config->dma << 4) |
dma1190drivers/sound/sscape.chw_config->dma,
dma1191drivers/sound/sscape.chw_config->dma,
dma1220drivers/sound/sscape.csound_free_dma (hw_config->dma);
dma1228drivers/sound/sscape.chw_config->dma,
dma1229drivers/sound/sscape.chw_config->dma,
dma178drivers/sound/trix.cif (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3)
dma180drivers/sound/trix.cprintk ("AudioTriX: Bad WSS DMA %d\n", hw_config->dma);
dma195drivers/sound/trix.cif (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80)
dma221drivers/sound/trix.cint             dma1 = hw_config->dma, dma2 = hw_config->dma2;
dma307drivers/sound/trix.ctmp = hw_config->dma;
dma314drivers/sound/trix.cif (hw_config->dma == 3)
dma427drivers/sound/trix.cdma2 = hw_config->dma;
dma434drivers/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    */
dma1247net/core/dev.cifr.ifr_map.dma=dev->dma;