tag | line | file | source code |
dma | 429 | drivers/block/ide-tape.c | unsigned dma :1; /* Using DMA of PIO */ |
dma | 118 | drivers/cdrom/optcd.c | static short isp16_config( int base, u_char drive_type, int irq, int dma ); |
dma | 1586 | drivers/cdrom/optcd.c | isp16_config( int base, u_char drive_type, int irq, int dma ) |
dma | 1593 | drivers/cdrom/optcd.c | if ( (drive_type == ISP16_MITSUMI) && (dma != 0) ) |
dma | 1623 | drivers/cdrom/optcd.c | switch (dma) { |
dma | 1633 | drivers/cdrom/optcd.c | printk( "Dma %d not supported by cdrom interface on ISP16.\n", dma ); |
dma | 121 | drivers/cdrom/sjcd.c | static short isp16_cdi_config( int base, u_char drive_type, int irq, int dma ); |
dma | 1751 | drivers/cdrom/sjcd.c | isp16_cdi_config( int base, u_char drive_type, int irq, int dma ) |
dma | 1758 | drivers/cdrom/sjcd.c | if ( (drive_type == ISP16_MITSUMI) && (dma != 0) ) |
dma | 1788 | drivers/cdrom/sjcd.c | switch (dma) { |
dma | 1798 | drivers/cdrom/sjcd.c | printk( "Dma %d not supported by cdrom interface on ISP16.\n", dma ); |
dma | 568 | drivers/net/ewrk3.c | dev->dma = 0; |
dma | 202 | drivers/net/lance.c | int dma; |
dma | 435 | drivers/net/lance.c | dev->dma = 4; /* Native bus-master, no DMA channel needed. */ |
dma | 441 | drivers/net/lance.c | dev->dma = dma_tbl[(port_val >> 4) & 3]; |
dma | 443 | drivers/net/lance.c | printk(" HP Vectra IRQ %d DMA %d.\n", dev->irq, dev->dma); |
dma | 448 | drivers/net/lance.c | dev->dma = dma_tbl[(reset_val >> 2) & 3]; |
dma | 450 | drivers/net/lance.c | printk(" HP J2405A IRQ %d DMA %d.\n", dev->irq, dev->dma); |
dma | 455 | drivers/net/lance.c | dev->dma = bus_info & 0x07; |
dma | 460 | drivers/net/lance.c | dev->dma = dev->mem_start & 0x07; |
dma | 463 | drivers/net/lance.c | if (dev->dma == 0) { |
dma | 491 | drivers/net/lance.c | dev->dma = 4; |
dma | 494 | drivers/net/lance.c | if (dev->dma == 4) { |
dma | 496 | drivers/net/lance.c | } else if (dev->dma) { |
dma | 497 | drivers/net/lance.c | if (request_dma(dev->dma, chipname)) { |
dma | 498 | drivers/net/lance.c | printk("DMA %d allocation failed.\n", dev->dma); |
dma | 501 | drivers/net/lance.c | printk(", assigned DMA %d.\n", dev->dma); |
dma | 505 | drivers/net/lance.c | int dma = dmas[i]; |
dma | 510 | drivers/net/lance.c | if (test_bit(dma, &dma_channels)) |
dma | 513 | drivers/net/lance.c | if (request_dma(dma, chipname)) |
dma | 515 | drivers/net/lance.c | set_dma_mode(dma, DMA_MODE_CASCADE); |
dma | 516 | drivers/net/lance.c | enable_dma(dma); |
dma | 524 | drivers/net/lance.c | dev->dma = dma; |
dma | 525 | drivers/net/lance.c | printk(", DMA %d.\n", dev->dma); |
dma | 528 | drivers/net/lance.c | disable_dma(dma); |
dma | 529 | drivers/net/lance.c | free_dma(dma); |
dma | 580 | drivers/net/lance.c | if (dev->dma != 4) { |
dma | 581 | drivers/net/lance.c | enable_dma(dev->dma); |
dma | 582 | drivers/net/lance.c | set_dma_mode(dev->dma, DMA_MODE_CASCADE); |
dma | 597 | drivers/net/lance.c | dev->name, dev->irq, dev->dma, (int) lp->tx_ring, (int) lp->rx_ring, |
dma | 1045 | drivers/net/lance.c | if (dev->dma != 4) |
dma | 1046 | drivers/net/lance.c | disable_dma(dev->dma); |
dma | 233 | drivers/net/net_init.c | if (map->dma != (u_char)(-1)) |
dma | 234 | drivers/net/net_init.c | dev->dma = map->dma; |
dma | 223 | drivers/net/ni65.c | if(dev->dma == 0) |
dma | 224 | drivers/net/ni65.c | dev->dma = dmatab[inw(PORT+L_CONFIG)&3]; |
dma | 227 | drivers/net/ni65.c | "network card", dev->base_addr, dev->irq,dev->dma); |
dma | 236 | drivers/net/ni65.c | if(request_dma(dev->dma, "ni65") != 0) |
dma | 238 | drivers/net/ni65.c | printk("%s: Can't request dma-channel %d\n",dev->name,(int) dev->dma); |
dma | 320 | drivers/net/ni65.c | disable_dma(dev->dma); /* I've never worked with dma, but we do it like the packetdriver */ |
dma | 321 | drivers/net/ni65.c | set_dma_mode(dev->dma,DMA_MODE_CASCADE); |
dma | 322 | drivers/net/ni65.c | enable_dma(dev->dma); |
dma | 328 | drivers/net/ni65.c | disable_dma(dev->dma); |
dma | 329 | drivers/net/ni65.c | free_dma(dev->dma); |
dma | 388 | drivers/net/ni65.c | disable_dma(dev->dma); |
dma | 389 | drivers/net/ni65.c | free_dma(dev->dma); |
dma | 1251 | drivers/net/pi2.c | pi0a.dma = PI_DMA; |
dma | 1365 | drivers/net/pi2.c | lp->dmachan = dev->dma; |
dma | 1395 | drivers/net/pi2.c | dev->irq, dev->dma); |
dma | 1463 | drivers/net/pi2.c | if (request_dma(dev->dma,"pi2")) { |
dma | 1640 | drivers/net/pi2.c | dev->dma = lp->dmachan = rq.dmachan; |
dma | 554 | drivers/net/pt.c | pt0a.dma = 0; /* wizzer - no dma yet */ |
dma | 864 | drivers/net/pt.c | printk("PT: Autodetected IRQ %d, assuming DMA %d\n", dev->irq, dev->dma); |
dma | 933 | drivers/net/pt.c | if (request_dma(dev->dma, "pt")) |
dma | 1074 | drivers/net/pt.c | dev->dma = lp->dmachan = rq.dmachan; |
dma | 223 | drivers/net/skeleton.c | if (dev->dma == 0) { |
dma | 224 | drivers/net/skeleton.c | if (request_dma(dev->dma, cardname)) { |
dma | 225 | drivers/net/skeleton.c | printk("DMA %d allocation failed.\n", dev->dma); |
dma | 228 | drivers/net/skeleton.c | printk(", assigned DMA %d.\n", dev->dma); |
dma | 245 | drivers/net/skeleton.c | dev->dma = i; |
dma | 252 | drivers/net/skeleton.c | if (request_dma(dev->dma, cardname)) { |
dma | 253 | drivers/net/skeleton.c | printk("probed DMA %d allocation failed.\n", dev->dma); |
dma | 304 | drivers/net/skeleton.c | if (request_dma(dev->dma, cardname)) { |
dma | 476 | drivers/net/skeleton.c | disable_dma(dev->dma); |
dma | 482 | drivers/net/skeleton.c | free_dma(dev->dma); |
dma | 548 | drivers/net/skeleton.c | static int dma = 0; |
dma | 562 | drivers/net/skeleton.c | this_device.dma = dma; |
dma | 788 | drivers/net/sunlance.c | dev->dma = 0; |
dma | 502 | drivers/scsi/53c7,8xx.c | int dma; /* DMA channel - often none */ |
dma | 588 | drivers/scsi/53c7,8xx.c | overrides[commandline_current].data.normal.dma = (ints[0] >= 4) ? |
dma | 1173 | drivers/scsi/53c7,8xx.c | u32 base, int io_port, int irq, int dma, int pci_valid, |
dma | 1201 | drivers/scsi/53c7,8xx.c | if (dma == DMA_NONE) |
dma | 1204 | drivers/scsi/53c7,8xx.c | printk(", dma %d\n", dma); |
dma | 1317 | drivers/scsi/53c7,8xx.c | instance->dma_channel = dma; |
dma | 1555 | drivers/scsi/53c7,8xx.c | overrides[current_override].data.normal.dma, |
dma | 571 | drivers/scsi/NCR53c406a.c | shpnt->dma = dma_chan; |
dma | 300 | drivers/scsi/aha152x.h | unsigned dma:1; /* Transfer mode: 0=PIO; 1=DMA */ |
dma | 313 | drivers/scsi/aha152x.h | #define cf_dma fields.dma |
dma | 80 | drivers/scsi/g_NCR5380.c | int dma; |
dma | 108 | drivers/scsi/g_NCR5380.c | overrides[commandline_current].dma = ints[3]; |
dma | 173 | drivers/scsi/wd7000.c | int dma; /* This adapter's DMA channel */ |
dma | 198 | drivers/scsi/wd7000.c | int dma; /* DMA channel */ |
dma | 551 | drivers/scsi/wd7000.c | set_dma_mode(host->dma, DMA_MODE_CASCADE); |
dma | 552 | drivers/scsi/wd7000.c | enable_dma(host->dma); |
dma | 1055 | drivers/scsi/wd7000.c | if (request_dma(host->dma,"wd7000")) { |
dma | 1056 | drivers/scsi/wd7000.c | printk("wd7000_init: can't get DMA channel %d.\n", host->dma); |
dma | 1064 | drivers/scsi/wd7000.c | free_dma(host->dma); |
dma | 1155 | drivers/scsi/wd7000.c | host->dma = cfg->dma; |
dma | 1171 | drivers/scsi/wd7000.c | host->iobase, host->irq, host->dma); |
dma | 1664 | drivers/sound/ad1848.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
dma | 1666 | drivers/sound/ad1848.c | printk ("MSS: Bad DMA %d\n", hw_config->dma); |
dma | 1674 | drivers/sound/ad1848.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
dma | 1720 | drivers/sound/ad1848.c | outb (bits | dma_bits[hw_config->dma], config_port); /* Write IRQ+DMA setup */ |
dma | 1724 | drivers/sound/ad1848.c | hw_config->dma, |
dma | 1725 | drivers/sound/ad1848.c | hw_config->dma, 0, hw_config->osp); |
dma | 1735 | drivers/sound/ad1848.c | hw_config->dma, |
dma | 1736 | drivers/sound/ad1848.c | hw_config->dma, 0); |
dma | 1756 | drivers/sound/ad1848.c | hw_config->dma, |
dma | 1766 | drivers/sound/ad1848.c | hw_config->dma, |
dma | 305 | drivers/sound/aedsp16.c | static int dma = DMA; /* dma for DSP I/O */ |
dma | 566 | drivers/sound/aedsp16.c | if (orDMA[gc].val == dma) |
dma | 696 | drivers/sound/aedsp16.c | dma = hw_config->dma; |
dma | 764 | drivers/sound/aedsp16.c | dma = hw_config->dma; |
dma | 79 | drivers/sound/cs4232.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
dma | 173 | drivers/sound/cs4232.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
dma | 193 | drivers/sound/cs4232.c | hw_config2.dma = -1; |
dma | 219 | drivers/sound/cs4232.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
dma | 238 | drivers/sound/cs4232.c | hw_config2.dma = -1; |
dma | 99 | drivers/sound/dev_table.c | if (snd_installed_cards[i].config.dma >= 0) |
dma | 101 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma); |
dma | 212 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.dma = hw_config->dma; |
dma | 264 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma = hw_config->dma; |
dma | 289 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma); |
dma | 352 | drivers/sound/dev_table.c | int card_type, ioaddr, irq, dma, ptr, j; |
dma | 369 | drivers/sound/dev_table.c | dma = (val & 0x0000000f); |
dma | 386 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.dma = dma; |
dma | 493 | drivers/sound/dev_table.h | void sound_chconf(int card_type, int ioaddr, int irq, int dma); |
dma | 62 | drivers/sound/gus_card.c | if (sound_alloc_dma (hw_config->dma, "GUS")) |
dma | 64 | drivers/sound/gus_card.c | if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) |
dma | 91 | drivers/sound/gus_card.c | if (sound_alloc_dma (hw_config->dma, "GUS")) |
dma | 93 | drivers/sound/gus_card.c | if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) |
dma | 155 | drivers/sound/gus_card.c | sound_free_dma (hw_config->dma); |
dma | 157 | drivers/sound/gus_card.c | if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) |
dma | 232 | drivers/sound/gus_card.c | hw_config->dma, |
dma | 233 | drivers/sound/gus_card.c | hw_config->dma, 0, |
dma | 244 | drivers/sound/gus_card.c | hw_config->dma, |
dma | 245 | drivers/sound/gus_card.c | hw_config->dma, 0); |
dma | 2989 | drivers/sound/gus_wave.c | int irq = hw_config->irq, dma = hw_config->dma, dma2 = hw_config->dma2; |
dma | 2997 | drivers/sound/gus_wave.c | if (dma < 0 || dma > 7) |
dma | 2999 | drivers/sound/gus_wave.c | printk ("ERROR! Invalid DMA#%d. GUS Disabled", dma); |
dma | 3004 | drivers/sound/gus_wave.c | gus_dma = dma; |
dma | 3008 | drivers/sound/gus_wave.c | gus_dma2 = dma; |
dma | 3129 | drivers/sound/gus_wave.c | audio_devs[gus_devnum]->dmachan1 = dma; |
dma | 3132 | drivers/sound/gus_wave.c | if (dma2 != dma && dma2 != -1) |
dma | 355 | drivers/sound/mad16.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
dma | 357 | drivers/sound/mad16.c | printk ("MSS: Bad DMA %d\n", hw_config->dma); |
dma | 365 | drivers/sound/mad16.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
dma | 396 | drivers/sound/mad16.c | int ad_flags = 0, dma = hw_config->dma, dma2 = hw_config->dma2; |
dma | 420 | drivers/sound/mad16.c | if (ad_flags & AD_F_CS4231 && dma2 != -1 && dma2 != dma) |
dma | 422 | drivers/sound/mad16.c | if ((dma == 0 && dma2 == 1) || |
dma | 423 | drivers/sound/mad16.c | (dma == 1 && dma2 == 0) || |
dma | 424 | drivers/sound/mad16.c | (dma == 3 && dma2 == 0)) |
dma | 431 | drivers/sound/mad16.c | dma2 = dma; |
dma | 435 | drivers/sound/mad16.c | dma2 = dma; |
dma | 437 | drivers/sound/mad16.c | outb (bits | dma_bits[dma] | dma2_bit, config_port); /* Write IRQ+DMA setup */ |
dma | 441 | drivers/sound/mad16.c | dma, |
dma | 591 | drivers/sound/mad16.c | hw_config->dma, |
dma | 205 | drivers/sound/pas2_card.c | if (hw_config->dma < 0 || hw_config->dma > 7) |
dma | 207 | drivers/sound/pas2_card.c | printk ("PAS2: Invalid DMA selection %d", hw_config->dma); |
dma | 212 | drivers/sound/pas2_card.c | pas_write (I_C_2_PCM_DMA_translate[hw_config->dma], IO_CONFIGURATION_2); |
dma | 213 | drivers/sound/pas2_card.c | if (!I_C_2_PCM_DMA_translate[hw_config->dma]) |
dma | 215 | drivers/sound/pas2_card.c | printk ("PAS2: Invalid DMA selection %d", hw_config->dma); |
dma | 220 | drivers/sound/pas2_card.c | if (sound_alloc_dma (hw_config->dma, "PAS16")) |
dma | 287 | drivers/sound/pas2_card.c | if (!E_C_SB_DMA_translate[sb_config->dma]) |
dma | 289 | drivers/sound/pas2_card.c | sb_config->dma); |
dma | 295 | drivers/sound/pas2_card.c | irq_dma = E_C_SB_DMA_translate[sb_config->dma] | |
dma | 412 | drivers/sound/pas2_card.c | sound_free_dma (hw_config->dma); |
dma | 404 | drivers/sound/pas2_pcm.c | audio_devs[my_devnum]->dmachan1 = hw_config->dma; |
dma | 79 | drivers/sound/pss.c | int dma; |
dma | 95 | drivers/sound/pss.c | int irq, dma; |
dma | 99 | drivers/sound/pss.c | dma = devc->dma = hw_config->dma; |
dma | 116 | drivers/sound/pss.c | if (dma != 5 && dma != 6 && dma != 7) |
dma | 169 | drivers/sound/pss.c | set_dma (pss_config * devc, int dev, int dma) |
dma | 179 | drivers/sound/pss.c | if (dma < 0 || dma > 7) |
dma | 184 | drivers/sound/pss.c | if ((bits = dma_bits[dma]) == 0 && dma != 4) |
dma | 186 | drivers/sound/pss.c | printk ("PSS: Invalid DMA %d\n", dma); |
dma | 335 | drivers/sound/pss.c | devc->dma = hw_config->dma; |
dma | 353 | drivers/sound/pss.c | if (sound_alloc_dma (hw_config->dma, "PSS")) |
dma | 365 | drivers/sound/pss.c | if (!set_dma (devc, CONF_PSS, devc->dma)) |
dma | 739 | drivers/sound/pss.c | if (!set_dma (devc, CONF_WSS, hw_config->dma)) |
dma | 544 | drivers/sound/sb16_dsp.c | if (hw_config->dma < 4) |
dma | 545 | drivers/sound/sb16_dsp.c | if (hw_config->dma != sb_config->dma) |
dma | 548 | drivers/sound/sb16_dsp.c | sb_config->dma, hw_config->dma); |
dma | 552 | drivers/sound/sb16_dsp.c | dma16 = hw_config->dma; |
dma | 553 | drivers/sound/sb16_dsp.c | dma8 = sb_config->dma; |
dma | 555 | drivers/sound/sb16_dsp.c | sb_setmixer (DMA_NR, (1 << hw_config->dma) | (1 << sb_config->dma)); |
dma | 557 | drivers/sound/sb16_dsp.c | DEB (printk ("SoundBlaster 16: IRQ %d DMA %d OK\n", sb_config->irq, hw_config->dma)); |
dma | 1072 | drivers/sound/sb_dsp.c | dma8 = hw_config->dma; |
dma | 1252 | drivers/sound/sb_dsp.c | dma8 = audio_devs[my_dev]->dmachan1 = hw_config->dma; |
dma | 1254 | drivers/sound/sb_dsp.c | if (sound_alloc_dma (hw_config->dma, "soundblaster")) |
dma | 148 | drivers/sound/sound_config.h | int dma; |
dma | 112 | drivers/sound/sound_pnp.c | hw_config.dma = -1; |
dma | 130 | drivers/sound/sound_pnp.c | hw_config.dma = dma1; |
dma | 184 | drivers/sound/sound_switch.c | if (snd_installed_cards[i].config.dma != -1) |
dma | 188 | drivers/sound/sound_switch.c | if (!put_status_int (snd_installed_cards[i].config.dma, 10)) |
dma | 91 | drivers/sound/sscape.c | int base, irq, dma; |
dma | 386 | drivers/sound/sscape.c | temp = devc->dma << 4; /* Setup DMA channel select bits */ |
dma | 387 | drivers/sound/sscape.c | if (devc->dma <= 3) |
dma | 538 | drivers/sound/sscape.c | clear_dma_ff (devc->dma); |
dma | 539 | drivers/sound/sscape.c | if ((resid = get_dma_residue (devc->dma)) == 0) |
dma | 1010 | drivers/sound/sscape.c | audio_devs[my_dev]->dmachan1 = hw_config->dma; |
dma | 1038 | drivers/sound/sscape.c | devc->dma = hw_config->dma; |
dma | 1105 | drivers/sound/sscape.c | if (sound_alloc_dma (hw_config->dma, "soundscape")) |
dma | 1182 | drivers/sound/sscape.c | sscape_write (devc, GA_CDCFG_REG, 0x89 | (hw_config->dma << 4) | |
dma | 1190 | drivers/sound/sscape.c | hw_config->dma, |
dma | 1191 | drivers/sound/sscape.c | hw_config->dma, |
dma | 1220 | drivers/sound/sscape.c | sound_free_dma (hw_config->dma); |
dma | 1228 | drivers/sound/sscape.c | hw_config->dma, |
dma | 1229 | drivers/sound/sscape.c | hw_config->dma, |
dma | 178 | drivers/sound/trix.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
dma | 180 | drivers/sound/trix.c | printk ("AudioTriX: Bad WSS DMA %d\n", hw_config->dma); |
dma | 195 | drivers/sound/trix.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
dma | 221 | drivers/sound/trix.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
dma | 307 | drivers/sound/trix.c | tmp = hw_config->dma; |
dma | 314 | drivers/sound/trix.c | if (hw_config->dma == 3) |
dma | 427 | drivers/sound/trix.c | dma2 = hw_config->dma; |
dma | 434 | drivers/sound/trix.c | hw_config->dma, |
dma | 72 | include/asm-sparc/dma.h | #define DMA_ISBROKEN(dma) ((dma)->revision == dvmarev1) |
dma | 73 | include/asm-sparc/dma.h | #define DMA_ISESC1(dma) ((dma)->revision == dvmaesc1) |
dma | 146 | include/asm-sparc/dma.h | #define DMA_IRQ_ENTRY(dma, dregs) do { \ |
dma | 147 | include/asm-sparc/dma.h | if(DMA_ISBROKEN(dma)) DMA_INTSOFF(dregs); \ |
dma | 150 | include/asm-sparc/dma.h | #define DMA_IRQ_EXIT(dma, dregs) do { \ |
dma | 151 | include/asm-sparc/dma.h | if(DMA_ISBROKEN(dma)) DMA_INTSON(dregs); \ |
dma | 174 | include/asm-sparc/dma.h | #define DMA_RESET(dma) do { \ |
dma | 175 | include/asm-sparc/dma.h | struct sparc_dma_registers *regs = dma->regs; \ |
dma | 184 | include/asm-sparc/dma.h | if(dma->revision>dvmarev1) regs->cond_reg |= DMA_3CLKS; \ |
dma | 185 | include/asm-sparc/dma.h | dma->running = 0; \ |
dma | 188 | include/asm-sparc/dma.h | #define for_each_dvma(dma) \ |
dma | 189 | include/asm-sparc/dma.h | for((dma) = dma_chain; (dma); (dma) = (dma)->next) |
dma | 81 | include/linux/if.h | unsigned char dma; |
dma | 113 | include/linux/netdevice.h | unsigned char dma; /* DMA channel */ |
dma | 1247 | net/core/dev.c | ifr.ifr_map.dma=dev->dma; |