taglinefilesource code
dma129drivers/cdrom/optcd.cstatic short isp16_config( int base, u_char drive_type, int irq, int dma );
dma1596drivers/cdrom/optcd.cisp16_config( int base, u_char drive_type, int irq, int dma )
dma1603drivers/cdrom/optcd.cif ( (drive_type == ISP16_MITSUMI) && (dma != 0) )
dma1633drivers/cdrom/optcd.cswitch (dma) {
dma1643drivers/cdrom/optcd.cprintk( "Dma %d not supported by cdrom interface on ISP16.\n", dma );
dma130drivers/cdrom/sjcd.cstatic short isp16_cdi_config( int base, u_char drive_type, int irq, int dma );
dma1760drivers/cdrom/sjcd.cisp16_cdi_config( int base, u_char drive_type, int irq, int dma )
dma1767drivers/cdrom/sjcd.cif ( (drive_type == ISP16_MITSUMI) && (dma != 0) )
dma1797drivers/cdrom/sjcd.cswitch (dma) {
dma1807drivers/cdrom/sjcd.cprintk( "Dma %d not supported by cdrom interface on ISP16.\n", dma );
dma571drivers/net/ewrk3.cdev->dma = 0;
dma202drivers/net/lance.cint dma;
dma437drivers/net/lance.cdev->dma = 4;      /* Native bus-master, no DMA channel needed. */
dma443drivers/net/lance.cdev->dma = dma_tbl[(port_val >> 4) & 3];
dma445drivers/net/lance.cprintk(" HP Vectra IRQ %d DMA %d.\n", dev->irq, dev->dma);
dma450drivers/net/lance.cdev->dma = dma_tbl[(reset_val >> 2) & 3];
dma452drivers/net/lance.cprintk(" HP J2405A IRQ %d DMA %d.\n", dev->irq, dev->dma);
dma457drivers/net/lance.cdev->dma = bus_info & 0x07;
dma462drivers/net/lance.cdev->dma = dev->mem_start & 0x07;
dma465drivers/net/lance.cif (dev->dma == 0) {
dma493drivers/net/lance.cdev->dma = 4;
dma496drivers/net/lance.cif (dev->dma == 4) {
dma498drivers/net/lance.c} else if (dev->dma) {
dma499drivers/net/lance.cif (request_dma(dev->dma, chipname)) {
dma500drivers/net/lance.cprintk("DMA %d allocation failed.\n", dev->dma);
dma503drivers/net/lance.cprintk(", assigned DMA %d.\n", dev->dma);
dma507drivers/net/lance.cint dma = dmas[i];
dma512drivers/net/lance.cif (test_bit(dma, &dma_channels))
dma515drivers/net/lance.cif (request_dma(dma, chipname))
dma517drivers/net/lance.cset_dma_mode(dma, DMA_MODE_CASCADE);
dma518drivers/net/lance.cenable_dma(dma);
dma526drivers/net/lance.cdev->dma = dma;
dma527drivers/net/lance.cprintk(", DMA %d.\n", dev->dma);
dma530drivers/net/lance.cdisable_dma(dma);
dma531drivers/net/lance.cfree_dma(dma);
dma582drivers/net/lance.cif (dev->dma != 4) {
dma583drivers/net/lance.cenable_dma(dev->dma);
dma584drivers/net/lance.cset_dma_mode(dev->dma, DMA_MODE_CASCADE);
dma599drivers/net/lance.cdev->name, dev->irq, dev->dma, (int) lp->tx_ring, (int) lp->rx_ring,
dma1047drivers/net/lance.cif (dev->dma != 4)
dma1048drivers/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;
dma82drivers/sound/dev_table.csnd_installed_cards[i].config.dma);
dma146drivers/sound/dev_table.csnd_installed_cards[sel].config.dma = hw_config->dma;
dma185drivers/sound/dev_table.csnd_installed_cards[i].config.dma = hw_config->dma;
dma204drivers/sound/dev_table.csnd_installed_cards[i].config.dma);
dma267drivers/sound/dev_table.cint             card_type, ioaddr, irq, dma, ptr, j;
dma284drivers/sound/dev_table.cdma = (val & 0x0000000f);
dma301drivers/sound/dev_table.csnd_installed_cards[ptr].config.dma = dma;
dma482drivers/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);
dma2994drivers/sound/gus_wave.cint             irq = hw_config->irq, dma = hw_config->dma, dma2 = hw_config->dma2;
dma3002drivers/sound/gus_wave.cif (dma < 0 || dma > 7)
dma3004drivers/sound/gus_wave.cprintk ("ERROR! Invalid DMA#%d. GUS Disabled", dma);
dma3009drivers/sound/gus_wave.cgus_dma = dma;
dma3013drivers/sound/gus_wave.cgus_dma2 = dma;
dma3134drivers/sound/gus_wave.caudio_devs[gus_devnum]->dmachan1 = dma;
dma3137drivers/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))
dma739drivers/sound/pss.cif (!set_dma (devc, CONF_WSS, hw_config->dma))
dma537drivers/sound/sb16_dsp.cif (hw_config->dma < 4)
dma538drivers/sound/sb16_dsp.cif (hw_config->dma != sb_config->dma)
dma541drivers/sound/sb16_dsp.csb_config->dma, hw_config->dma);
dma545drivers/sound/sb16_dsp.cdma16 = hw_config->dma;
dma546drivers/sound/sb16_dsp.cdma8 = sb_config->dma;
dma548drivers/sound/sb16_dsp.csb_setmixer (DMA_NR, (1 << hw_config->dma) | (1 << sb_config->dma));
dma550drivers/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;
dma1237drivers/sound/sb_dsp.cdma8 = audio_devs[my_dev]->dmachan1 = hw_config->dma;
dma1239drivers/sound/sb_dsp.cif (sound_alloc_dma (hw_config->dma, "soundblaster"))
dma147drivers/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)
dma1022drivers/sound/sscape.caudio_devs[my_dev]->dmachan1 = hw_config->dma;
dma1050drivers/sound/sscape.cdevc->dma = hw_config->dma;
dma1117drivers/sound/sscape.cif (sound_alloc_dma (hw_config->dma, "soundscape"))
dma1194drivers/sound/sscape.csscape_write (devc, GA_CDCFG_REG, 0x89 | (hw_config->dma << 4) |
dma1202drivers/sound/sscape.chw_config->dma,
dma1203drivers/sound/sscape.chw_config->dma,
dma1232drivers/sound/sscape.csound_free_dma (hw_config->dma);
dma1240drivers/sound/sscape.chw_config->dma,
dma1241drivers/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,
dma81include/linux/if.hunsigned char dma;
dma99include/linux/netdevice.hunsigned char      dma;      /* DMA channel    */
dma1186net/core/dev.cifr.ifr_map.dma=dev->dma;