tag | line | file | source code |
dma | 128 | drivers/block/optcd.c | static short isp16_config( int base, u_char drive_type, int irq, int dma ); |
dma | 1608 | drivers/block/optcd.c | isp16_config( int base, u_char drive_type, int irq, int dma ) |
dma | 1615 | drivers/block/optcd.c | if ( (drive_type == ISP16_MITSUMI) && (dma != 0) ) |
dma | 1645 | drivers/block/optcd.c | switch (dma) { |
dma | 1655 | drivers/block/optcd.c | printk( "Dma %d not supported by cdrom interface on ISP16.\n", dma ); |
dma | 118 | drivers/block/sjcd.c | static short isp16_config( int base, u_char drive_type, int irq, int dma ); |
dma | 1545 | drivers/block/sjcd.c | isp16_config( int base, u_char drive_type, int irq, int dma ) |
dma | 1552 | drivers/block/sjcd.c | if ( (drive_type == ISP16_MITSUMI) && (dma != 0) ) |
dma | 1582 | drivers/block/sjcd.c | switch (dma) { |
dma | 1592 | drivers/block/sjcd.c | printk( "Dma %d not supported by cdrom interface on ISP16.\n", dma ); |
dma | 571 | drivers/net/ewrk3.c | dev->dma = 0; |
dma | 203 | drivers/net/lance.c | int dma; |
dma | 443 | drivers/net/lance.c | dev->dma = 4; /* Native bus-master, no DMA channel needed. */ |
dma | 449 | drivers/net/lance.c | dev->dma = dma_tbl[(port_val >> 4) & 3]; |
dma | 451 | drivers/net/lance.c | printk(" HP Vectra IRQ %d DMA %d.\n", dev->irq, dev->dma); |
dma | 456 | drivers/net/lance.c | dev->dma = dma_tbl[(reset_val >> 2) & 3]; |
dma | 458 | drivers/net/lance.c | printk(" HP J2405A IRQ %d DMA %d.\n", dev->irq, dev->dma); |
dma | 463 | drivers/net/lance.c | dev->dma = bus_info & 0x07; |
dma | 468 | drivers/net/lance.c | dev->dma = dev->mem_start & 0x07; |
dma | 471 | drivers/net/lance.c | if (dev->dma == 0) { |
dma | 499 | drivers/net/lance.c | dev->dma = 4; |
dma | 502 | drivers/net/lance.c | if (dev->dma == 4) { |
dma | 504 | drivers/net/lance.c | } else if (dev->dma) { |
dma | 505 | drivers/net/lance.c | if (request_dma(dev->dma, chipname)) { |
dma | 506 | drivers/net/lance.c | printk("DMA %d allocation failed.\n", dev->dma); |
dma | 509 | drivers/net/lance.c | printk(", assigned DMA %d.\n", dev->dma); |
dma | 513 | drivers/net/lance.c | int dma = dmas[i]; |
dma | 518 | drivers/net/lance.c | if (test_bit(dma, &dma_channels)) |
dma | 521 | drivers/net/lance.c | if (request_dma(dma, chipname)) |
dma | 523 | drivers/net/lance.c | set_dma_mode(dma, DMA_MODE_CASCADE); |
dma | 524 | drivers/net/lance.c | enable_dma(dma); |
dma | 532 | drivers/net/lance.c | dev->dma = dma; |
dma | 533 | drivers/net/lance.c | printk(", DMA %d.\n", dev->dma); |
dma | 536 | drivers/net/lance.c | disable_dma(dma); |
dma | 537 | drivers/net/lance.c | free_dma(dma); |
dma | 588 | drivers/net/lance.c | if (dev->dma != 4) { |
dma | 589 | drivers/net/lance.c | enable_dma(dev->dma); |
dma | 590 | drivers/net/lance.c | set_dma_mode(dev->dma, DMA_MODE_CASCADE); |
dma | 605 | drivers/net/lance.c | dev->name, dev->irq, dev->dma, (int) lp->tx_ring, (int) lp->rx_ring, |
dma | 1053 | drivers/net/lance.c | if (dev->dma != 4) |
dma | 1054 | drivers/net/lance.c | disable_dma(dev->dma); |
dma | 264 | drivers/net/net_init.c | if (map->dma != (u_char)(-1)) |
dma | 265 | 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 | 317 | drivers/net/ni65.c | disable_dma(dev->dma); /* I've never worked with dma, but we do it like the packetdriver */ |
dma | 318 | drivers/net/ni65.c | set_dma_mode(dev->dma,DMA_MODE_CASCADE); |
dma | 319 | drivers/net/ni65.c | enable_dma(dev->dma); |
dma | 325 | drivers/net/ni65.c | disable_dma(dev->dma); |
dma | 326 | drivers/net/ni65.c | free_dma(dev->dma); |
dma | 385 | drivers/net/ni65.c | disable_dma(dev->dma); |
dma | 386 | drivers/net/ni65.c | free_dma(dev->dma); |
dma | 1254 | drivers/net/pi2.c | pi0a.dma = PI_DMA; |
dma | 1370 | drivers/net/pi2.c | lp->dmachan = dev->dma; |
dma | 1400 | drivers/net/pi2.c | dev->irq, dev->dma); |
dma | 1468 | drivers/net/pi2.c | if (request_dma(dev->dma,"pi2")) { |
dma | 1645 | 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 | 302 | drivers/scsi/53c7,8xx.c | int dma; /* DMA channel - often none */ |
dma | 350 | drivers/scsi/53c7,8xx.c | overrides[commandline_current].data.normal.dma = (ints[0] >= 4) ? |
dma | 677 | drivers/scsi/53c7,8xx.c | u32 base, int io_port, int irq, int dma, int pci_valid, |
dma | 705 | drivers/scsi/53c7,8xx.c | if (dma == DMA_NONE) |
dma | 708 | drivers/scsi/53c7,8xx.c | printk(", dma %d\n", dma); |
dma | 817 | drivers/scsi/53c7,8xx.c | instance->dma_channel = dma; |
dma | 1006 | drivers/scsi/53c7,8xx.c | overrides[current_override].data.normal.dma, |
dma | 291 | drivers/scsi/aha152x.h | unsigned dma:1; /* Transfer mode: 0=PIO; 1=DMA */ |
dma | 304 | drivers/scsi/aha152x.h | #define cf_dma fields.dma |
dma | 831 | drivers/scsi/buslogic.c | unsigned char *dma, unsigned char *id, |
dma | 853 | drivers/scsi/buslogic.c | *dma = inquiry_result[0]; |
dma | 904 | drivers/scsi/buslogic.c | switch (*dma) { |
dma | 906 | drivers/scsi/buslogic.c | *dma = 0; |
dma | 909 | drivers/scsi/buslogic.c | *dma = 5; |
dma | 912 | drivers/scsi/buslogic.c | *dma = 6; |
dma | 915 | drivers/scsi/buslogic.c | *dma = 7; |
dma | 923 | drivers/scsi/buslogic.c | *dma = 0; |
dma | 939 | drivers/scsi/buslogic.c | unsigned char *irq, unsigned char *dma, |
dma | 1008 | drivers/scsi/buslogic.c | if (getconfig(base, irq, dma, id, bus_type, max_sg, bios)) |
dma | 1104 | drivers/scsi/buslogic.c | unsigned char dma; |
dma | 1133 | drivers/scsi/buslogic.c | if (buslogic_query(base, &bios_translation, &irq, &dma, &id, |
dma | 1208 | drivers/scsi/buslogic.c | if (dma != 0) |
dma | 1209 | drivers/scsi/buslogic.c | printk(", DMA %u", dma); |
dma | 1236 | drivers/scsi/buslogic.c | if (dma) { |
dma | 1237 | drivers/scsi/buslogic.c | if (request_dma(dma, "buslogic")) { |
dma | 1248 | drivers/scsi/buslogic.c | set_dma_mode(dma, DMA_MODE_CASCADE); |
dma | 1249 | drivers/scsi/buslogic.c | enable_dma(dma); |
dma | 1265 | drivers/scsi/buslogic.c | shpnt->dma_channel = dma; |
dma | 74 | drivers/scsi/g_NCR5380.c | int dma; |
dma | 102 | drivers/scsi/g_NCR5380.c | overrides[commandline_current].dma = ints[3]; |
dma | 166 | drivers/scsi/wd7000.c | int dma; /* This adapter's DMA channel */ |
dma | 191 | drivers/scsi/wd7000.c | int dma; /* DMA channel */ |
dma | 544 | drivers/scsi/wd7000.c | set_dma_mode(host->dma, DMA_MODE_CASCADE); |
dma | 545 | drivers/scsi/wd7000.c | enable_dma(host->dma); |
dma | 1048 | drivers/scsi/wd7000.c | if (request_dma(host->dma,"wd7000")) { |
dma | 1049 | drivers/scsi/wd7000.c | printk("wd7000_init: can't get DMA channel %d.\n", host->dma); |
dma | 1057 | drivers/scsi/wd7000.c | free_dma(host->dma); |
dma | 1146 | drivers/scsi/wd7000.c | host->dma = cfg->dma; |
dma | 1162 | drivers/scsi/wd7000.c | host->iobase, host->irq, host->dma); |
dma | 1415 | drivers/sound/ad1848.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
dma | 1417 | drivers/sound/ad1848.c | printk ("MSS: Bad DMA %d\n", hw_config->dma); |
dma | 1425 | drivers/sound/ad1848.c | if (hw_config->dma == 0 && INB (hw_config->io_base + 3) & 0x80) |
dma | 1471 | drivers/sound/ad1848.c | OUTB (bits | dma_bits[hw_config->dma], config_port); /* Write IRQ+DMA setup */ |
dma | 1475 | drivers/sound/ad1848.c | hw_config->dma, |
dma | 1476 | drivers/sound/ad1848.c | hw_config->dma); |
dma | 306 | drivers/sound/aedsp16.c | static int dma = DMA; /* dma for DSP I/O */ |
dma | 567 | drivers/sound/aedsp16.c | if (orDMA[gc].val == dma) |
dma | 697 | drivers/sound/aedsp16.c | dma = hw_config->dma; |
dma | 764 | drivers/sound/aedsp16.c | dma = hw_config->dma; |
dma | 75 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma); |
dma | 102 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma = hw_config->dma; |
dma | 138 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma = hw_config->dma; |
dma | 179 | drivers/sound/dev_table.c | int card_type, ioaddr, irq, dma, ptr, j; |
dma | 196 | drivers/sound/dev_table.c | dma = (val & 0x0000000f); |
dma | 213 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.dma = dma; |
dma | 220 | drivers/sound/dev_table.c | sound_chconf (int card_type, int ioaddr, int irq, int dma) |
dma | 241 | drivers/sound/dev_table.c | if (dma) |
dma | 242 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.dma = dma; |
dma | 428 | drivers/sound/dev_table.h | void sound_chconf(int card_type, int ioaddr, int irq, int dma); |
dma | 54 | drivers/sound/gus_card.c | mem_start = gus_wave_init (mem_start, hw_config->irq, hw_config->dma); |
dma | 77 | drivers/sound/gus_card.c | mem_start = gus_wave_init (mem_start, hw_config->irq, hw_config->dma); |
dma | 188 | drivers/sound/gus_card.c | hw_config->dma, |
dma | 189 | drivers/sound/gus_card.c | hw_config->dma); |
dma | 2942 | drivers/sound/gus_wave.c | gus_wave_init (long mem_start, int irq, int dma) |
dma | 2956 | drivers/sound/gus_wave.c | if (dma < 0 || dma > 7) |
dma | 2958 | drivers/sound/gus_wave.c | printk ("ERROR! Invalid DMA#%d. GUS Disabled", dma); |
dma | 2963 | drivers/sound/gus_wave.c | gus_dma = dma; |
dma | 2969 | drivers/sound/gus_wave.c | gusmax_dma = dma; |
dma | 3078 | drivers/sound/gus_wave.c | audio_devs[gus_devnum]->dmachan = dma; |
dma | 209 | drivers/sound/pas2_card.c | if (hw_config->dma < 0 || hw_config->dma > 7) |
dma | 211 | drivers/sound/pas2_card.c | printk ("PAS2: Invalid DMA selection %d", hw_config->dma); |
dma | 216 | drivers/sound/pas2_card.c | pas_write (I_C_2_PCM_DMA_translate[hw_config->dma], IO_CONFIGURATION_2); |
dma | 217 | drivers/sound/pas2_card.c | if (!I_C_2_PCM_DMA_translate[hw_config->dma]) |
dma | 219 | drivers/sound/pas2_card.c | printk ("PAS2: Invalid DMA selection %d", hw_config->dma); |
dma | 290 | drivers/sound/pas2_card.c | if (!E_C_SB_DMA_translate[sb_config->dma]) |
dma | 292 | drivers/sound/pas2_card.c | sb_config->dma); |
dma | 298 | drivers/sound/pas2_card.c | irq_dma = E_C_SB_DMA_translate[sb_config->dma] | |
dma | 406 | drivers/sound/pas2_pcm.c | audio_devs[my_devnum]->dmachan = hw_config->dma; |
dma | 71 | drivers/sound/pss.c | int dma; |
dma | 86 | drivers/sound/pss.c | int irq, dma; |
dma | 90 | drivers/sound/pss.c | dma = devc->dma = hw_config->dma; |
dma | 100 | drivers/sound/pss.c | if (dma != 5 && dma != 6 && dma != 7) |
dma | 153 | drivers/sound/pss.c | set_dma (pss_config * devc, int dev, int dma) |
dma | 163 | drivers/sound/pss.c | if (dma < 0 || dma > 7) |
dma | 168 | drivers/sound/pss.c | if ((bits = dma_bits[dma]) == 0) |
dma | 170 | drivers/sound/pss.c | printk ("PSS: Invalid DMA %d\n", dma); |
dma | 319 | drivers/sound/pss.c | devc->dma = hw_config->dma; |
dma | 341 | drivers/sound/pss.c | if (!set_dma (devc, CONF_PSS, devc->dma)) |
dma | 695 | drivers/sound/pss.c | if (!set_dma (devc, CONF_WSS, hw_config->dma)) |
dma | 483 | drivers/sound/sb16_dsp.c | audio_devs[my_dev]->dmachan = hw_config->dma; |
dma | 518 | drivers/sound/sb16_dsp.c | if (hw_config->dma < 4) |
dma | 519 | drivers/sound/sb16_dsp.c | if (hw_config->dma != sb_config->dma) |
dma | 522 | drivers/sound/sb16_dsp.c | sb_config->dma, hw_config->dma); |
dma | 526 | drivers/sound/sb16_dsp.c | dma16 = hw_config->dma; |
dma | 527 | drivers/sound/sb16_dsp.c | dma8 = sb_config->dma; |
dma | 529 | drivers/sound/sb16_dsp.c | sb_setmixer (DMA_NR, (1 << hw_config->dma) | (1 << sb_config->dma)); |
dma | 531 | drivers/sound/sb16_dsp.c | DEB (printk ("SoundBlaster 16: IRQ %d DMA %d OK\n", sb_config->irq, hw_config->dma)); |
dma | 1078 | drivers/sound/sb_dsp.c | dma8 = hw_config->dma; |
dma | 1216 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->dmachan = hw_config->dma; |
dma | 185 | drivers/sound/sound_calls.h | long gus_wave_init(long mem_start, int irq, int dma); |
dma | 159 | drivers/sound/sound_config.h | int dma; |
dma | 183 | drivers/sound/sound_switch.c | if (!put_status_int (snd_installed_cards[i].config.dma, 10)) |
dma | 87 | drivers/sound/sscape.c | int base, irq, dma; |
dma | 359 | drivers/sound/sscape.c | temp = devc->dma << 4; /* Setup DMA channel select bits */ |
dma | 360 | drivers/sound/sscape.c | if (devc->dma <= 3) |
dma | 498 | drivers/sound/sscape.c | clear_dma_ff (devc->dma); |
dma | 499 | drivers/sound/sscape.c | if ((resid = get_dma_residue (devc->dma)) == 0) |
dma | 947 | drivers/sound/sscape.c | audio_devs[my_dev]->dmachan = hw_config->dma; |
dma | 974 | drivers/sound/sscape.c | devc->dma = hw_config->dma; |
dma | 1103 | drivers/sound/sscape.c | sscape_write (devc, GA_CDCFG_REG, 0x89 | (hw_config->dma << 4) | |
dma | 1111 | drivers/sound/sscape.c | hw_config->dma, |
dma | 1112 | drivers/sound/sscape.c | hw_config->dma); |
dma | 158 | drivers/sound/trix.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
dma | 160 | drivers/sound/trix.c | printk ("AudioTriX: Bad WSS DMA %d\n", hw_config->dma); |
dma | 168 | drivers/sound/trix.c | if (hw_config->dma == 0 && INB (hw_config->io_base + 3) & 0x80) |
dma | 210 | drivers/sound/trix.c | OUTB (bits | dma_bits[hw_config->dma], config_port); /* Write IRQ+DMA setup */ |
dma | 214 | drivers/sound/trix.c | hw_config->dma, |
dma | 215 | drivers/sound/trix.c | hw_config->dma); |
dma | 246 | drivers/sound/trix.c | tmp = hw_config->dma; |
dma | 253 | drivers/sound/trix.c | if (hw_config->dma == 3) |
dma | 81 | include/linux/if.h | unsigned char dma; |
dma | 99 | include/linux/netdevice.h | unsigned char dma; /* DMA channel */ |
dma | 1192 | net/core/dev.c | ifr.ifr_map.dma=dev->dma; |