| /kernel/linux/linux-5.10/sound/isa/gus/ |
| D | gus_main.c | 99 if (gus->gf1.dma1 >= 0) { in snd_gus_free() 100 disable_dma(gus->gf1.dma1); in snd_gus_free() 101 free_dma(gus->gf1.dma1); in snd_gus_free() 119 int irq, int dma1, int dma2, in snd_gus_create() argument 145 gus->gf1.dma1 = -1; in snd_gus_create() 176 if (request_dma(dma1, "GUS - 1")) { in snd_gus_create() 177 snd_printk(KERN_ERR "gus: can't grab DMA1 %d\n", dma1); in snd_gus_create() 181 gus->gf1.dma1 = dma1; in snd_gus_create() 182 if (dma2 >= 0 && dma1 != dma2) { in snd_gus_create() 190 gus->gf1.dma2 = gus->gf1.dma1; in snd_gus_create() [all …]
|
| D | gusclassic.c | 33 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 1,3,5,6,7 */ variable 50 module_param_hw_array(dma1, int, dma, NULL, 0444); 51 MODULE_PARM_DESC(dma1, "DMA1 # for " CRD_NAME " driver."); 83 if (dma1[n] == SNDRV_AUTO_DMA) { in snd_gusclassic_create() 84 dma1[n] = snd_legacy_find_free_dma(possible_dmas); in snd_gusclassic_create() 85 if (dma1[n] < 0) { in snd_gusclassic_create() 86 dev_err(dev, "unable to find a free DMA1\n"); 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() 181 gus->gf1.port, gus->gf1.irq, gus->gf1.dma1); in snd_gusclassic_probe()
|
| D | gusextreme.c | 42 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; variable 68 module_param_hw_array(dma1, int, dma, NULL, 0444); 69 MODULE_PARM_DESC(dma1, "GF1 DMA # for " CRD_NAME " driver."); 135 if (dma1[n] == SNDRV_AUTO_DMA) { in snd_gusextreme_gus_card_create() 136 dma1[n] = snd_legacy_find_free_dma(possible_dmas); in snd_gusextreme_gus_card_create() 137 if (dma1[n] < 0) { in snd_gusextreme_gus_card_create() 142 return snd_gus_create(card, gf1_port[n], gf1_irq[n], dma1[n], -1, in snd_gusextreme_gus_card_create() 314 gus->gf1.irq, es1688->irq, gus->gf1.dma1, es1688->dma8); in snd_gusextreme_probe()
|
| /kernel/linux/linux-6.6/sound/isa/gus/ |
| D | gus_main.c | 99 if (gus->gf1.dma1 >= 0) { in snd_gus_free() 100 disable_dma(gus->gf1.dma1); in snd_gus_free() 101 free_dma(gus->gf1.dma1); in snd_gus_free() 119 int irq, int dma1, int dma2, in snd_gus_create() argument 145 gus->gf1.dma1 = -1; in snd_gus_create() 178 if (request_dma(dma1, "GUS - 1")) { in snd_gus_create() 179 snd_printk(KERN_ERR "gus: can't grab DMA1 %d\n", dma1); in snd_gus_create() 183 gus->gf1.dma1 = dma1; in snd_gus_create() 184 if (dma2 >= 0 && dma1 != dma2) { in snd_gus_create() 192 gus->gf1.dma2 = gus->gf1.dma1; in snd_gus_create() [all …]
|
| D | gusclassic.c | 32 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 1,3,5,6,7 */ variable 49 module_param_hw_array(dma1, int, dma, NULL, 0444); 50 MODULE_PARM_DESC(dma1, "DMA1 # for " CRD_NAME " driver."); 82 if (dma1[n] == SNDRV_AUTO_DMA) { in snd_gusclassic_create() 83 dma1[n] = snd_legacy_find_free_dma(possible_dmas); in snd_gusclassic_create() 84 if (dma1[n] < 0) { in snd_gusclassic_create() 85 dev_err(dev, "unable to find a free DMA1\n"); in snd_gusclassic_create() 98 return snd_gus_create(card, port[n], irq[n], dma1[n], dma2[n], in snd_gusclassic_create() 104 error = snd_gus_create(card, port[n], irq[n], dma1[n], dma2[n], in snd_gusclassic_create() 182 gus->gf1.port, gus->gf1.irq, gus->gf1.dma1); in snd_gusclassic_probe()
|
| D | gusextreme.c | 41 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; variable 67 module_param_hw_array(dma1, int, dma, NULL, 0444); 68 MODULE_PARM_DESC(dma1, "GF1 DMA # for " CRD_NAME " driver."); 134 if (dma1[n] == SNDRV_AUTO_DMA) { in snd_gusextreme_gus_card_create() 135 dma1[n] = snd_legacy_find_free_dma(possible_dmas); in snd_gusextreme_gus_card_create() 136 if (dma1[n] < 0) { in snd_gusextreme_gus_card_create() 141 return snd_gus_create(card, gf1_port[n], gf1_irq[n], dma1[n], -1, in snd_gusextreme_gus_card_create() 315 gus->gf1.irq, es1688->irq, gus->gf1.dma1, es1688->dma8); in snd_gusextreme_probe()
|
| /kernel/linux/linux-6.6/sound/isa/ad1848/ |
| D | ad1848.c | 31 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */ variable 44 module_param_hw_array(dma1, int, dma, NULL, 0444); 45 MODULE_PARM_DESC(dma1, "DMA1 # for " CRD_NAME " driver."); 62 if (dma1[n] == SNDRV_AUTO_DMA) { in snd_ad1848_match() 63 dev_err(dev, "please specify dma1\n"); in snd_ad1848_match() 79 error = snd_wss_create(card, port[n], -1, irq[n], dma1[n], -1, in snd_ad1848_probe() 101 chip->pcm->name, chip->port, irq[n], dma1[n]); in snd_ad1848_probe() 105 chip->pcm->name, chip->port, irq[n], dma1[n]); in snd_ad1848_probe()
|
| /kernel/linux/linux-6.6/sound/isa/cs423x/ |
| D | cs4231.c | 34 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */ variable 51 module_param_hw_array(dma1, int, dma, NULL, 0444); 52 MODULE_PARM_DESC(dma1, "DMA1 # for " CRD_NAME " driver."); 69 if (dma1[n] == SNDRV_AUTO_DMA) { in snd_cs4231_match() 70 dev_err(dev, "please specify dma1\n"); in snd_cs4231_match() 86 error = snd_wss_create(card, port[n], -1, irq[n], dma1[n], dma2[n], in snd_cs4231_probe() 103 chip->pcm->name, chip->port, irq[n], dma1[n]); in snd_cs4231_probe() 107 chip->pcm->name, chip->port, irq[n], dma1[n], dma2[n]); in snd_cs4231_probe()
|
| /kernel/linux/linux-5.10/sound/isa/ad1848/ |
| D | ad1848.c | 34 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */ variable 47 module_param_hw_array(dma1, int, dma, NULL, 0444); 48 MODULE_PARM_DESC(dma1, "DMA1 # for " CRD_NAME " driver."); 65 if (dma1[n] == SNDRV_AUTO_DMA) { in snd_ad1848_match() 66 dev_err(dev, "please specify dma1\n"); in snd_ad1848_match() 82 error = snd_wss_create(card, port[n], -1, irq[n], dma1[n], -1, in snd_ad1848_probe() 104 chip->pcm->name, chip->port, irq[n], dma1[n]); in snd_ad1848_probe() 108 chip->pcm->name, chip->port, irq[n], dma1[n]); in snd_ad1848_probe()
|
| /kernel/linux/linux-6.6/sound/isa/ |
| D | cmi8328.c | 42 static int dma1[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = SNDRV_AUTO_DMA}; variable 59 module_param_hw_array(dma1, int, dma, NULL, 0444); 60 MODULE_PARM_DESC(dma1, "DMA1 for CMI8328 driver."); 92 * bits 5-6: SB DMA: 00=disabled (when SB disabled), 01=DMA0, 10=DMA1, 11=DMA3 109 * bits 3-4: CD-ROM DMA: 00=disabled, 01=DMA0, 10=DMA1, 11=DMA3 258 if (dma1[ndev] == SNDRV_AUTO_DMA) { in snd_cmi8328_probe() 259 dma1[ndev] = snd_legacy_find_free_dma(dma1s); in snd_cmi8328_probe() 260 if (dma1[ndev] < 0) { in snd_cmi8328_probe() 261 snd_printk(KERN_ERR "unable to find a free DMA1\n"); in snd_cmi8328_probe() 266 dma2[ndev] = snd_legacy_find_free_dma(dma2s[dma1[ndev] % 4]); in snd_cmi8328_probe() [all …]
|
| /kernel/linux/linux-5.10/sound/isa/ |
| D | cmi8328.c | 42 static int dma1[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = SNDRV_AUTO_DMA}; variable 59 module_param_hw_array(dma1, int, dma, NULL, 0444); 60 MODULE_PARM_DESC(dma1, "DMA1 for CMI8328 driver."); 92 * bits 5-6: SB DMA: 00=disabled (when SB disabled), 01=DMA0, 10=DMA1, 11=DMA3 109 * bits 3-4: CD-ROM DMA: 00=disabled, 01=DMA0, 10=DMA1, 11=DMA3 258 if (dma1[ndev] == SNDRV_AUTO_DMA) { in snd_cmi8328_probe() 259 dma1[ndev] = snd_legacy_find_free_dma(dma1s); in snd_cmi8328_probe() 260 if (dma1[ndev] < 0) { in snd_cmi8328_probe() 261 snd_printk(KERN_ERR "unable to find a free DMA1\n"); in snd_cmi8328_probe() 266 dma2[ndev] = snd_legacy_find_free_dma(dma2s[dma1[ndev] % 4]); in snd_cmi8328_probe() [all …]
|
| D | es18xx.c | 23 * - The driver use dma2 for playback and dma1 for capture. 94 int dma1; /* DMA1 */ member 588 snd_dma_program(chip->dma1, runtime->dma_addr, size, DMA_MODE_READ | DMA_AUTOINIT); in snd_es18xx_capture_prepare() 652 snd_dma_program(chip->dma1, runtime->dma_addr, size, DMA_MODE_WRITE | DMA_AUTOINIT); in snd_es18xx_playback2_prepare() 800 pos = snd_dma_pointer(chip->dma1, size); in snd_es18xx_playback_pointer() 813 pos = snd_dma_pointer(chip->dma1, size); in snd_es18xx_capture_pointer() 1402 snd_es18xx_config_write(chip, 0x74, chip->dma1); in snd_es18xx_initialize() 1437 switch (chip->dma1) { in snd_es18xx_initialize() 1448 snd_printk(KERN_ERR "invalid dma1 %d\n", chip->dma1); in snd_es18xx_initialize() 1637 if (chip->dma1 == chip->dma2) in snd_es18xx_probe() [all …]
|
| /kernel/linux/linux-5.10/sound/isa/cs423x/ |
| D | cs4231.c | 35 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */ variable 52 module_param_hw_array(dma1, int, dma, NULL, 0444); 53 MODULE_PARM_DESC(dma1, "DMA1 # for " CRD_NAME " driver."); 70 if (dma1[n] == SNDRV_AUTO_DMA) { in snd_cs4231_match() 71 dev_err(dev, "please specify dma1\n"); in snd_cs4231_match() 87 error = snd_wss_create(card, port[n], -1, irq[n], dma1[n], dma2[n], in snd_cs4231_probe() 104 chip->pcm->name, chip->port, irq[n], dma1[n]); in snd_cs4231_probe() 108 chip->pcm->name, chip->port, irq[n], dma1[n], dma2[n]); in snd_cs4231_probe()
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/crypto/ |
| D | atmel-crypto.txt | 21 dmas = <&dma1 2 18>, 22 <&dma1 2 19>; 43 dmas = <&dma1 2 20>, 44 <&dma1 2 21>; 66 dmas = <&dma1 2 17>;
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/ |
| D | nv40.c | 38 u32 dma1 = nvkm_instmem_rd32(imem, inst + 4); in nv40_mpeg_mthd_dma() local 41 u32 size = dma1 + 1; in nv40_mpeg_mthd_dma() 45 nvkm_error(subdev, "inst %08x dma0 %08x dma1 %08x dma2 %08x\n", in nv40_mpeg_mthd_dma() 46 inst, dma0, dma1, dma2); in nv40_mpeg_mthd_dma()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/ |
| D | nv40.c | 38 u32 dma1 = nvkm_instmem_rd32(imem, inst + 4); in nv40_mpeg_mthd_dma() local 41 u32 size = dma1 + 1; in nv40_mpeg_mthd_dma() 45 nvkm_error(subdev, "inst %08x dma0 %08x dma1 %08x dma2 %08x\n", in nv40_mpeg_mthd_dma() 46 inst, dma0, dma1, dma2); in nv40_mpeg_mthd_dma()
|
| /kernel/linux/linux-6.6/sound/isa/opti9xx/ |
| D | opti92x-ad1848.c | 58 static int dma1 = SNDRV_DEFAULT_DMA1; /* 0,1,3 */ variable 83 module_param_hw(dma1, int, dma, 0444); 84 MODULE_PARM_DESC(dma1, "1st dma # for opti9xx driver."); 324 int irq, int dma1, int dma2, in snd_opti9xx_configure() argument 455 switch (dma1) { in snd_opti9xx_configure() 466 snd_printk(KERN_WARNING "WSS dma1 # %d not valid\n", dma1); in snd_opti9xx_configure() 471 if (dma1 == dma2) { in snd_opti9xx_configure() 774 dma1 = pnp_dma(pdev, 0); 818 error = snd_opti9xx_configure(chip, port, irq, dma1, xdma2, 823 error = snd_wss_create(card, chip->wss_base + 4, -1, irq, dma1, xdma2, [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/ |
| D | atmel-xdma.txt | 19 dma1: dma-controller@f0004000 { 45 dmas = <&dma1 48 <&dma1
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/dma/ |
| D | atmel-xdma.txt | 21 dma1: dma-controller@f0004000 { 47 dmas = <&dma1 50 <&dma1
|
| /kernel/linux/linux-6.6/sound/isa/galaxy/ |
| D | galaxy.c | 40 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; variable 55 module_param_hw_array(dma1, int, dma, NULL, 0444); 56 MODULE_PARM_DESC(dma1, "Playback DMA # for " CRD_NAME " driver."); 265 switch (dma1[n]) { in snd_galaxy_match() 267 dev_err(dev, "please specify dma1\n"); in snd_galaxy_match() 279 dev_err(dev, "invalid playback DMA %d\n", dma1[n]); in snd_galaxy_match() 283 if (dma2[n] == SNDRV_AUTO_DMA || dma2[n] == dma1[n]) { in snd_galaxy_match() 293 if (dma1[n] == 0) in snd_galaxy_match() 548 card->shortname, port[n], wss_port[n], irq[n], dma1[n], in __snd_galaxy_probe() 551 err = snd_wss_create(card, wss_port[n] + 4, -1, irq[n], dma1[n], in __snd_galaxy_probe()
|
| /kernel/linux/linux-5.10/sound/isa/galaxy/ |
| D | galaxy.c | 40 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; variable 55 module_param_hw_array(dma1, int, dma, NULL, 0444); 56 MODULE_PARM_DESC(dma1, "Playback DMA # for " CRD_NAME " driver."); 265 switch (dma1[n]) { in snd_galaxy_match() 267 dev_err(dev, "please specify dma1\n"); in snd_galaxy_match() 279 dev_err(dev, "invalid playback DMA %d\n", dma1[n]); in snd_galaxy_match() 283 if (dma2[n] == SNDRV_AUTO_DMA || dma2[n] == dma1[n]) { in snd_galaxy_match() 293 if (dma1[n] == 0) in snd_galaxy_match() 554 card->shortname, port[n], wss_port[n], irq[n], dma1[n], in snd_galaxy_probe() 557 err = snd_wss_create(card, wss_port[n] + 4, -1, irq[n], dma1[n], in snd_galaxy_probe()
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/microchip/ |
| D | sama5d3.dtsi | 270 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(0)>; 287 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(15)>, 288 <&dma1 2 AT91_DMA_CFG_PER_ID(16)>; 301 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(3)>, 302 <&dma1 2 AT91_DMA_CFG_PER_ID(4)>; 346 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(11)>, 347 <&dma1 2 AT91_DMA_CFG_PER_ID(12)>; 365 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(7)>, 366 <&dma1 2 (AT91_DMA_CFG_PER_ID(8) | AT91_DMA_CFG_FIFOCFG_ASAP)>; 380 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(9)>, [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | sama5d3.dtsi | 266 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(0)>; 283 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(15)>, 284 <&dma1 2 AT91_DMA_CFG_PER_ID(16)>; 297 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(3)>, 298 <&dma1 2 AT91_DMA_CFG_PER_ID(4)>; 366 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(11)>, 367 <&dma1 2 AT91_DMA_CFG_PER_ID(12)>; 384 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(7)>, 385 <&dma1 2 (AT91_DMA_CFG_PER_ID(8) | AT91_DMA_CFG_FIFOCFG_ASAP)>; 398 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(9)>, [all …]
|
| /kernel/linux/linux-5.10/sound/isa/ad1816a/ |
| D | ad1816a_lib.c | 222 snd_dma_program(chip->dma1, runtime->dma_addr, size, in snd_ad1816a_playback_prepare() 280 ptr = snd_dma_pointer(chip->dma1, chip->p_dma_size); in snd_ad1816a_playback_pointer() 432 snd_pcm_limit_isa_dma_size(chip->dma1, &runtime->hw.buffer_bytes_max); in snd_ad1816a_playback_open() 433 snd_pcm_limit_isa_dma_size(chip->dma1, &runtime->hw.period_bytes_max); in snd_ad1816a_playback_open() 546 if (chip->dma1 >= 0) { in snd_ad1816a_free() 547 snd_dma_disable(chip->dma1); in snd_ad1816a_free() 548 free_dma(chip->dma1); in snd_ad1816a_free() 577 unsigned long port, int irq, int dma1, int dma2, in snd_ad1816a_create() argument 586 chip->dma1 = -1; in snd_ad1816a_create() 601 if (request_dma(dma1, "AD1816A - 1")) { in snd_ad1816a_create() [all …]
|
| /kernel/linux/linux-5.10/sound/isa/opti9xx/ |
| D | opti92x-ad1848.c | 64 static int dma1 = SNDRV_DEFAULT_DMA1; /* 0,1,3 */ variable 89 module_param_hw(dma1, int, dma, 0444); 90 MODULE_PARM_DESC(dma1, "1st dma # for opti9xx driver."); 330 int irq, int dma1, int dma2, in snd_opti9xx_configure() argument 461 switch (dma1) { in snd_opti9xx_configure() 472 snd_printk(KERN_WARNING "WSS dma1 # %d not valid\n", dma1); in snd_opti9xx_configure() 477 if (dma1 == dma2) { in snd_opti9xx_configure() 777 dma1 = pnp_dma(pdev, 0); 837 error = snd_opti9xx_configure(chip, port, irq, dma1, xdma2, 842 error = snd_wss_create(card, chip->wss_base + 4, -1, irq, dma1, xdma2, [all …]
|