Home
last modified time | relevance | path

Searched full:dma1 (Results 1 – 25 of 189) sorted by relevance

12345678

/openbmc/linux/sound/isa/gus/
H A 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 …]
H A 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()
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()
H A 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()
H A 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()
217 snd_printk(KERN_ERR PFX "unable to find a free DMA1\n"); in snd_gusmax_probe()
H A 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()
[all …]
/openbmc/linux/sound/isa/ad1848/
H A 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()
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()
/openbmc/linux/sound/isa/cs423x/
H A 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()
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()
H A 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()
219 snd_printdd("isapnp WSS: irq=%i, dma1=%i, dma2=%i\n", 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()
[all …]
/openbmc/linux/sound/isa/
H A 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.");
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 …]
H A Des18xx.c23 * - The driver use dma2 for playback and dma1 for capture.
91 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()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/
H A 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()
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()
/openbmc/linux/sound/isa/opti9xx/
H A 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 …]
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/dma/
H A Datmel-xdma.txt21 dma1: dma-controller@f0004000 {
47 dmas = <&dma1
50 <&dma1
/openbmc/u-boot/arch/arm/dts/
H A Dsama5d4.dtsi331 dma1: dma-controller@f0004000 { label
837 dmas = <&dma1
854 dmas = <&dma1
857 <&dma1
874 dmas = <&dma1
877 <&dma1
901 dmas = <&dma1
904 <&dma1
919 dmas = <&dma1
922 <&dma1
[all …]
H A Dsama5d3.dtsi252 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(0)>;
269 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(15)>,
270 <&dma1 2 AT91_DMA_CFG_PER_ID(16)>;
283 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(3)>,
284 <&dma1 2 AT91_DMA_CFG_PER_ID(4)>;
356 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(11)>,
357 <&dma1 2 AT91_DMA_CFG_PER_ID(12)>;
371 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(7)>,
372 <&dma1 2 (AT91_DMA_CFG_PER_ID(8) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
385 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(9)>,
[all …]
H A Dat91sam9x5_usart3.dtsi60 dmas = <&dma1 1 AT91_DMA_CFG_PER_ID(14)>,
61 <&dma1 1 (AT91_DMA_CFG_PER_ID(15) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
/openbmc/linux/sound/isa/galaxy/
H A 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()
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()
/openbmc/linux/arch/arm/boot/dts/microchip/
H A 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 …]
H A 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 …]
H A 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)>;
/openbmc/linux/sound/isa/ad1816a/
H A 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 …]
/openbmc/linux/Documentation/arch/arm/
H A Dnetwinder.rst15 0x0000 0x000f DMA1
19 0x0080 0x0087 DMA1
40 0x0480 0x0487 DMA1
/openbmc/linux/sound/isa/wavefront/
H A 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()
189 …snd_printdd ("CS4232: pcm port=0x%lx, fm port=0x%lx, dma1=%i, dma2=%i, irq=%i\nICS2115: port=0x%lx… 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()
/openbmc/linux/arch/sh/drivers/pci/
H A Dpci-sh4.h60 #define SH4_PCICLR_MDMA1 0x20000000 /* DMA1 Transfer Error */
96 #define SH4_PCIDPA1 0x190 /* DMA1 Transfer Addr. */
97 #define SH4_PCIDLA1 0x194 /* DMA1 Local Addr. */
98 #define SH4_PCIDTC1 0x198 /* DMA1 Transfer Cnt. */
99 #define SH4_PCIDCR1 0x19C /* DMA1 Control Register */

12345678