Home
last modified time | relevance | path

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

123

/Linux-v5.4/sound/isa/gus/
Dgus_main.c108 if (gus->gf1.dma1 >= 0) { in snd_gus_free()
109 disable_dma(gus->gf1.dma1); in snd_gus_free()
110 free_dma(gus->gf1.dma1); in snd_gus_free()
128 int irq, int dma1, int dma2, in snd_gus_create() argument
154 gus->gf1.dma1 = -1; in snd_gus_create()
184 if (request_dma(dma1, "GUS - 1")) { in snd_gus_create()
185 snd_printk(KERN_ERR "gus: can't grab DMA1 %d\n", dma1); in snd_gus_create()
189 gus->gf1.dma1 = dma1; in snd_gus_create()
190 if (dma2 >= 0 && dma1 != dma2) { in snd_gus_create()
198 gus->gf1.dma2 = gus->gf1.dma1; in snd_gus_create()
[all …]
Dgusclassic.c33 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()
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()
Dgusextreme.c42 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()
Dgusmax.c31 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 1,3,5,6,7 */ variable
48 module_param_hw_array(dma1, int, dma, NULL, 0444);
49 MODULE_PARM_DESC(dma1, "DMA1 # for GUS MAX driver.");
120 if (gus->gf1.dma1 > 3) in snd_gusmax_init()
219 xdma1 = dma1[dev]; in snd_gusmax_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()
162 snd_dma_disable(gus->gf1.dma1); in snd_gf1_dma_done()
/Linux-v5.4/sound/isa/ad1848/
Dad1848.c34 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()
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()
/Linux-v5.4/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.c94 int dma1; /* DMA1 */ member
597 snd_dma_program(chip->dma1, runtime->dma_addr, size, DMA_MODE_READ | DMA_AUTOINIT); in snd_es18xx_capture_prepare()
661 snd_dma_program(chip->dma1, runtime->dma_addr, size, DMA_MODE_WRITE | DMA_AUTOINIT); in snd_es18xx_playback2_prepare()
809 pos = snd_dma_pointer(chip->dma1, size); in snd_es18xx_playback_pointer()
822 pos = snd_dma_pointer(chip->dma1, size); in snd_es18xx_capture_pointer()
1413 snd_es18xx_config_write(chip, 0x74, chip->dma1); in snd_es18xx_initialize()
1448 switch (chip->dma1) { in snd_es18xx_initialize()
1459 snd_printk(KERN_ERR "invalid dma1 %d\n", chip->dma1); in snd_es18xx_initialize()
1648 if (chip->dma1 == chip->dma2) in snd_es18xx_probe()
1707 chip->dma1 > 3 || chip->dma2 > 3 ? 128*1024 : 64*1024); in snd_es18xx_pcm()
[all …]
Dazt2320.c53 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* PnP setup */ variable
113 dma1[dev] = pnp_dma(pdev, 0); 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()
/Linux-v5.4/sound/isa/cs423x/
Dcs4231.c35 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()
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()
Dcs4236.c73 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */ variable
100 module_param_hw_array(dma1, int, dma, NULL, 0444);
101 MODULE_PARM_DESC(dma1, "DMA1 # for " IDENT " driver.");
250 dma1[dev] = pnp_dma(pdev, 0); in snd_cs423x_pnp_init_wss()
255 irq[dev], dma1[dev], dma2[dev]); in snd_cs423x_pnp_init_wss()
383 dma1[dev], dma2[dev], in snd_cs423x_probe()
412 chip->pcm->name, chip->port, irq[dev], dma1[dev]); in snd_cs423x_probe()
416 chip->pcm->name, chip->port, irq[dev], dma1[dev], in snd_cs423x_probe()
464 if (dma1[dev] == SNDRV_AUTO_DMA) { in snd_cs423x_isa_match()
/Linux-v5.4/Documentation/devicetree/bindings/crypto/
Datmel-crypto.txt21 dmas = <&dma1 2 18>,
22 <&dma1 2 19>;
43 dmas = <&dma1 2 20>,
44 <&dma1 2 21>;
66 dmas = <&dma1 2 17>;
/Linux-v5.4/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-v5.4/sound/isa/opti9xx/
Dopti92x-ad1848.c64 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.");
327 int irq, int dma1, int dma2, in snd_opti9xx_configure() argument
456 switch (dma1) { in snd_opti9xx_configure()
467 snd_printk(KERN_WARNING "WSS dma1 # %d not valid\n", dma1); in snd_opti9xx_configure()
472 if (dma1 == dma2) { in snd_opti9xx_configure()
772 dma1 = pnp_dma(pdev, 0);
832 error = snd_opti9xx_configure(chip, port, irq, dma1, xdma2,
837 error = snd_wss_create(card, chip->wss_base + 4, -1, irq, dma1, xdma2,
[all …]
Dmiro.c47 static int dma1 = SNDRV_DEFAULT_DMA1; /* 0,1,3 */ variable
69 module_param_hw(dma1, int, dma, 0444);
70 MODULE_PARM_DESC(dma1, "1st dma # for miro driver.");
111 int dma1; member
778 chip->dma1 = -1; in snd_miro_init()
940 snd_iprintf(buffer, " dma : %d,%d\n\n", miro->dma1, miro->dma2); in snd_miro_proc_read()
1067 switch (chip->dma1) { in snd_miro_configure()
1078 snd_printk(KERN_ERR "WSS dma1 # %d not valid\n", chip->dma1); in snd_miro_configure()
1082 if (chip->dma1 == chip->dma2) { in snd_miro_configure()
1284 miro->dma1 = dma1; in snd_miro_probe()
[all …]
/Linux-v5.4/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()
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()
/Linux-v5.4/sound/isa/ad1816a/
Dad1816a_lib.c233 snd_dma_program(chip->dma1, runtime->dma_addr, size, in snd_ad1816a_playback_prepare()
291 ptr = snd_dma_pointer(chip->dma1, chip->p_dma_size); in snd_ad1816a_playback_pointer()
443 snd_pcm_limit_isa_dma_size(chip->dma1, &runtime->hw.buffer_bytes_max); in snd_ad1816a_playback_open()
444 snd_pcm_limit_isa_dma_size(chip->dma1, &runtime->hw.period_bytes_max); in snd_ad1816a_playback_open()
557 if (chip->dma1 >= 0) { in snd_ad1816a_free()
558 snd_dma_disable(chip->dma1); in snd_ad1816a_free()
559 free_dma(chip->dma1); in snd_ad1816a_free()
588 unsigned long port, int irq, int dma1, int dma2, in snd_ad1816a_create() argument
597 chip->dma1 = -1; in snd_ad1816a_create()
611 if (request_dma(dma1, "AD1816A - 1")) { in snd_ad1816a_create()
[all …]
Dad1816a.c41 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* PnP setup */ variable
103 dma1[dev] = pnp_dma(pdev, 0); in snd_card_ad1816a_pnp()
148 dma1[dev], in snd_card_ad1816a_probe()
160 card->shortname, chip->port, irq[dev], dma1[dev], dma2[dev]); in snd_card_ad1816a_probe()
/Linux-v5.4/Documentation/devicetree/bindings/dma/
Datmel-xdma.txt21 dma1: dma-controller@f0004000 {
47 dmas = <&dma1
50 <&dma1
/Linux-v5.4/sound/isa/wavefront/
Dwavefront.c39 static int dma1[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3,5,6,7 */ variable
57 module_param_hw_array(dma1, int, dma, NULL, 0444);
58 MODULE_PARM_DESC(dma1, "DMA1 # for CS4232 PCM interface.");
150 dma1[dev] = pnp_dma(pdev, 0); in snd_wavefront_pnp()
193 dma1[dev], in snd_wavefront_pnp()
363 cs4232_pcm_irq[dev], dma1[dev], dma2[dev], in snd_wavefront_probe()
509 dma1[dev]); in snd_wavefront_probe()
/Linux-v5.4/arch/arm/boot/dts/
Dat91sam9x5_usart3.dtsi50 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(14)>,
51 <&dma1 1 (AT91_DMA_CFG_PER_ID(15) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
Dsama5d4.dtsi319 dma1: dma-controller@f0004000 { label
372 dmas = <&dma1
409 dmas = <&dma1
412 <&dma1
436 dmas = <&dma1
439 <&dma1
454 dmas = <&dma1
457 <&dma1
515 dmas = <&dma1
518 <&dma1
[all …]
/Linux-v5.4/sound/isa/wss/
Dwss_lib.c1012 snd_dma_program(chip->dma1, runtime->dma_addr, size, DMA_MODE_WRITE | DMA_AUTOINIT); in snd_wss_playback_prepare()
1147 ptr = snd_dma_pointer(chip->dma1, chip->p_dma_size); in snd_wss_playback_pointer()
1500 if (chip->hardware == WSS_HW_INTERWAVE && chip->dma1 > 3) in snd_wss_playback_open()
1508 snd_pcm_limit_isa_dma_size(chip->dma1, &runtime->hw.buffer_bytes_max); in snd_wss_playback_open()
1509 snd_pcm_limit_isa_dma_size(chip->dma1, &runtime->hw.period_bytes_max); in snd_wss_playback_open()
1512 if ((err = chip->claim_dma(chip, chip->dma_private_data, chip->dma1)) < 0) in snd_wss_playback_open()
1519 chip->release_dma(chip, chip->dma_private_data, chip->dma1); in snd_wss_playback_open()
1681 if (!(chip->hwshare & WSS_HWSHARE_DMA1) && chip->dma1 >= 0) { in snd_wss_free()
1682 snd_dma_disable(chip->dma1); in snd_wss_free()
1683 free_dma(chip->dma1); in snd_wss_free()
[all …]
/Linux-v5.4/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,

123