tag | line | file | source code |
dma | 129 | drivers/cdrom/optcd.c | static short isp16_config( int base, u_char drive_type, int irq, int dma ); |
dma | 1596 | drivers/cdrom/optcd.c | isp16_config( int base, u_char drive_type, int irq, int dma ) |
dma | 1603 | drivers/cdrom/optcd.c | if ( (drive_type == ISP16_MITSUMI) && (dma != 0) ) |
dma | 1633 | drivers/cdrom/optcd.c | switch (dma) { |
dma | 1643 | drivers/cdrom/optcd.c | printk( "Dma %d not supported by cdrom interface on ISP16.\n", dma ); |
dma | 130 | drivers/cdrom/sjcd.c | static short isp16_cdi_config( int base, u_char drive_type, int irq, int dma ); |
dma | 1760 | drivers/cdrom/sjcd.c | isp16_cdi_config( int base, u_char drive_type, int irq, int dma ) |
dma | 1767 | drivers/cdrom/sjcd.c | if ( (drive_type == ISP16_MITSUMI) && (dma != 0) ) |
dma | 1797 | drivers/cdrom/sjcd.c | switch (dma) { |
dma | 1807 | drivers/cdrom/sjcd.c | printk( "Dma %d not supported by cdrom interface on ISP16.\n", dma ); |
dma | 571 | drivers/net/ewrk3.c | dev->dma = 0; |
dma | 202 | drivers/net/lance.c | int dma; |
dma | 437 | drivers/net/lance.c | dev->dma = 4; /* Native bus-master, no DMA channel needed. */ |
dma | 443 | drivers/net/lance.c | dev->dma = dma_tbl[(port_val >> 4) & 3]; |
dma | 445 | drivers/net/lance.c | printk(" HP Vectra IRQ %d DMA %d.\n", dev->irq, dev->dma); |
dma | 450 | drivers/net/lance.c | dev->dma = dma_tbl[(reset_val >> 2) & 3]; |
dma | 452 | drivers/net/lance.c | printk(" HP J2405A IRQ %d DMA %d.\n", dev->irq, dev->dma); |
dma | 457 | drivers/net/lance.c | dev->dma = bus_info & 0x07; |
dma | 462 | drivers/net/lance.c | dev->dma = dev->mem_start & 0x07; |
dma | 465 | drivers/net/lance.c | if (dev->dma == 0) { |
dma | 493 | drivers/net/lance.c | dev->dma = 4; |
dma | 496 | drivers/net/lance.c | if (dev->dma == 4) { |
dma | 498 | drivers/net/lance.c | } else if (dev->dma) { |
dma | 499 | drivers/net/lance.c | if (request_dma(dev->dma, chipname)) { |
dma | 500 | drivers/net/lance.c | printk("DMA %d allocation failed.\n", dev->dma); |
dma | 503 | drivers/net/lance.c | printk(", assigned DMA %d.\n", dev->dma); |
dma | 507 | drivers/net/lance.c | int dma = dmas[i]; |
dma | 512 | drivers/net/lance.c | if (test_bit(dma, &dma_channels)) |
dma | 515 | drivers/net/lance.c | if (request_dma(dma, chipname)) |
dma | 517 | drivers/net/lance.c | set_dma_mode(dma, DMA_MODE_CASCADE); |
dma | 518 | drivers/net/lance.c | enable_dma(dma); |
dma | 526 | drivers/net/lance.c | dev->dma = dma; |
dma | 527 | drivers/net/lance.c | printk(", DMA %d.\n", dev->dma); |
dma | 530 | drivers/net/lance.c | disable_dma(dma); |
dma | 531 | drivers/net/lance.c | free_dma(dma); |
dma | 582 | drivers/net/lance.c | if (dev->dma != 4) { |
dma | 583 | drivers/net/lance.c | enable_dma(dev->dma); |
dma | 584 | drivers/net/lance.c | set_dma_mode(dev->dma, DMA_MODE_CASCADE); |
dma | 599 | drivers/net/lance.c | dev->name, dev->irq, dev->dma, (int) lp->tx_ring, (int) lp->rx_ring, |
dma | 1047 | drivers/net/lance.c | if (dev->dma != 4) |
dma | 1048 | drivers/net/lance.c | disable_dma(dev->dma); |
dma | 228 | drivers/net/net_init.c | if (map->dma != (u_char)(-1)) |
dma | 229 | drivers/net/net_init.c | dev->dma = map->dma; |
dma | 221 | drivers/net/ni65.c | if(dev->dma == 0) |
dma | 222 | drivers/net/ni65.c | dev->dma = dmatab[inw(PORT+L_CONFIG)&3]; |
dma | 225 | drivers/net/ni65.c | "network card", dev->base_addr, dev->irq,dev->dma); |
dma | 234 | drivers/net/ni65.c | if(request_dma(dev->dma, "ni65") != 0) |
dma | 236 | drivers/net/ni65.c | printk("%s: Can't request dma-channel %d\n",dev->name,(int) dev->dma); |
dma | 318 | drivers/net/ni65.c | disable_dma(dev->dma); /* I've never worked with dma, but we do it like the packetdriver */ |
dma | 319 | drivers/net/ni65.c | set_dma_mode(dev->dma,DMA_MODE_CASCADE); |
dma | 320 | drivers/net/ni65.c | enable_dma(dev->dma); |
dma | 326 | drivers/net/ni65.c | disable_dma(dev->dma); |
dma | 327 | drivers/net/ni65.c | free_dma(dev->dma); |
dma | 386 | drivers/net/ni65.c | disable_dma(dev->dma); |
dma | 387 | drivers/net/ni65.c | free_dma(dev->dma); |
dma | 1250 | drivers/net/pi2.c | pi0a.dma = PI_DMA; |
dma | 1364 | drivers/net/pi2.c | lp->dmachan = dev->dma; |
dma | 1394 | drivers/net/pi2.c | dev->irq, dev->dma); |
dma | 1462 | drivers/net/pi2.c | if (request_dma(dev->dma,"pi2")) { |
dma | 1639 | drivers/net/pi2.c | dev->dma = lp->dmachan = rq.dmachan; |
dma | 233 | drivers/net/skeleton.c | if (dev->dma == 0) { |
dma | 234 | drivers/net/skeleton.c | if (request_dma(dev->dma, cardname)) { |
dma | 235 | drivers/net/skeleton.c | printk("DMA %d allocation failed.\n", dev->dma); |
dma | 238 | drivers/net/skeleton.c | printk(", assigned DMA %d.\n", dev->dma); |
dma | 255 | drivers/net/skeleton.c | dev->dma = i; |
dma | 262 | drivers/net/skeleton.c | if (request_dma(dev->dma, cardname)) { |
dma | 263 | drivers/net/skeleton.c | printk("probed DMA %d allocation failed.\n", dev->dma); |
dma | 314 | drivers/net/skeleton.c | if (request_dma(dev->dma, cardname)) { |
dma | 486 | drivers/net/skeleton.c | disable_dma(dev->dma); |
dma | 492 | drivers/net/skeleton.c | free_dma(dev->dma); |
dma | 548 | drivers/net/skeleton.c | int dma = 0; |
dma | 562 | drivers/net/skeleton.c | this_device.dma = dma; |
dma | 308 | drivers/scsi/53c7,8xx.c | int dma; /* DMA channel - often none */ |
dma | 356 | drivers/scsi/53c7,8xx.c | overrides[commandline_current].data.normal.dma = (ints[0] >= 4) ? |
dma | 683 | drivers/scsi/53c7,8xx.c | u32 base, int io_port, int irq, int dma, int pci_valid, |
dma | 711 | drivers/scsi/53c7,8xx.c | if (dma == DMA_NONE) |
dma | 714 | drivers/scsi/53c7,8xx.c | printk(", dma %d\n", dma); |
dma | 823 | drivers/scsi/53c7,8xx.c | instance->dma_channel = dma; |
dma | 1013 | drivers/scsi/53c7,8xx.c | overrides[current_override].data.normal.dma, |
dma | 574 | drivers/scsi/NCR53c406a.c | shpnt->dma = dma_chan; |
dma | 292 | drivers/scsi/aha152x.h | unsigned dma:1; /* Transfer mode: 0=PIO; 1=DMA */ |
dma | 305 | drivers/scsi/aha152x.h | #define cf_dma fields.dma |
dma | 838 | drivers/scsi/buslogic.c | unsigned char *dma, unsigned char *id, |
dma | 860 | drivers/scsi/buslogic.c | *dma = inquiry_result[0]; |
dma | 911 | drivers/scsi/buslogic.c | switch (*dma) { |
dma | 913 | drivers/scsi/buslogic.c | *dma = 0; |
dma | 916 | drivers/scsi/buslogic.c | *dma = 5; |
dma | 919 | drivers/scsi/buslogic.c | *dma = 6; |
dma | 922 | drivers/scsi/buslogic.c | *dma = 7; |
dma | 930 | drivers/scsi/buslogic.c | *dma = 0; |
dma | 946 | drivers/scsi/buslogic.c | unsigned char *irq, unsigned char *dma, |
dma | 1015 | drivers/scsi/buslogic.c | if (getconfig(base, irq, dma, id, bus_type, max_sg, bios)) |
dma | 1111 | drivers/scsi/buslogic.c | unsigned char dma; |
dma | 1141 | drivers/scsi/buslogic.c | if (buslogic_query(base, &bios_translation, &irq, &dma, &id, |
dma | 1216 | drivers/scsi/buslogic.c | if (dma != 0) |
dma | 1217 | drivers/scsi/buslogic.c | printk(", DMA %u", dma); |
dma | 1244 | drivers/scsi/buslogic.c | if (dma) { |
dma | 1245 | drivers/scsi/buslogic.c | if (request_dma(dma, "buslogic")) { |
dma | 1256 | drivers/scsi/buslogic.c | set_dma_mode(dma, DMA_MODE_CASCADE); |
dma | 1257 | drivers/scsi/buslogic.c | enable_dma(dma); |
dma | 1273 | drivers/scsi/buslogic.c | shpnt->dma_channel = 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 | 1661 | drivers/sound/ad1848.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
dma | 1663 | drivers/sound/ad1848.c | printk ("MSS: Bad DMA %d\n", hw_config->dma); |
dma | 1671 | drivers/sound/ad1848.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
dma | 1717 | drivers/sound/ad1848.c | outb (bits | dma_bits[hw_config->dma], config_port); /* Write IRQ+DMA setup */ |
dma | 1721 | drivers/sound/ad1848.c | hw_config->dma, |
dma | 1722 | drivers/sound/ad1848.c | hw_config->dma, 0, hw_config->osp); |
dma | 1732 | drivers/sound/ad1848.c | hw_config->dma, |
dma | 1733 | drivers/sound/ad1848.c | hw_config->dma, 0); |
dma | 1753 | drivers/sound/ad1848.c | hw_config->dma, |
dma | 1763 | 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 | 218 | drivers/sound/cs4232.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
dma | 237 | drivers/sound/cs4232.c | hw_config2.dma = -1; |
dma | 82 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma); |
dma | 146 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.dma = hw_config->dma; |
dma | 185 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma = hw_config->dma; |
dma | 204 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma); |
dma | 267 | drivers/sound/dev_table.c | int card_type, ioaddr, irq, dma, ptr, j; |
dma | 284 | drivers/sound/dev_table.c | dma = (val & 0x0000000f); |
dma | 301 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.dma = dma; |
dma | 482 | 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 | 153 | drivers/sound/gus_card.c | sound_free_dma (hw_config->dma); |
dma | 155 | drivers/sound/gus_card.c | if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) |
dma | 230 | drivers/sound/gus_card.c | hw_config->dma, |
dma | 231 | drivers/sound/gus_card.c | hw_config->dma, 0, |
dma | 242 | drivers/sound/gus_card.c | hw_config->dma, |
dma | 243 | drivers/sound/gus_card.c | hw_config->dma, 0); |
dma | 2994 | drivers/sound/gus_wave.c | int irq = hw_config->irq, dma = hw_config->dma, dma2 = hw_config->dma2; |
dma | 3002 | drivers/sound/gus_wave.c | if (dma < 0 || dma > 7) |
dma | 3004 | drivers/sound/gus_wave.c | printk ("ERROR! Invalid DMA#%d. GUS Disabled", dma); |
dma | 3009 | drivers/sound/gus_wave.c | gus_dma = dma; |
dma | 3013 | drivers/sound/gus_wave.c | gus_dma2 = dma; |
dma | 3134 | drivers/sound/gus_wave.c | audio_devs[gus_devnum]->dmachan1 = dma; |
dma | 3137 | 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 | 415 | 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 | 537 | drivers/sound/sb16_dsp.c | if (hw_config->dma < 4) |
dma | 538 | drivers/sound/sb16_dsp.c | if (hw_config->dma != sb_config->dma) |
dma | 541 | drivers/sound/sb16_dsp.c | sb_config->dma, hw_config->dma); |
dma | 545 | drivers/sound/sb16_dsp.c | dma16 = hw_config->dma; |
dma | 546 | drivers/sound/sb16_dsp.c | dma8 = sb_config->dma; |
dma | 548 | drivers/sound/sb16_dsp.c | sb_setmixer (DMA_NR, (1 << hw_config->dma) | (1 << sb_config->dma)); |
dma | 550 | drivers/sound/sb16_dsp.c | DEB (printk ("SoundBlaster 16: IRQ %d DMA %d OK\n", sb_config->irq, hw_config->dma)); |
dma | 1051 | drivers/sound/sb_dsp.c | dma8 = hw_config->dma; |
dma | 1237 | drivers/sound/sb_dsp.c | dma8 = audio_devs[my_dev]->dmachan1 = hw_config->dma; |
dma | 1239 | drivers/sound/sb_dsp.c | if (sound_alloc_dma (hw_config->dma, "soundblaster")) |
dma | 147 | drivers/sound/sound_config.h | int dma; |
dma | 112 | drivers/sound/sound_pnp.c | hw_config.dma = -1; |
dma | 129 | drivers/sound/sound_pnp.c | hw_config.dma = dma1; |
dma | 182 | drivers/sound/sound_switch.c | if (snd_installed_cards[i].config.dma != -1) |
dma | 186 | 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 | 546 | drivers/sound/sscape.c | clear_dma_ff (devc->dma); |
dma | 547 | drivers/sound/sscape.c | if ((resid = get_dma_residue (devc->dma)) == 0) |
dma | 1022 | drivers/sound/sscape.c | audio_devs[my_dev]->dmachan1 = hw_config->dma; |
dma | 1050 | drivers/sound/sscape.c | devc->dma = hw_config->dma; |
dma | 1117 | drivers/sound/sscape.c | if (sound_alloc_dma (hw_config->dma, "soundscape")) |
dma | 1194 | drivers/sound/sscape.c | sscape_write (devc, GA_CDCFG_REG, 0x89 | (hw_config->dma << 4) | |
dma | 1202 | drivers/sound/sscape.c | hw_config->dma, |
dma | 1203 | drivers/sound/sscape.c | hw_config->dma, |
dma | 1232 | drivers/sound/sscape.c | sound_free_dma (hw_config->dma); |
dma | 1240 | drivers/sound/sscape.c | hw_config->dma, |
dma | 1241 | 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 | 81 | include/linux/if.h | unsigned char dma; |
dma | 99 | include/linux/netdevice.h | unsigned char dma; /* DMA channel */ |
dma | 1186 | net/core/dev.c | ifr.ifr_map.dma=dev->dma; |