taglinefilesource code
dma129drivers/block/optcd.cstatic short isp16_config( int base, u_char drive_type, int irq, int dma );
dma1596drivers/block/optcd.cisp16_config( int base, u_char drive_type, int irq, int dma )
dma1603drivers/block/optcd.cif ( (drive_type == ISP16_MITSUMI) && (dma != 0) )
dma1633drivers/block/optcd.cswitch (dma) {
dma1643drivers/block/optcd.cprintk( "Dma %d not supported by cdrom interface on ISP16.\n", dma );
dma118drivers/block/sjcd.cstatic short isp16_config( int base, u_char drive_type, int irq, int dma );
dma1545drivers/block/sjcd.cisp16_config( int base, u_char drive_type, int irq, int dma )
dma1552drivers/block/sjcd.cif ( (drive_type == ISP16_MITSUMI) && (dma != 0) )
dma1582drivers/block/sjcd.cswitch (dma) {
dma1592drivers/block/sjcd.cprintk( "Dma %d not supported by cdrom interface on ISP16.\n", dma );
dma571drivers/net/ewrk3.cdev->dma = 0;
dma202drivers/net/lance.cint dma;
dma436drivers/net/lance.cdev->dma = 4;      /* Native bus-master, no DMA channel needed. */
dma442drivers/net/lance.cdev->dma = dma_tbl[(port_val >> 4) & 3];
dma444drivers/net/lance.cprintk(" HP Vectra IRQ %d DMA %d.\n", dev->irq, dev->dma);
dma449drivers/net/lance.cdev->dma = dma_tbl[(reset_val >> 2) & 3];
dma451drivers/net/lance.cprintk(" HP J2405A IRQ %d DMA %d.\n", dev->irq, dev->dma);
dma456drivers/net/lance.cdev->dma = bus_info & 0x07;
dma461drivers/net/lance.cdev->dma = dev->mem_start & 0x07;
dma464drivers/net/lance.cif (dev->dma == 0) {
dma492drivers/net/lance.cdev->dma = 4;
dma495drivers/net/lance.cif (dev->dma == 4) {
dma497drivers/net/lance.c} else if (dev->dma) {
dma498drivers/net/lance.cif (request_dma(dev->dma, chipname)) {
dma499drivers/net/lance.cprintk("DMA %d allocation failed.\n", dev->dma);
dma502drivers/net/lance.cprintk(", assigned DMA %d.\n", dev->dma);
dma506drivers/net/lance.cint dma = dmas[i];
dma511drivers/net/lance.cif (test_bit(dma, &dma_channels))
dma514drivers/net/lance.cif (request_dma(dma, chipname))
dma516drivers/net/lance.cset_dma_mode(dma, DMA_MODE_CASCADE);
dma517drivers/net/lance.cenable_dma(dma);
dma525drivers/net/lance.cdev->dma = dma;
dma526drivers/net/lance.cprintk(", DMA %d.\n", dev->dma);
dma529drivers/net/lance.cdisable_dma(dma);
dma530drivers/net/lance.cfree_dma(dma);
dma581drivers/net/lance.cif (dev->dma != 4) {
dma582drivers/net/lance.cenable_dma(dev->dma);
dma583drivers/net/lance.cset_dma_mode(dev->dma, DMA_MODE_CASCADE);
dma598drivers/net/lance.cdev->name, dev->irq, dev->dma, (int) lp->tx_ring, (int) lp->rx_ring,
dma1046drivers/net/lance.cif (dev->dma != 4)
dma1047drivers/net/lance.cdisable_dma(dev->dma);
dma228drivers/net/net_init.cif (map->dma != (u_char)(-1))
dma229drivers/net/net_init.cdev->dma = map->dma;
dma221drivers/net/ni65.cif(dev->dma == 0)  
dma222drivers/net/ni65.cdev->dma = dmatab[inw(PORT+L_CONFIG)&3];
dma225drivers/net/ni65.c"network card", dev->base_addr, dev->irq,dev->dma);
dma234drivers/net/ni65.cif(request_dma(dev->dma, "ni65") != 0)
dma236drivers/net/ni65.cprintk("%s: Can't request dma-channel %d\n",dev->name,(int) dev->dma);
dma318drivers/net/ni65.cdisable_dma(dev->dma); /* I've never worked with dma, but we do it like the packetdriver */
dma319drivers/net/ni65.cset_dma_mode(dev->dma,DMA_MODE_CASCADE);
dma320drivers/net/ni65.cenable_dma(dev->dma); 
dma326drivers/net/ni65.cdisable_dma(dev->dma);
dma327drivers/net/ni65.cfree_dma(dev->dma);
dma386drivers/net/ni65.cdisable_dma(dev->dma);
dma387drivers/net/ni65.cfree_dma(dev->dma);
dma1250drivers/net/pi2.cpi0a.dma = PI_DMA;
dma1364drivers/net/pi2.clp->dmachan = dev->dma;
dma1394drivers/net/pi2.cdev->irq, dev->dma);
dma1462drivers/net/pi2.cif (request_dma(dev->dma,"pi2")) {
dma1639drivers/net/pi2.cdev->dma = lp->dmachan = rq.dmachan;
dma233drivers/net/skeleton.cif (dev->dma == 0) {
dma234drivers/net/skeleton.cif (request_dma(dev->dma, cardname)) {
dma235drivers/net/skeleton.cprintk("DMA %d allocation failed.\n", dev->dma);
dma238drivers/net/skeleton.cprintk(", assigned DMA %d.\n", dev->dma);
dma255drivers/net/skeleton.cdev->dma = i;
dma262drivers/net/skeleton.cif (request_dma(dev->dma, cardname)) {
dma263drivers/net/skeleton.cprintk("probed DMA %d allocation failed.\n", dev->dma);
dma314drivers/net/skeleton.cif (request_dma(dev->dma, cardname)) {
dma486drivers/net/skeleton.cdisable_dma(dev->dma);
dma492drivers/net/skeleton.cfree_dma(dev->dma);
dma548drivers/net/skeleton.cint dma = 0;
dma562drivers/net/skeleton.cthis_device.dma       = dma;
dma308drivers/scsi/53c7,8xx.cint dma;  /* DMA channel     - often none */
dma356drivers/scsi/53c7,8xx.coverrides[commandline_current].data.normal.dma = (ints[0] >= 4) ?
dma683drivers/scsi/53c7,8xx.cu32 base, int io_port, int irq, int dma, int pci_valid, 
dma711drivers/scsi/53c7,8xx.cif (dma == DMA_NONE)
dma714drivers/scsi/53c7,8xx.cprintk(", dma %d\n", dma);
dma823drivers/scsi/53c7,8xx.cinstance->dma_channel = dma;
dma1013drivers/scsi/53c7,8xx.coverrides[current_override].data.normal.dma,
dma574drivers/scsi/NCR53c406a.cshpnt->dma = dma_chan;
dma292drivers/scsi/aha152x.hunsigned dma:1;    /* Transfer mode: 0=PIO; 1=DMA */
dma305drivers/scsi/aha152x.h#define cf_dma    fields.dma
dma838drivers/scsi/buslogic.cunsigned char *dma, unsigned char *id,
dma860drivers/scsi/buslogic.c*dma = inquiry_result[0];
dma911drivers/scsi/buslogic.cswitch (*dma) {
dma913drivers/scsi/buslogic.c*dma = 0;
dma916drivers/scsi/buslogic.c*dma = 5;
dma919drivers/scsi/buslogic.c*dma = 6;
dma922drivers/scsi/buslogic.c*dma = 7;
dma930drivers/scsi/buslogic.c*dma = 0;
dma946drivers/scsi/buslogic.cunsigned char *irq, unsigned char *dma,
dma1015drivers/scsi/buslogic.cif (getconfig(base, irq, dma, id, bus_type, max_sg, bios))
dma1111drivers/scsi/buslogic.cunsigned char dma;
dma1141drivers/scsi/buslogic.cif (buslogic_query(base, &bios_translation, &irq, &dma, &id,
dma1216drivers/scsi/buslogic.cif (dma != 0)
dma1217drivers/scsi/buslogic.cprintk(", DMA %u", dma);
dma1244drivers/scsi/buslogic.cif (dma) {
dma1245drivers/scsi/buslogic.cif (request_dma(dma, "buslogic")) {
dma1256drivers/scsi/buslogic.cset_dma_mode(dma, DMA_MODE_CASCADE);
dma1257drivers/scsi/buslogic.cenable_dma(dma);
dma1273drivers/scsi/buslogic.cshpnt->dma_channel = 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);
dma1661drivers/sound/ad1848.cif (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3)
dma1663drivers/sound/ad1848.cprintk ("MSS: Bad DMA %d\n", hw_config->dma);
dma1671drivers/sound/ad1848.cif (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80)
dma1717drivers/sound/ad1848.coutb (bits | dma_bits[hw_config->dma], config_port);  /* Write IRQ+DMA setup */
dma1721drivers/sound/ad1848.chw_config->dma,
dma1722drivers/sound/ad1848.chw_config->dma, 0, hw_config->osp);
dma1732drivers/sound/ad1848.chw_config->dma,
dma1733drivers/sound/ad1848.chw_config->dma, 0);
dma1753drivers/sound/ad1848.chw_config->dma,
dma1763drivers/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;
dma218drivers/sound/cs4232.cint             dma1 = hw_config->dma, dma2 = hw_config->dma2;
dma237drivers/sound/cs4232.chw_config2.dma = -1;
dma85drivers/sound/dev_table.csnd_installed_cards[i].config.dma);
dma150drivers/sound/dev_table.csnd_installed_cards[sel].config.dma = hw_config->dma;
dma189drivers/sound/dev_table.csnd_installed_cards[i].config.dma = hw_config->dma;
dma208drivers/sound/dev_table.csnd_installed_cards[i].config.dma);
dma271drivers/sound/dev_table.cint             card_type, ioaddr, irq, dma, ptr, j;
dma288drivers/sound/dev_table.cdma = (val & 0x0000000f);
dma305drivers/sound/dev_table.csnd_installed_cards[ptr].config.dma = dma;
dma486drivers/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)
dma153drivers/sound/gus_card.csound_free_dma (hw_config->dma);
dma155drivers/sound/gus_card.cif (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma)
dma230drivers/sound/gus_card.chw_config->dma,
dma231drivers/sound/gus_card.chw_config->dma, 0,
dma242drivers/sound/gus_card.chw_config->dma,
dma243drivers/sound/gus_card.chw_config->dma, 0);
dma2990drivers/sound/gus_wave.cint             irq = hw_config->irq, dma = hw_config->dma, dma2 = hw_config->dma2;
dma2998drivers/sound/gus_wave.cif (dma < 0 || dma > 7)
dma3000drivers/sound/gus_wave.cprintk ("ERROR! Invalid DMA#%d. GUS Disabled", dma);
dma3005drivers/sound/gus_wave.cgus_dma = dma;
dma3009drivers/sound/gus_wave.cgus_dma2 = dma;
dma3135drivers/sound/gus_wave.caudio_devs[gus_devnum]->dmachan1 = dma;
dma3138drivers/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] |
dma415drivers/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))
dma745drivers/sound/pss.cif (!set_dma (devc, CONF_WSS, hw_config->dma))
dma530drivers/sound/sb16_dsp.cif (hw_config->dma < 4)
dma531drivers/sound/sb16_dsp.cif (hw_config->dma != sb_config->dma)
dma534drivers/sound/sb16_dsp.csb_config->dma, hw_config->dma);
dma538drivers/sound/sb16_dsp.cdma16 = hw_config->dma;
dma539drivers/sound/sb16_dsp.cdma8 = sb_config->dma;
dma541drivers/sound/sb16_dsp.csb_setmixer (DMA_NR, (1 << hw_config->dma) | (1 << sb_config->dma));
dma543drivers/sound/sb16_dsp.cDEB (printk ("SoundBlaster 16: IRQ %d DMA %d OK\n", sb_config->irq, hw_config->dma));
dma1051drivers/sound/sb_dsp.cdma8 = hw_config->dma;
dma1234drivers/sound/sb_dsp.cdma8 = audio_devs[my_dev]->dmachan1 = hw_config->dma;
dma1236drivers/sound/sb_dsp.cif (sound_alloc_dma (hw_config->dma, "soundblaster"))
dma168drivers/sound/sound_config.hint dma;
dma112drivers/sound/sound_pnp.chw_config.dma = -1;
dma129drivers/sound/sound_pnp.chw_config.dma = dma1;
dma182drivers/sound/sound_switch.cif (snd_installed_cards[i].config.dma != -1)
dma186drivers/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)
dma546drivers/sound/sscape.cclear_dma_ff (devc->dma);
dma547drivers/sound/sscape.cif ((resid = get_dma_residue (devc->dma)) == 0)
dma1028drivers/sound/sscape.caudio_devs[my_dev]->dmachan1 = hw_config->dma;
dma1056drivers/sound/sscape.cdevc->dma = hw_config->dma;
dma1123drivers/sound/sscape.cif (sound_alloc_dma (hw_config->dma, "soundscape"))
dma1200drivers/sound/sscape.csscape_write (devc, GA_CDCFG_REG, 0x89 | (hw_config->dma << 4) |
dma1208drivers/sound/sscape.chw_config->dma,
dma1209drivers/sound/sscape.chw_config->dma,
dma1238drivers/sound/sscape.csound_free_dma (hw_config->dma);
dma1246drivers/sound/sscape.chw_config->dma,
dma1247drivers/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)
dma412drivers/sound/trix.cdma2 = hw_config->dma;
dma419drivers/sound/trix.chw_config->dma,
dma81include/linux/if.hunsigned char dma;
dma99include/linux/netdevice.hunsigned char      dma;      /* DMA channel    */
dma1186net/core/dev.cifr.ifr_map.dma=dev->dma;