Home
last modified time | relevance | path

Searched refs:dma1 (Results 1 – 25 of 76) sorted by relevance

1234

/linux-6.1.9/sound/isa/gus/ !
Dgus_main.c99 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 …]
Dgusclassic.c32 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()
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()
Dgusextreme.c41 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()
Dgusmax.c30 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 1,3,5,6,7 */ variable
47 module_param_hw_array(dma1, int, dma, NULL, 0444);
48 MODULE_PARM_DESC(dma1, "DMA1 # for GUS MAX driver.");
121 if (gus->gf1.dma1 > 3) in snd_gusmax_init()
213 xdma1 = dma1[dev]; in snd_gusmax_probe()
Dinterwave.c46 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */ variable
82 module_param_hw_array(dma1, int, dma, NULL, 0444);
83 MODULE_PARM_DESC(dma1, "DMA1 # for InterWave driver.");
578 dma1[dev] = pnp_dma(pdev, 0); in snd_interwave_pnp()
586 snd_printdd("isapnp IW: dma1=%i, dma2=%i, irq=%i\n", dma1[dev], dma2[dev], irq[dev]); in snd_interwave_pnp()
624 return snd_gus_create(card, port[dev], -irq[dev], dma1[dev], dma2[dev], in snd_interwave_probe_gus()
641 xdma1 = dma1[dev]; in snd_interwave_probe()
787 if (dma1[dev] == SNDRV_AUTO_DMA) { in snd_interwave_isa_probe()
788 dma1[dev] = snd_legacy_find_free_dma(possible_dmas); in snd_interwave_isa_probe()
789 if (dma1[dev] < 0) { in snd_interwave_isa_probe()
Dgus_dma.c36 if (gus->gf1.dma1 > 3) { in snd_gf1_dma_program()
58 if (gus->gf1.dma1 > 3) { in snd_gf1_dma_program()
64 …snd_dma_program(gus->gf1.dma1, buf_addr, count, dma_cmd & SNDRV_GF1_DMA_READ ? DMA_MODE_READ : DMA… in snd_gf1_dma_program()
164 snd_dma_disable(gus->gf1.dma1); in snd_gf1_dma_done()
/linux-6.1.9/sound/isa/ad1848/ !
Dad1848.c31 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()
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()
/linux-6.1.9/sound/isa/ !
Dcmi8328.c42 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.");
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()
266 dma2[ndev] = snd_legacy_find_free_dma(dma2s[dma1[ndev] % 4]); in snd_cmi8328_probe()
280 pos = array_find(dma1s, dma1[ndev]); in snd_cmi8328_probe()
282 snd_printk(KERN_ERR "invalid DMA1 %d\n", dma1[ndev]); in snd_cmi8328_probe()
287 if (dma2[ndev] >= 0 && dma1[ndev] != dma2[ndev]) { in snd_cmi8328_probe()
[all …]
Des18xx.c91 int dma1; /* DMA1 */ member
585 snd_dma_program(chip->dma1, runtime->dma_addr, size, DMA_MODE_READ | DMA_AUTOINIT); in snd_es18xx_capture_prepare()
649 snd_dma_program(chip->dma1, runtime->dma_addr, size, DMA_MODE_WRITE | DMA_AUTOINIT); in snd_es18xx_playback2_prepare()
797 pos = snd_dma_pointer(chip->dma1, size); in snd_es18xx_playback_pointer()
810 pos = snd_dma_pointer(chip->dma1, size); in snd_es18xx_capture_pointer()
1396 snd_es18xx_config_write(chip, 0x74, chip->dma1); in snd_es18xx_initialize()
1431 switch (chip->dma1) { in snd_es18xx_initialize()
1442 snd_printk(KERN_ERR "invalid dma1 %d\n", chip->dma1); in snd_es18xx_initialize()
1633 if (chip->dma1 == chip->dma2) in snd_es18xx_probe()
1687 chip->dma1 > 3 || chip->dma2 > 3 ? 128*1024 : 64*1024); in snd_es18xx_pcm()
[all …]
Dazt2320.c48 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* PnP setup */ variable
108 dma1[dev] = pnp_dma(pdev, 0); in snd_card_azt2320_pnp()
189 dma1[dev], dma2[dev], in snd_card_azt2320_probe()
197 card->shortname, chip->port, irq[dev], dma1[dev], dma2[dev]); in snd_card_azt2320_probe()
/linux-6.1.9/sound/isa/cs423x/ !
Dcs4231.c34 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()
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()
Dcs4236.c39 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */ variable
66 module_param_hw_array(dma1, int, dma, NULL, 0444);
67 MODULE_PARM_DESC(dma1, "DMA1 # for " IDENT " driver.");
215 dma1[dev] = pnp_dma(pdev, 0); in snd_cs423x_pnp_init_wss()
220 irq[dev], dma1[dev], dma2[dev]); in snd_cs423x_pnp_init_wss()
343 dma1[dev], dma2[dev], in snd_cs423x_probe()
372 chip->pcm->name, chip->port, irq[dev], dma1[dev]); in snd_cs423x_probe()
376 chip->pcm->name, chip->port, irq[dev], dma1[dev], in snd_cs423x_probe()
425 if (dma1[dev] == SNDRV_AUTO_DMA) { in snd_cs423x_isa_match()
/linux-6.1.9/sound/isa/opti9xx/ !
Dopti92x-ad1848.c58 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 …]
Dmiro.c44 static int dma1 = SNDRV_DEFAULT_DMA1; /* 0,1,3 */ variable
66 module_param_hw(dma1, int, dma, 0444);
67 MODULE_PARM_DESC(dma1, "1st dma # for miro driver.");
108 int dma1; member
783 chip->dma1 = -1; in snd_miro_init()
948 snd_iprintf(buffer, " dma : %d,%d\n\n", miro->dma1, miro->dma2); in snd_miro_proc_read()
1075 switch (chip->dma1) { in snd_miro_configure()
1086 snd_printk(KERN_ERR "WSS dma1 # %d not valid\n", chip->dma1); in snd_miro_configure()
1090 if (chip->dma1 == chip->dma2) { in snd_miro_configure()
1286 miro->dma1 = dma1; in snd_miro_probe()
[all …]
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/ !
Dnv40.c38 u32 dma1 = nvkm_instmem_rd32(imem, inst + 4); in nv40_mpeg_mthd_dma() local
41 u32 size = dma1 + 1; in nv40_mpeg_mthd_dma()
46 inst, dma0, dma1, dma2); in nv40_mpeg_mthd_dma()
/linux-6.1.9/sound/isa/galaxy/ !
Dgalaxy.c40 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()
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()
/linux-6.1.9/Documentation/devicetree/bindings/dma/ !
Datmel-xdma.txt20 dma1: dma-controller@f0004000 {
46 dmas = <&dma1
49 <&dma1
/linux-6.1.9/sound/isa/wavefront/ !
Dwavefront.c38 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */ variable
56 module_param_hw_array(dma1, int, dma, NULL, 0444);
57 MODULE_PARM_DESC(dma1, "DMA1 # for CS4232 PCM interface.");
149 dma1[dev] = pnp_dma(pdev, 0); in snd_wavefront_pnp()
192 dma1[dev], in snd_wavefront_pnp()
349 cs4232_pcm_irq[dev], dma1[dev], dma2[dev], in snd_wavefront_probe()
498 dma1[dev]); in snd_wavefront_probe()
/linux-6.1.9/sound/isa/ad1816a/ !
Dad1816a.c34 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* PnP setup */ variable
96 dma1[dev] = pnp_dma(pdev, 0); in snd_card_ad1816a_pnp()
140 dma1[dev], in snd_card_ad1816a_probe()
151 card->shortname, chip->port, irq[dev], dma1[dev], dma2[dev]); in snd_card_ad1816a_probe()
Dad1816a_lib.c223 snd_dma_program(chip->dma1, runtime->dma_addr, size, in snd_ad1816a_playback_prepare()
281 ptr = snd_dma_pointer(chip->dma1, chip->p_dma_size); in snd_ad1816a_playback_pointer()
434 snd_pcm_limit_isa_dma_size(chip->dma1, &runtime->hw.buffer_bytes_max); in snd_ad1816a_playback_open()
435 snd_pcm_limit_isa_dma_size(chip->dma1, &runtime->hw.period_bytes_max); in snd_ad1816a_playback_open()
558 unsigned long port, int irq, int dma1, int dma2, in snd_ad1816a_create() argument
564 chip->dma1 = -1; in snd_ad1816a_create()
579 if (snd_devm_request_dma(card->dev, dma1, "AD1816A - 1")) { in snd_ad1816a_create()
580 snd_printk(KERN_ERR "ad1816a: can't grab DMA1 %d\n", dma1); in snd_ad1816a_create()
583 chip->dma1 = dma1; in snd_ad1816a_create()
632 pcm->info_flags = (chip->dma1 == chip->dma2 ) ? SNDRV_PCM_INFO_JOINT_DUPLEX : 0; in snd_ad1816a_pcm()
[all …]
/linux-6.1.9/arch/arm/boot/dts/ !
Dsama5d3.dtsi270 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 …]
Dsama5d4.dtsi213 dma1: dma-controller@f0004000 { label
266 dmas = <&dma1
304 dmas = <&dma1
307 <&dma1
331 dmas = <&dma1
334 <&dma1
349 dmas = <&dma1
352 <&dma1
416 dmas = <&dma1
419 <&dma1
[all …]
Dat91sam9x5_usart3.dtsi52 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(14)>,
53 <&dma1 1 (AT91_DMA_CFG_PER_ID(15) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
/linux-6.1.9/include/sound/ !
Dad1816a.h118 int dma1; member
158 int irq, int dma1, int dma2,
Dwss.h70 int dma1; /* playback DMA */ member
138 int irq, int dma1, int dma2,
151 int irq, int dma1, int dma2,

1234