/openbmc/linux/sound/isa/sb/ |
H A D | sb_common.c | 176 int dma16, in snd_sbdsp_create() argument 195 chip->dma16 = -1; in snd_sbdsp_create() 226 if (dma16 >= 0) { in snd_sbdsp_create() 227 if (hardware != SB_HW_ALS100 && (dma16 < 5 || dma16 > 7)) { in snd_sbdsp_create() 229 dma16 = -1; in snd_sbdsp_create() 230 } else if (snd_devm_request_dma(card->dev, dma16, in snd_sbdsp_create() 232 snd_printk(KERN_ERR "sb: can't grab DMA16 %d\n", dma16); in snd_sbdsp_create() 236 chip->dma16 = dma16; in snd_sbdsp_create()
|
H A D | jazz16.c | 42 static int dma16[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; variable 60 module_param_hw_array(dma16, int, dma, NULL, 0444); 61 MODULE_PARM_DESC(dma16, "DMA16 # for jazz16 driver."); 163 jazz_dma_bits[chip->dma16] == 0 || in jazz16_configure_board() 172 (jazz_dma_bits[chip->dma16] << 4))) in jazz16_configure_board() 199 if (dma16[dev] != SNDRV_AUTO_DMA && in snd_jazz16_match() 200 dma16[dev] != 5 && dma16[dev] != 7) { in snd_jazz16_match() 252 xdma16 = dma16[dev]; in snd_jazz16_probe() 271 dma8[dev], dma16[dev], in snd_jazz16_probe()
|
H A D | sb16_main.c | 509 if (chip->dma16 >= 0 && !(chip->mode & SB_MODE_CAPTURE_16)) { in snd_sb16_playback_open() 513 if (chip->dma16 <= 3) { in snd_sb16_playback_open() 526 if (chip->dma16 < 0) { in snd_sb16_playback_open() 584 if (chip->dma16 >= 0 && !(chip->mode & SB_MODE_PLAYBACK_16)) { in snd_sb16_capture_open() 588 if (chip->dma16 <= 3) { in snd_sb16_capture_open() 601 if (chip->dma16 < 0) { in snd_sb16_capture_open() 648 if (chip->dma8 < 0 || chip->dma16 < 0) { in snd_sb16_set_dma_mode() 667 if (chip->dma8 < 0 || chip->dma16 < 0) in snd_sb16_get_dma_mode() 772 if (chip->dma16 >= 0 && chip->dma16 != chip->dma8) { in snd_sb16dsp_configure() 773 switch (chip->dma16) { in snd_sb16dsp_configure() [all …]
|
H A D | sb16.c | 60 static int dma16[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 5,6,7 */ variable 93 module_param_hw_array(dma16, int, dma, NULL, 0444); 94 MODULE_PARM_DESC(dma16, "16-bit DMA # for SB16 driver."); 256 dma16[dev] = pnp_dma(pdev, 1); in snd_card_sb16_pnp() 261 dma8[dev], dma16[dev], irq[dev]); in snd_card_sb16_pnp() 323 xdma16 = dma16[dev]; in snd_sb16_probe() 516 if (dma16[dev] == SNDRV_AUTO_DMA) { in snd_sb16_isa_probe() 517 dma16[dev] = snd_legacy_find_free_dma(possible_dmas16); in snd_sb16_isa_probe() 518 if (dma16[dev] < 0) { in snd_sb16_isa_probe()
|
H A D | sb8_main.c | 137 dma = chip->dma16; in snd_sb8_playback_prepare() 276 dma = chip->dma16; in snd_sb8_capture_prepare() 394 dma = chip->dma16; in snd_sb8_playback_pointer() 410 dma = chip->dma16; in snd_sb8_capture_pointer() 485 if (chip->dma16 == 5 || chip->dma16 == 7) in snd_sb8_open() 515 if (chip->dma8 > 3 || chip->dma16 >= 0) { in snd_sb8_open() 580 if (chip->dma8 > 3 || chip->dma16 >= 0) in snd_sb8dsp_pcm()
|
/openbmc/linux/sound/pci/ |
H A D | cs5530.c | 82 u8 irq, dma8, dma16 = 0; in snd_cs5530_create() local 128 dma16 = 5; in snd_cs5530_create() 130 dma16 = 6; in snd_cs5530_create() 132 dma16 = 7; in snd_cs5530_create() 162 dev_info(card->dev, "IRQ: %d DMA8: %d DMA16: %d\n", irq, dma8, dma16); in snd_cs5530_create() 165 dma16, SB_HW_CS5530, &chip->sb); in snd_cs5530_create()
|
/openbmc/linux/sound/isa/ |
H A D | als100.c | 41 static int dma16[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* PnP setup */ variable 123 dma16[dev] = pnp_dma(pdev, 0); in snd_card_als100_pnp() 185 dma16[dev] = -1; in snd_card_als100_probe() 189 dma8[dev], dma16[dev], in snd_card_als100_probe() 208 dma16[dev]); in snd_card_als100_probe()
|
/openbmc/qemu/hw/isa/ |
H A D | isa-bus.c | 107 void isa_bus_dma(ISABus *bus, IsaDma *dma8, IsaDma *dma16) in isa_bus_dma() argument 109 assert(bus && dma8 && dma16); in isa_bus_dma() 112 bus->dma[1] = dma16; in isa_bus_dma()
|
/openbmc/linux/include/sound/ |
H A D | sb.h | 56 int dma16; /* 16-bit DMA */ member 283 int dma8, int dma16,
|
/openbmc/qemu/include/hw/isa/ |
H A D | isa.h | 73 void isa_bus_dma(ISABus *bus, IsaDma *dma8, IsaDma *dma16);
|
/openbmc/qemu/docs/ |
H A D | qdev-device-use.txt | 326 sb16 -device sb16,iobase=IOADDR,irq=IRQ,dma=DMA,dma16=DMA16,version=V
|
/openbmc/linux/Documentation/sound/ |
H A D | alsa-configuration.rst | 1426 dma16 2002 dma16 2008 disable 16bit DMA with dma16 = -1 module parameter.
|