tag | line | file | source code |
dma | 522 | drivers/block/ide-tape.c | unsigned dma :1; /* Using DMA of PIO */ |
dma | 56 | drivers/cdrom/isp16.c | static short isp16_cdi_config(int base, u_char drive_type, int irq, int dma); |
dma | 228 | drivers/cdrom/isp16.c | isp16_cdi_config(int base, u_char drive_type, int irq, int dma) |
dma | 235 | drivers/cdrom/isp16.c | if ( (drive_type == ISP16_MITSUMI) && (dma != 0) ) |
dma | 266 | drivers/cdrom/isp16.c | switch (dma) { |
dma | 276 | drivers/cdrom/isp16.c | printk("ISP16: dma %d not supported by cdrom interface.\n", dma); |
dma | 850 | drivers/char/ftape/fdc-io.c | disable_dma(fdc.dma); |
dma | 851 | drivers/char/ftape/fdc-io.c | clear_dma_ff(fdc.dma); |
dma | 852 | drivers/char/ftape/fdc-io.c | set_dma_mode(fdc.dma, dma_mode); |
dma | 853 | drivers/char/ftape/fdc-io.c | set_dma_addr(fdc.dma, (unsigned) buff->ptr); |
dma | 854 | drivers/char/ftape/fdc-io.c | set_dma_count(fdc.dma, SECTOR_SIZE * buff->sector_count); |
dma | 867 | drivers/char/ftape/fdc-io.c | enable_dma(fdc.dma); |
dma | 1098 | drivers/char/ftape/fdc-io.c | fdc.dma = fdc_dma; |
dma | 1193 | drivers/char/ftape/fdc-io.c | result = request_dma(fdc.dma, ftape_id); |
dma | 1195 | drivers/char/ftape/fdc-io.c | TRACEx1(-1, "Unable to grab DMA%d for ftape driver", fdc.dma); |
dma | 1224 | drivers/char/ftape/fdc-io.c | disable_dma(fdc.dma); /* just in case... */ |
dma | 1225 | drivers/char/ftape/fdc-io.c | free_dma(fdc.dma); |
dma | 91 | drivers/char/ftape/fdc-io.h | unsigned char dma; /* FDC dma channel nr */ |
dma | 254 | drivers/char/ftape/fdc-isr.c | dma_residue = get_dma_residue(fdc.dma); |
dma | 255 | drivers/char/ftape/fdc-isr.c | disable_dma(fdc.dma); |
dma | 372 | drivers/net/3c505.c | printk("%s: DMA %s timed out, %d bytes left\n", dev->name, adapter->current_dma.direction ? "download" : "upload", get_dma_residue(dev->dma)); |
dma | 377 | drivers/net/3c505.c | disable_dma(dev->dma); |
dma | 675 | drivers/net/3c505.c | disable_dma(dev->dma); |
dma | 676 | drivers/net/3c505.c | clear_dma_ff(dev->dma); |
dma | 677 | drivers/net/3c505.c | set_dma_mode(dev->dma, 0x04); /* dma read */ |
dma | 678 | drivers/net/3c505.c | set_dma_addr(dev->dma, target); |
dma | 679 | drivers/net/3c505.c | set_dma_count(dev->dma, rlen); |
dma | 680 | drivers/net/3c505.c | enable_dma(dev->dma); |
dma | 980 | drivers/net/3c505.c | if (request_dma(dev->dma, "3c505")) { |
dma | 1109 | drivers/net/3c505.c | disable_dma(dev->dma); |
dma | 1110 | drivers/net/3c505.c | clear_dma_ff(dev->dma); |
dma | 1111 | drivers/net/3c505.c | set_dma_mode(dev->dma, 0x08); /* dma memory -> io */ |
dma | 1112 | drivers/net/3c505.c | set_dma_addr(dev->dma, target); |
dma | 1113 | drivers/net/3c505.c | set_dma_count(dev->dma, nlen); |
dma | 1114 | drivers/net/3c505.c | enable_dma(dev->dma); |
dma | 1281 | drivers/net/3c505.c | free_dma(dev->dma); |
dma | 1640 | drivers/net/3c505.c | dev->dma = ELP_DMA; |
dma | 1646 | drivers/net/3c505.c | dev->name, dev->base_addr, dev->irq, dev->dma); |
dma | 536 | drivers/net/ewrk3.c | dev->dma = 0; |
dma | 231 | drivers/net/lance.c | int dma; |
dma | 482 | drivers/net/lance.c | dev->dma = 4; /* Native bus-master, no DMA channel needed. */ |
dma | 488 | drivers/net/lance.c | dev->dma = dma_tbl[(port_val >> 4) & 3]; |
dma | 490 | drivers/net/lance.c | printk(" HP Vectra IRQ %d DMA %d.\n", dev->irq, dev->dma); |
dma | 495 | drivers/net/lance.c | dev->dma = dma_tbl[(reset_val >> 2) & 3]; |
dma | 497 | drivers/net/lance.c | printk(" HP J2405A IRQ %d DMA %d.\n", dev->irq, dev->dma); |
dma | 502 | drivers/net/lance.c | dev->dma = bus_info & 0x07; |
dma | 507 | drivers/net/lance.c | dev->dma = dev->mem_start & 0x07; |
dma | 510 | drivers/net/lance.c | if (dev->dma == 0) { |
dma | 538 | drivers/net/lance.c | dev->dma = 4; |
dma | 541 | drivers/net/lance.c | if (dev->dma == 4) { |
dma | 543 | drivers/net/lance.c | } else if (dev->dma) { |
dma | 544 | drivers/net/lance.c | if (request_dma(dev->dma, chipname)) { |
dma | 545 | drivers/net/lance.c | printk("DMA %d allocation failed.\n", dev->dma); |
dma | 548 | drivers/net/lance.c | printk(", assigned DMA %d.\n", dev->dma); |
dma | 552 | drivers/net/lance.c | int dma = dmas[i]; |
dma | 557 | drivers/net/lance.c | if (test_bit(dma, &dma_channels)) |
dma | 560 | drivers/net/lance.c | if (request_dma(dma, chipname)) |
dma | 562 | drivers/net/lance.c | set_dma_mode(dma, DMA_MODE_CASCADE); |
dma | 563 | drivers/net/lance.c | enable_dma(dma); |
dma | 571 | drivers/net/lance.c | dev->dma = dma; |
dma | 572 | drivers/net/lance.c | printk(", DMA %d.\n", dev->dma); |
dma | 575 | drivers/net/lance.c | disable_dma(dma); |
dma | 576 | drivers/net/lance.c | free_dma(dma); |
dma | 627 | drivers/net/lance.c | if (dev->dma != 4) { |
dma | 628 | drivers/net/lance.c | enable_dma(dev->dma); |
dma | 629 | drivers/net/lance.c | set_dma_mode(dev->dma, DMA_MODE_CASCADE); |
dma | 644 | drivers/net/lance.c | dev->name, dev->irq, dev->dma, |
dma | 1105 | drivers/net/lance.c | if (dev->dma != 4) |
dma | 1106 | drivers/net/lance.c | disable_dma(dev->dma); |
dma | 129 | drivers/net/lance32.c | int dma; |
dma | 185 | drivers/net/lance32.c | dev->dma = 4; /* Native bus-master, no DMA channel needed. */ |
dma | 190 | drivers/net/lance32.c | dev->dma = dev->mem_start & 0x07; |
dma | 193 | drivers/net/lance32.c | if (dev->dma == 0) { |
dma | 221 | drivers/net/lance32.c | dev->dma = 4; |
dma | 224 | drivers/net/lance32.c | if (dev->dma == 4) { |
dma | 226 | drivers/net/lance32.c | } else if (dev->dma) { |
dma | 227 | drivers/net/lance32.c | if (request_dma(dev->dma, chipname)) { |
dma | 228 | drivers/net/lance32.c | printk("DMA %d allocation failed.\n", dev->dma); |
dma | 231 | drivers/net/lance32.c | printk(", assigned DMA %d.\n", dev->dma); |
dma | 235 | drivers/net/lance32.c | int dma = dmas[i]; |
dma | 240 | drivers/net/lance32.c | if (test_bit(dma, &dma_channels)) |
dma | 243 | drivers/net/lance32.c | if (request_dma(dma, chipname)) |
dma | 245 | drivers/net/lance32.c | set_dma_mode(dma, DMA_MODE_CASCADE); |
dma | 246 | drivers/net/lance32.c | enable_dma(dma); |
dma | 254 | drivers/net/lance32.c | dev->dma = dma; |
dma | 255 | drivers/net/lance32.c | printk(", DMA %d.\n", dev->dma); |
dma | 258 | drivers/net/lance32.c | disable_dma(dma); |
dma | 259 | drivers/net/lance32.c | free_dma(dma); |
dma | 307 | drivers/net/lance32.c | if (dev->dma != 4) { |
dma | 308 | drivers/net/lance32.c | enable_dma(dev->dma); |
dma | 309 | drivers/net/lance32.c | set_dma_mode(dev->dma, DMA_MODE_CASCADE); |
dma | 318 | drivers/net/lance32.c | dev->name, dev->irq, dev->dma, |
dma | 762 | drivers/net/lance32.c | if (dev->dma != 4) |
dma | 763 | drivers/net/lance32.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 | 245 | drivers/net/ni65.c | if(dev->dma == 0) |
dma | 246 | drivers/net/ni65.c | dev->dma = dmatab[inw(PORT+L_CONFIG)&3]; |
dma | 249 | drivers/net/ni65.c | "ni6510", dev->base_addr, dev->irq,dev->dma); |
dma | 258 | drivers/net/ni65.c | if(request_dma(dev->dma, "ni6510") != 0) |
dma | 260 | drivers/net/ni65.c | printk("%s: Can't request dma-channel %d\n",dev->name,(int) dev->dma); |
dma | 360 | drivers/net/ni65.c | disable_dma(dev->dma); /* I've never worked with dma, but we do it like the packetdriver */ |
dma | 361 | drivers/net/ni65.c | set_dma_mode(dev->dma,DMA_MODE_CASCADE); |
dma | 362 | drivers/net/ni65.c | enable_dma(dev->dma); |
dma | 368 | drivers/net/ni65.c | disable_dma(dev->dma); |
dma | 369 | drivers/net/ni65.c | free_dma(dev->dma); |
dma | 440 | drivers/net/ni65.c | disable_dma(dev->dma); |
dma | 441 | 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 | 236 | drivers/net/skeleton.c | if (dev->dma == 0) { |
dma | 237 | drivers/net/skeleton.c | if (request_dma(dev->dma, cardname)) { |
dma | 238 | drivers/net/skeleton.c | printk("DMA %d allocation failed.\n", dev->dma); |
dma | 241 | drivers/net/skeleton.c | printk(", assigned DMA %d.\n", dev->dma); |
dma | 261 | drivers/net/skeleton.c | dev->dma = i; |
dma | 268 | drivers/net/skeleton.c | if (request_dma(dev->dma, cardname)) { |
dma | 269 | drivers/net/skeleton.c | printk("probed DMA %d allocation failed.\n", dev->dma); |
dma | 323 | drivers/net/skeleton.c | if (request_dma(dev->dma, cardname)) { |
dma | 503 | drivers/net/skeleton.c | disable_dma(dev->dma); |
dma | 509 | drivers/net/skeleton.c | free_dma(dev->dma); |
dma | 584 | drivers/net/skeleton.c | static int dma = 0; |
dma | 598 | drivers/net/skeleton.c | this_device.dma = dma; |
dma | 793 | drivers/net/sunlance.c | dev->dma = 0; |
dma | 518 | drivers/scsi/53c7,8xx.c | int dma; /* DMA channel - often none */ |
dma | 604 | drivers/scsi/53c7,8xx.c | overrides[commandline_current].data.normal.dma = (ints[0] >= 4) ? |
dma | 1195 | drivers/scsi/53c7,8xx.c | u32 base, int io_port, int irq, int dma, int pci_valid, |
dma | 1224 | drivers/scsi/53c7,8xx.c | if (dma == DMA_NONE) |
dma | 1227 | drivers/scsi/53c7,8xx.c | printk(", dma %d\n", dma); |
dma | 1339 | drivers/scsi/53c7,8xx.c | instance->dma_channel = dma; |
dma | 1571 | drivers/scsi/53c7,8xx.c | overrides[current_override].data.normal.dma, |
dma | 578 | 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 | 99 | drivers/scsi/g_NCR5380.c | int dma; |
dma | 140 | drivers/scsi/g_NCR5380.c | overrides[commandline_current].dma = ints[3]; |
dma | 142 | drivers/scsi/g_NCR5380.c | overrides[commandline_current].dma = DMA_NONE; |
dma | 498 | drivers/scsi/st.c | (!need_dma_buffer || st_buffers[i]->dma)) |
dma | 2328 | drivers/scsi/st.c | tb->dma = need_dma; |
dma | 15 | drivers/scsi/st.h | unsigned char dma; /* DMA-able buffer */ |
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 | 1744 | drivers/sound/ad1848.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
dma | 1746 | drivers/sound/ad1848.c | printk ("MSS: Bad DMA %d\n", hw_config->dma); |
dma | 1754 | drivers/sound/ad1848.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
dma | 1793 | drivers/sound/ad1848.c | hw_config->dma, |
dma | 1811 | drivers/sound/ad1848.c | outb (bits | dma_bits[hw_config->dma], config_port); /* Write IRQ+DMA setup */ |
dma | 1815 | drivers/sound/ad1848.c | hw_config->dma, |
dma | 1816 | drivers/sound/ad1848.c | hw_config->dma, 0, hw_config->osp); |
dma | 1826 | drivers/sound/ad1848.c | hw_config->dma, |
dma | 1827 | drivers/sound/ad1848.c | hw_config->dma, 0); |
dma | 1847 | drivers/sound/ad1848.c | hw_config->dma, |
dma | 1857 | 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 | 765 | drivers/sound/aedsp16.c | dma = hw_config->dma; |
dma | 89 | drivers/sound/cs4232.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
dma | 268 | drivers/sound/cs4232.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
dma | 288 | drivers/sound/cs4232.c | hw_config2.dma = -1; |
dma | 315 | drivers/sound/cs4232.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
dma | 334 | drivers/sound/cs4232.c | hw_config2.dma = -1; |
dma | 227 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.dma = hw_config->dma; |
dma | 285 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma = hw_config->dma; |
dma | 364 | drivers/sound/dev_table.c | int card_type, ioaddr, irq, dma, ptr, j; |
dma | 381 | drivers/sound/dev_table.c | dma = (val & 0x0000000f); |
dma | 398 | drivers/sound/dev_table.c | snd_installed_cards[ptr].config.dma = dma; |
dma | 515 | drivers/sound/dev_table.h | void sound_chconf(int card_type, int ioaddr, int irq, int dma); |
dma | 65 | drivers/sound/gus_card.c | if (sound_alloc_dma (hw_config->dma, "GUS")) |
dma | 67 | drivers/sound/gus_card.c | if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) |
dma | 94 | drivers/sound/gus_card.c | if (sound_alloc_dma (hw_config->dma, "GUS")) |
dma | 96 | drivers/sound/gus_card.c | if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) |
dma | 173 | drivers/sound/gus_card.c | sound_free_dma (hw_config->dma); |
dma | 175 | drivers/sound/gus_card.c | if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) |
dma | 255 | drivers/sound/gus_card.c | hw_config->dma, |
dma | 256 | drivers/sound/gus_card.c | hw_config->dma, 0, |
dma | 267 | drivers/sound/gus_card.c | hw_config->dma, |
dma | 268 | drivers/sound/gus_card.c | hw_config->dma, 0); |
dma | 2993 | 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 == 4) |
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 | 3155 | drivers/sound/gus_wave.c | audio_devs[gus_devnum]->dmachan1 = dma; |
dma | 3158 | drivers/sound/gus_wave.c | if (dma2 != dma && dma2 != -1) |
dma | 254 | drivers/sound/mad16.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
dma | 256 | drivers/sound/mad16.c | printk ("MSS: Bad DMA %d\n", hw_config->dma); |
dma | 264 | drivers/sound/mad16.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
dma | 427 | drivers/sound/mad16.c | int ad_flags = 0, dma = hw_config->dma, dma2 = hw_config->dma2; |
dma | 451 | drivers/sound/mad16.c | if (ad_flags & AD_F_CS4231 && dma2 != -1 && dma2 != dma) |
dma | 453 | drivers/sound/mad16.c | if ((dma == 0 && dma2 == 1) || |
dma | 454 | drivers/sound/mad16.c | (dma == 1 && dma2 == 0) || |
dma | 455 | drivers/sound/mad16.c | (dma == 3 && dma2 == 0)) |
dma | 463 | drivers/sound/mad16.c | dma2 = dma; |
dma | 467 | drivers/sound/mad16.c | dma2 = dma; |
dma | 469 | drivers/sound/mad16.c | outb (bits | dma_bits[dma] | dma2_bit, config_port); /* Write IRQ+DMA setup */ |
dma | 473 | drivers/sound/mad16.c | dma, |
dma | 623 | drivers/sound/mad16.c | hw_config->dma, |
dma | 207 | drivers/sound/pas2_card.c | if (hw_config->dma < 0 || hw_config->dma > 7) |
dma | 209 | drivers/sound/pas2_card.c | printk ("PAS2: Invalid DMA selection %d", hw_config->dma); |
dma | 214 | drivers/sound/pas2_card.c | pas_write (I_C_2_PCM_DMA_translate[hw_config->dma], IO_CONFIGURATION_2); |
dma | 215 | drivers/sound/pas2_card.c | if (!I_C_2_PCM_DMA_translate[hw_config->dma]) |
dma | 217 | drivers/sound/pas2_card.c | printk ("PAS2: Invalid DMA selection %d", hw_config->dma); |
dma | 222 | drivers/sound/pas2_card.c | if (sound_alloc_dma (hw_config->dma, "PAS16")) |
dma | 289 | drivers/sound/pas2_card.c | if (!E_C_SB_DMA_translate[sb_config->dma]) |
dma | 291 | drivers/sound/pas2_card.c | sb_config->dma); |
dma | 297 | drivers/sound/pas2_card.c | irq_dma = E_C_SB_DMA_translate[sb_config->dma] | |
dma | 421 | drivers/sound/pas2_card.c | sound_free_dma (hw_config->dma); |
dma | 458 | drivers/sound/pas2_pcm.c | audio_devs[my_devnum]->dmachan1 = hw_config->dma; |
dma | 81 | drivers/sound/pss.c | int dma; |
dma | 97 | drivers/sound/pss.c | int irq, dma; |
dma | 101 | drivers/sound/pss.c | dma = devc->dma = hw_config->dma; |
dma | 164 | drivers/sound/pss.c | set_dma (pss_config * devc, int dev, int dma) |
dma | 174 | drivers/sound/pss.c | if (dma < 0 || dma > 7) |
dma | 179 | drivers/sound/pss.c | if ((bits = dma_bits[dma]) == 0 && dma != 4) |
dma | 181 | drivers/sound/pss.c | printk ("PSS: Invalid DMA %d\n", dma); |
dma | 331 | drivers/sound/pss.c | devc->dma = hw_config->dma; |
dma | 349 | drivers/sound/pss.c | if (sound_alloc_dma (hw_config->dma, "PSS")) |
dma | 361 | drivers/sound/pss.c | if (!set_dma (devc, CONF_PSS, devc->dma)) |
dma | 819 | drivers/sound/pss.c | if (!set_dma (devc, CONF_WSS, hw_config->dma)) |
dma | 526 | drivers/sound/sb16_dsp.c | set_dma (int dma) |
dma | 528 | drivers/sound/sb16_dsp.c | if (dma >= 0 && dma < 4) |
dma | 529 | drivers/sound/sb16_dsp.c | dma8 = dma; |
dma | 530 | drivers/sound/sb16_dsp.c | if (dma >= 5 && dma <= 7) |
dma | 531 | drivers/sound/sb16_dsp.c | dma16 = dma; |
dma | 540 | drivers/sound/sb16_dsp.c | extern void Jazz16_set_dma16 (int dma); |
dma | 549 | drivers/sound/sb16_dsp.c | set_dma (hw_config->dma); |
dma | 567 | drivers/sound/sb16_dsp.c | dma8 = sb_config->dma; |
dma | 1239 | drivers/sound/sb_dsp.c | sbc_dma = hw_config->dma; |
dma | 1241 | drivers/sound/sb_dsp.c | dma8 = dma16 = hw_config->dma; |
dma | 1428 | drivers/sound/sb_dsp.c | Jazz16_set_dma16 (int dma) |
dma | 1430 | drivers/sound/sb_dsp.c | dma16 = dma; |
dma | 1598 | drivers/sound/sb_dsp.c | dma8 = audio_devs[my_dev]->dmachan1 = hw_config->dma; |
dma | 1599 | drivers/sound/sb_dsp.c | dma16 = audio_devs[my_dev]->dmachan2 = hw_config->dma; |
dma | 1600 | drivers/sound/sb_dsp.c | if (sound_alloc_dma (hw_config->dma, "SoundBlaster")) |
dma | 91 | drivers/sound/sound_calls.h | void conf_printf2(char *name, int base, int irq, int dma, int dma2); |
dma | 140 | drivers/sound/sound_config.h | int dma; |
dma | 188 | drivers/sound/sound_switch.c | if (snd_installed_cards[i].config.dma != -1) |
dma | 192 | drivers/sound/sound_switch.c | if (!put_status_int (snd_installed_cards[i].config.dma, 10)) |
dma | 748 | drivers/sound/soundcard.c | if (hw_config->dma != -1 || hw_config->dma2 != -1) |
dma | 750 | drivers/sound/soundcard.c | printk (" dma %d", hw_config->dma); |
dma | 759 | drivers/sound/soundcard.c | conf_printf2 (char *name, int base, int irq, int dma, int dma2) |
dma | 769 | drivers/sound/soundcard.c | if (dma != -1 || dma2 != -1) |
dma | 771 | drivers/sound/soundcard.c | printk (" dma %d", dma); |
dma | 93 | 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 | 520 | drivers/sound/sscape.c | clear_dma_ff (devc->dma); |
dma | 521 | drivers/sound/sscape.c | if ((resid = get_dma_residue (devc->dma)) == 0) |
dma | 992 | drivers/sound/sscape.c | audio_devs[my_dev]->dmachan1 = hw_config->dma; |
dma | 1020 | drivers/sound/sscape.c | devc->dma = hw_config->dma; |
dma | 1086 | drivers/sound/sscape.c | if (sound_alloc_dma (hw_config->dma, "soundscape")) |
dma | 1163 | drivers/sound/sscape.c | sscape_write (devc, GA_CDCFG_REG, 0x89 | (hw_config->dma << 4) | |
dma | 1171 | drivers/sound/sscape.c | hw_config->dma, |
dma | 1172 | drivers/sound/sscape.c | hw_config->dma, |
dma | 1203 | drivers/sound/sscape.c | sound_free_dma (hw_config->dma); |
dma | 1211 | drivers/sound/sscape.c | hw_config->dma, |
dma | 1212 | drivers/sound/sscape.c | hw_config->dma, |
dma | 187 | drivers/sound/trix.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
dma | 189 | drivers/sound/trix.c | printk ("AudioTriX: Bad WSS DMA %d\n", hw_config->dma); |
dma | 204 | drivers/sound/trix.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
dma | 235 | drivers/sound/trix.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
dma | 321 | drivers/sound/trix.c | tmp = hw_config->dma; |
dma | 328 | drivers/sound/trix.c | if (hw_config->dma == 3) |
dma | 441 | drivers/sound/trix.c | dma2 = hw_config->dma; |
dma | 448 | 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 | 147 | include/asm-sparc/dma.h | #define DMA_IRQ_ENTRY(dma, dregs) do { \ |
dma | 148 | include/asm-sparc/dma.h | if(DMA_ISBROKEN(dma)) DMA_INTSOFF(dregs); \ |
dma | 151 | include/asm-sparc/dma.h | #define DMA_IRQ_EXIT(dma, dregs) do { \ |
dma | 152 | include/asm-sparc/dma.h | if(DMA_ISBROKEN(dma)) DMA_INTSON(dregs); \ |
dma | 175 | include/asm-sparc/dma.h | #define DMA_RESET(dma) do { \ |
dma | 176 | include/asm-sparc/dma.h | struct sparc_dma_registers *regs = dma->regs; \ |
dma | 185 | include/asm-sparc/dma.h | if(dma->revision>dvmarev1) regs->cond_reg |= DMA_3CLKS; \ |
dma | 186 | include/asm-sparc/dma.h | dma->running = 0; \ |
dma | 189 | include/asm-sparc/dma.h | #define for_each_dvma(dma) \ |
dma | 190 | include/asm-sparc/dma.h | for((dma) = dma_chain; (dma); (dma) = (dma)->next) |
dma | 81 | include/linux/if.h | unsigned char dma; |
dma | 164 | include/linux/mm.h | extern unsigned long __get_free_pages(int priority, unsigned long gfporder, int dma); |
dma | 117 | include/linux/netdevice.h | unsigned char dma; /* DMA channel */ |
dma | 678 | ipc/shm.c | int shm_swap (int prio, int dma) |
dma | 715 | ipc/shm.c | if (dma && !PageDMA(MAP_NR(pte_page(page)) + mem_map)) |
dma | 116 | mm/filemap.c | int shrink_mmap(int priority, int dma) |
dma | 129 | mm/filemap.c | if (dma && !PageDMA(page)) |
dma | 202 | mm/kmalloc.c | int order, dma; |
dma | 222 | mm/kmalloc.c | dma = 0; |
dma | 226 | mm/kmalloc.c | dma = 1; |
dma | 264 | mm/kmalloc.c | sizes[order].gfporder, dma); |
dma | 140 | mm/page_alloc.c | #define RMQUEUE(order, dma) \ |
dma | 145 | mm/page_alloc.c | if (!dma || CAN_DMA(ret)) { \ |
dma | 173 | mm/page_alloc.c | unsigned long __get_free_pages(int priority, unsigned long order, int dma) |
dma | 195 | mm/page_alloc.c | RMQUEUE(order, dma); |
dma | 200 | mm/page_alloc.c | if (priority != GFP_BUFFER && try_to_free_page(priority, dma, 1)) |
dma | 71 | mm/vmscan.c | unsigned long address, pte_t * page_table, int dma, int wait) |
dma | 88 | mm/vmscan.c | || (dma && !PageDMA(page_map))) |
dma | 160 | mm/vmscan.c | pmd_t *dir, unsigned long address, unsigned long end, int dma, int wait) |
dma | 182 | mm/vmscan.c | result = try_to_swap_out(tsk, vma, address, pte, dma, wait); |
dma | 192 | mm/vmscan.c | pgd_t *dir, unsigned long address, unsigned long end, int dma, int wait) |
dma | 212 | mm/vmscan.c | int result = swap_out_pmd(tsk, vma, pmd, address, end, dma, wait); |
dma | 222 | mm/vmscan.c | pgd_t *pgdir, unsigned long start, int dma, int wait) |
dma | 233 | mm/vmscan.c | int result = swap_out_pgd(tsk, vma, pgdir, start, end, dma, wait); |
dma | 242 | mm/vmscan.c | static int swap_out_process(struct task_struct * p, int dma, int wait) |
dma | 263 | mm/vmscan.c | int result = swap_out_vma(p, vma, pgd_offset(p->mm, address), address, dma, wait); |
dma | 275 | mm/vmscan.c | static int swap_out(unsigned int priority, int dma, int wait) |
dma | 314 | mm/vmscan.c | switch (swap_out_process(p, dma, wait)) { |
dma | 333 | mm/vmscan.c | int try_to_free_page(int priority, int dma, int wait) |
dma | 341 | mm/vmscan.c | if (shrink_mmap(i, dma)) |
dma | 345 | mm/vmscan.c | if (shm_swap(i, dma)) |
dma | 349 | mm/vmscan.c | if (swap_out(i, dma, wait)) |
dma | 1210 | net/core/dev.c | ifr.ifr_map.dma=dev->dma; |