/kernel/linux/linux-5.10/sound/isa/gus/ |
D | gus_main.c | 103 if (!gus->equal_dma && gus->gf1.dma2 >= 0) { in snd_gus_free() 104 disable_dma(gus->gf1.dma2); in snd_gus_free() 105 free_dma(gus->gf1.dma2); in snd_gus_free() 119 int irq, int dma1, int dma2, in snd_gus_create() argument 146 gus->gf1.dma2 = -1; in snd_gus_create() 182 if (dma2 >= 0 && dma1 != dma2) { in snd_gus_create() 183 if (request_dma(dma2, "GUS - 2")) { in snd_gus_create() 184 snd_printk(KERN_ERR "gus: can't grab DMA2 %d\n", dma2); in snd_gus_create() 188 gus->gf1.dma2 = dma2; in snd_gus_create() 190 gus->gf1.dma2 = gus->gf1.dma1; in snd_gus_create() [all …]
|
D | gusclassic.c | 34 static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 1,3,5,6,7 */ variable 52 module_param_hw_array(dma2, int, dma, NULL, 0444); 53 MODULE_PARM_DESC(dma2, "DMA2 # for " CRD_NAME " driver."); 90 if (dma2[n] == SNDRV_AUTO_DMA) { in snd_gusclassic_create() 91 dma2[n] = snd_legacy_find_free_dma(possible_dmas); in snd_gusclassic_create() 92 if (dma2[n] < 0) { in snd_gusclassic_create() 99 return snd_gus_create(card, port[n], irq[n], dma1[n], dma2[n], in snd_gusclassic_create() 105 error = snd_gus_create(card, port[n], irq[n], dma1[n], dma2[n], in snd_gusclassic_create() 183 if (gus->gf1.dma2 >= 0) in snd_gusclassic_probe() 185 "&%d", gus->gf1.dma2); in snd_gusclassic_probe()
|
D | gusmax.c | 32 static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 1,3,5,6,7 */ variable 50 module_param_hw_array(dma2, int, dma, NULL, 0444); 51 MODULE_PARM_DESC(dma2, "DMA2 # for GUS MAX driver."); 122 if (gus->gf1.dma2 > 3) in snd_gusmax_init() 227 xdma2 = dma2[dev]; in snd_gusmax_probe()
|
D | interwave.c | 53 static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */ variable 90 module_param_hw_array(dma2, int, dma, NULL, 0444); 91 MODULE_PARM_DESC(dma2, "DMA2 # for InterWave driver."); 570 if (dma2[dev] >= 0) in snd_interwave_pnp() 571 dma2[dev] = pnp_dma(pdev, 1); in snd_interwave_pnp() 577 snd_printdd("isapnp IW: dma1=%i, dma2=%i, irq=%i\n", dma1[dev], dma2[dev], irq[dev]); in snd_interwave_pnp() 640 xdma2 = dma2[dev]; in snd_interwave_probe() 806 if (dma2[dev] == SNDRV_AUTO_DMA) { in snd_interwave_isa_probe() 807 if ((dma2[dev] = snd_legacy_find_free_dma(possible_dmas)) < 0) { in snd_interwave_isa_probe()
|
/kernel/linux/linux-5.10/sound/isa/ |
D | cmi8328.c | 43 static int dma2[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = SNDRV_AUTO_DMA}; variable 61 module_param_hw_array(dma2, int, dma, NULL, 0444); 62 MODULE_PARM_DESC(dma2, "DMA2 for CMI8328 driver."); 265 if (dma2[ndev] == SNDRV_AUTO_DMA) { in snd_cmi8328_probe() 266 dma2[ndev] = snd_legacy_find_free_dma(dma2s[dma1[ndev] % 4]); in snd_cmi8328_probe() 267 if (dma2[ndev] < 0) { in snd_cmi8328_probe() 269 dma2[ndev] = -1; in snd_cmi8328_probe() 287 if (dma2[ndev] >= 0 && dma1[ndev] != dma2[ndev]) { in snd_cmi8328_probe() 288 pos = array_find(dma2s[dma1[ndev]], dma2[ndev]); in snd_cmi8328_probe() 290 snd_printk(KERN_ERR "invalid DMA2 %d\n", dma2[ndev]); in snd_cmi8328_probe() [all …]
|
D | es18xx.c | 95 int dma2; /* DMA2 */ member 480 snd_dma_program(chip->dma2, runtime->dma_addr, size, DMA_MODE_WRITE | DMA_AUTOINIT); in snd_es18xx_playback1_prepare() 496 if (chip->dma2 >= 4) in snd_es18xx_playback1_trigger() 795 pos = snd_dma_pointer(chip->dma2, size); in snd_es18xx_playback_pointer() 1404 snd_es18xx_config_write(chip, 0x75, chip->dma2); in snd_es18xx_initialize() 1451 switch (chip->dma2) { in snd_es18xx_initialize() 1465 snd_printk(KERN_ERR "invalid dma2 %d\n", chip->dma2); in snd_es18xx_initialize() 1637 if (chip->dma1 == chip->dma2) in snd_es18xx_probe() 1691 chip->dma1 > 3 || chip->dma2 > 3 ? 128*1024 : 64*1024); in snd_es18xx_pcm() 1737 if (chip->dma2 >= 0 && chip->dma1 != chip->dma2) { in snd_es18xx_free() [all …]
|
D | azt2320.c | 54 static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* PnP setup */ variable 114 dma2[dev] = pnp_dma(pdev, 1); in snd_card_azt2320_pnp() 194 dma1[dev], dma2[dev], in snd_card_azt2320_probe() 204 card->shortname, chip->port, irq[dev], dma1[dev], dma2[dev]); in snd_card_azt2320_probe()
|
D | sscape.c | 43 static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; variable 67 module_param_hw_array(dma2, int, dma, NULL, 0444); 68 MODULE_PARM_DESC(dma2, "DMA2 # for SoundScape driver."); 837 int irq, int dma1, int dma2) in create_ad1845() argument 864 err = snd_wss_create(card, port, -1, irq, dma1, dma2, in create_ad1845() 1058 dma[dev], dma2[dev]); in create_sscape() 1070 sscape->chip->dma1, sscape->chip->dma2); in create_sscape() 1272 dma2[idx] = dma[idx]; in sscape_pnp_detect() 1276 dma2[idx] = pnp_dma(dev, 1); in sscape_pnp_detect()
|
/kernel/linux/linux-5.10/sound/isa/cs423x/ |
D | cs4231.c | 36 static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */ variable 54 module_param_hw_array(dma2, int, dma, NULL, 0444); 55 MODULE_PARM_DESC(dma2, "DMA2 # for " CRD_NAME " driver."); 87 error = snd_wss_create(card, port[n], -1, irq[n], dma1[n], dma2[n], in snd_cs4231_probe() 101 if (dma2[n] < 0) in snd_cs4231_probe() 108 chip->pcm->name, chip->port, irq[n], dma1[n], dma2[n]); in snd_cs4231_probe()
|
D | cs4236.c | 74 static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */ variable 102 module_param_hw_array(dma2, int, dma, NULL, 0444); 103 MODULE_PARM_DESC(dma2, "DMA2 # for " IDENT " driver."); 251 dma2[dev] = pnp_dma(pdev, 1) == 4 ? -1 : (int)pnp_dma(pdev, 1); in snd_cs423x_pnp_init_wss() 255 irq[dev], dma1[dev], dma2[dev]); in snd_cs423x_pnp_init_wss() 384 dma1[dev], dma2[dev], in snd_cs423x_probe() 410 if (dma2[dev] < 0) in snd_cs423x_probe() 418 dma2[dev]); in snd_cs423x_probe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/ |
D | nv40.c | 39 u32 dma2 = nvkm_instmem_rd32(imem, inst + 8); in nv40_mpeg_mthd_dma() local 40 u32 base = (dma2 & 0xfffff000) | (dma0 >> 20); in nv40_mpeg_mthd_dma() 46 inst, dma0, dma1, dma2); in nv40_mpeg_mthd_dma()
|
D | nv31.c | 132 u32 dma2 = nvkm_rd32(device, 0x700008 + inst); in nv31_mpeg_mthd_dma() local 133 u32 base = (dma2 & 0xfffff000) | (dma0 >> 20); in nv31_mpeg_mthd_dma() 139 inst, dma0, dma1, dma2); in nv31_mpeg_mthd_dma()
|
/kernel/linux/linux-5.10/sound/isa/galaxy/ |
D | galaxy.c | 41 static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; variable 57 module_param_hw_array(dma2, int, dma, NULL, 0444); 58 MODULE_PARM_DESC(dma2, "Capture DMA # for " CRD_NAME " driver."); 283 if (dma2[n] == SNDRV_AUTO_DMA || dma2[n] == dma1[n]) { in snd_galaxy_match() 284 dma2[n] = -1; in snd_galaxy_match() 289 switch (dma2[n]) { in snd_galaxy_match() 297 dev_err(dev, "invalid capture DMA %d\n", dma2[n]); in snd_galaxy_match() 555 dma2[n]); in snd_galaxy_probe() 558 dma2[n], WSS_HW_DETECT, 0, &chip); in snd_galaxy_probe()
|
/kernel/linux/linux-5.10/sound/isa/wavefront/ |
D | wavefront.c | 40 static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */ variable 59 module_param_hw_array(dma2, int, dma, NULL, 0444); 60 MODULE_PARM_DESC(dma2, "DMA2 # for CS4232 PCM interface."); 151 dma2[dev] = pnp_dma(pdev, 1); in snd_wavefront_pnp() 194 dma2[dev], in snd_wavefront_pnp() 363 cs4232_pcm_irq[dev], dma1[dev], dma2[dev], in snd_wavefront_probe() 512 if (dma2[dev] >= 0 && dma2[dev] < 8) in snd_wavefront_probe() 513 sprintf(card->longname + strlen(card->longname), "&%d", dma2[dev]); in snd_wavefront_probe()
|
/kernel/linux/linux-5.10/sound/isa/ad1816a/ |
D | ad1816a_lib.c | 254 snd_dma_program(chip->dma2, runtime->dma_addr, size, in snd_ad1816a_capture_prepare() 290 ptr = snd_dma_pointer(chip->dma2, chip->c_dma_size); in snd_ad1816a_capture_pointer() 447 snd_pcm_limit_isa_dma_size(chip->dma2, &runtime->hw.buffer_bytes_max); in snd_ad1816a_capture_open() 448 snd_pcm_limit_isa_dma_size(chip->dma2, &runtime->hw.period_bytes_max); in snd_ad1816a_capture_open() 550 if (chip->dma2 >= 0) { in snd_ad1816a_free() 551 snd_dma_disable(chip->dma2); in snd_ad1816a_free() 552 free_dma(chip->dma2); in snd_ad1816a_free() 577 unsigned long port, int irq, int dma1, int dma2, in snd_ad1816a_create() argument 587 chip->dma2 = -1; in snd_ad1816a_create() 607 if (request_dma(dma2, "AD1816A - 2")) { in snd_ad1816a_create() [all …]
|
D | ad1816a.c | 42 static int dma2[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* PnP setup */ variable 104 dma2[dev] = pnp_dma(pdev, 1); in snd_card_ad1816a_pnp() 149 dma2[dev], in snd_card_ad1816a_probe() 160 card->shortname, chip->port, irq[dev], dma1[dev], dma2[dev]); in snd_card_ad1816a_probe()
|
/kernel/linux/linux-5.10/sound/isa/opti9xx/ |
D | miro.c | 48 static int dma2 = SNDRV_DEFAULT_DMA1; /* 0,1,3 */ variable 71 module_param_hw(dma2, int, dma, 0444); 72 MODULE_PARM_DESC(dma2, "2nd dma # for miro driver."); 112 int dma2; member 779 chip->dma2 = -1; in snd_miro_init() 943 snd_iprintf(buffer, " dma : %d,%d\n\n", miro->dma1, miro->dma2); in snd_miro_proc_read() 1085 if (chip->dma1 == chip->dma2) { in snd_miro_configure() 1090 switch (chip->dma2) { in snd_miro_configure() 1095 snd_printk(KERN_ERR "WSS dma2 # %d not valid\n", chip->dma2); in snd_miro_configure() 1288 miro->dma2 = dma2; in snd_miro_probe() [all …]
|
D | opti92x-ad1848.c | 66 static int dma2 = SNDRV_DEFAULT_DMA1; /* 0,1,3 */ variable 92 module_param_hw(dma2, int, dma, 0444); 93 MODULE_PARM_DESC(dma2, "2nd dma # for opti9xx driver."); 330 int irq, int dma1, int dma2, in snd_opti9xx_configure() argument 477 if (dma1 == dma2) { in snd_opti9xx_configure() 482 switch (dma2) { in snd_opti9xx_configure() 487 snd_printk(KERN_WARNING "WSS dma2 # %d not valid\n", dma2); in snd_opti9xx_configure() 779 dma2 = pnp_dma(pdev, 1); 825 xdma2 = dma2; 1003 if (dma2 == SNDRV_AUTO_DMA) { [all …]
|
/kernel/linux/linux-5.10/sound/isa/wss/ |
D | wss_lib.c | 1039 snd_dma_program(chip->dma2, runtime->dma_addr, size, DMA_MODE_READ | DMA_AUTOINIT); in snd_wss_capture_prepare() 1142 ptr = snd_dma_pointer(chip->dma2, chip->c_dma_size); in snd_wss_capture_pointer() 1532 snd_pcm_limit_isa_dma_size(chip->dma2, &runtime->hw.buffer_bytes_max); in snd_wss_capture_open() 1533 snd_pcm_limit_isa_dma_size(chip->dma2, &runtime->hw.period_bytes_max); in snd_wss_capture_open() 1536 if ((err = chip->claim_dma(chip, chip->dma_private_data, chip->dma2)) < 0) in snd_wss_capture_open() 1543 chip->release_dma(chip, chip->dma_private_data, chip->dma2); in snd_wss_capture_open() 1670 chip->dma2 >= 0 && chip->dma2 != chip->dma1) { in snd_wss_free() 1671 snd_dma_disable(chip->dma2); in snd_wss_free() 1672 free_dma(chip->dma2); in snd_wss_free() 1770 int irq, int dma1, int dma2, in snd_wss_create() argument [all …]
|
/kernel/linux/linux-5.10/include/sound/ |
D | ad1816a.h | 119 int dma2; member 158 int irq, int dma1, int dma2,
|
D | wss.h | 71 int dma2; /* record DMA */ member 138 int irq, int dma1, int dma2, 151 int irq, int dma1, int dma2,
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | stm32f429.dtsi | 503 dmas = <&dma2 2 4 0x400 0x0>, 504 <&dma2 7 4 0x400 0x0>; 535 dmas = <&dma2 0 0 0x400 0x0>; 547 dmas = <&dma2 3 1 0x400 0x0>; 559 dmas = <&dma2 1 2 0x400 0x0>; 666 dmas = <&dma2 3 2 0x400 0x0>, 667 <&dma2 4 2 0x400 0x0>; 730 dma2: dma-controller@40026400 { label 789 dmas = <&dma2 1 1 0x414 0x3>;
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | hdlcdrv.h | 12 int dma2; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | hdlcdrv.h | 20 int dma2; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | hdlcdrv.h | 25 int dma2; member
|