/sound/isa/gus/ |
D | gusclassic.c | 53 static int pcm_channels[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2}; variable 73 module_param_array(pcm_channels, int, NULL, 0444); 74 MODULE_PARM_DESC(pcm_channels, "Reserved PCM channels for " CRD_NAME " driver."); 114 0, channels[n], pcm_channels[n], 0, rgus); in snd_gusclassic_create() 120 0, channels[n], pcm_channels[n], 0, rgus); in snd_gusclassic_create() 155 if (pcm_channels[n] < 2) in snd_gusclassic_probe() 156 pcm_channels[n] = 2; in snd_gusclassic_probe()
|
D | gus_main.c | 136 int pcm_channels, in snd_gus_create() argument 211 if (pcm_channels < 0) in snd_gus_create() 212 pcm_channels = 0; in snd_gus_create() 213 if (pcm_channels > 8) in snd_gus_create() 214 pcm_channels = 8; in snd_gus_create() 215 pcm_channels++; in snd_gus_create() 216 pcm_channels &= ~1; in snd_gus_create() 219 gus->gf1.pcm_channels = pcm_channels; in snd_gus_create()
|
D | gusmax.c | 51 static int pcm_channels[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2}; variable 71 module_param_array(pcm_channels, int, NULL, 0444); 72 MODULE_PARM_DESC(pcm_channels, "Reserved PCM channels for GUS MAX driver."); 256 pcm_channels[dev], in snd_gusmax_probe() 268 pcm_channels[dev], in snd_gusmax_probe() 324 if (pcm_channels[dev] > 0) { in snd_gusmax_probe()
|
D | gusextreme.c | 61 static int pcm_channels[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2}; variable 89 module_param_array(pcm_channels, int, NULL, 0444); 90 MODULE_PARM_DESC(pcm_channels, "Reserved PCM channels for " CRD_NAME " driver."); 156 0, channels[n], pcm_channels[n], 0, rgus); in snd_gusextreme_gus_card_create() 293 if (pcm_channels[n] > 0) { in snd_gusextreme_probe()
|
D | interwave.c | 73 static int pcm_channels[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 2}; variable 112 module_param_array(pcm_channels, int, NULL, 0444); 113 MODULE_PARM_DESC(pcm_channels, "Reserved PCM channels for InterWave driver."); 666 pcm_channels[dev], effect[dev], &gus)) < 0) in snd_interwave_probe() 717 if (pcm_channels[dev] > 0) { in snd_interwave_probe()
|
D | gus_reset.c | 265 if (gus->gf1.pcm_alloc_voices >= gus->gf1.pcm_channels) { in snd_gf1_alloc_voice()
|
D | gus_pcm.c | 853 gus->gf1.pcm_channels / 2, in snd_gf1_pcm_new()
|
/sound/oss/ |
D | pas2_pcm.c | 39 static unsigned char pcm_channels = 1; /* channels (1 or 2) */ variable 64 if (pcm_channels & 2) in pcm_set_speed() 125 return pcm_channels; in pcm_set_channels() 127 if (arg != pcm_channels) in pcm_set_channels() 131 pcm_channels = arg; in pcm_set_channels() 134 return pcm_channels; in pcm_set_channels() 186 ret = pcm_channels; in pas_audio_ioctl()
|
/sound/pci/trident/ |
D | trident.c | 51 static int pcm_channels[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 32}; variable 60 module_param_array(pcm_channels, int, NULL, 0444); 61 MODULE_PARM_DESC(pcm_channels, "Number of hardware channels assigned for PCM."); 97 pcm_channels[dev], in snd_trident_probe()
|
/sound/pci/cs46xx/ |
D | dsp_spos_scb_lib.c | 1288 if (ins->pcm_channels[i].active) { in cs46xx_dsp_create_pcm_channel() 1290 ins->pcm_channels[i].sample_rate == sample_rate && in cs46xx_dsp_create_pcm_channel() 1291 ins->pcm_channels[i].mixer_scb == mixer_scb) { in cs46xx_dsp_create_pcm_channel() 1292 src_scb = ins->pcm_channels[i].src_scb; in cs46xx_dsp_create_pcm_channel() 1293 ins->pcm_channels[i].src_scb->ref_count ++; in cs46xx_dsp_create_pcm_channel() 1294 src_index = ins->pcm_channels[i].src_slot; in cs46xx_dsp_create_pcm_channel() 1377 ins->pcm_channels[pcm_index].sample_rate = sample_rate; in cs46xx_dsp_create_pcm_channel() 1378 ins->pcm_channels[pcm_index].pcm_reader_scb = pcm_scb; in cs46xx_dsp_create_pcm_channel() 1379 ins->pcm_channels[pcm_index].src_scb = src_scb; in cs46xx_dsp_create_pcm_channel() 1380 ins->pcm_channels[pcm_index].unlinked = 1; in cs46xx_dsp_create_pcm_channel() [all …]
|
D | cs46xx_lib.c | 1189 if (ins->pcm_channels[i].active && in snd_cs46xx_interrupt() 1190 ins->pcm_channels[i].private_data && in snd_cs46xx_interrupt() 1191 !ins->pcm_channels[i].unlinked) { in snd_cs46xx_interrupt() 1192 cpcm = ins->pcm_channels[i].private_data; in snd_cs46xx_interrupt() 1199 if (ins->pcm_channels[i].active && in snd_cs46xx_interrupt() 1200 ins->pcm_channels[i].private_data && in snd_cs46xx_interrupt() 1201 !ins->pcm_channels[i].unlinked) { in snd_cs46xx_interrupt() 1202 cpcm = ins->pcm_channels[i].private_data; in snd_cs46xx_interrupt()
|
/sound/pcmcia/pdaudiocf/ |
D | pdaudiocf_irq.c | 214 if (chip->pcm_channels == 1) { in pdacf_transfer() 220 if (chip->pcm_channels == 1) { in pdacf_transfer() 229 if (chip->pcm_channels == 1) { in pdacf_transfer() 243 if (chip->pcm_channels == 1) { in pdacf_transfer()
|
D | pdaudiocf.h | 106 unsigned int pcm_channels; member
|
D | pdaudiocf_pcm.c | 173 chip->pcm_channels = runtime->channels; in pdacf_pcm_prepare()
|
/sound/pci/ali5451/ |
D | ali5451.c | 50 static int pcm_channels = 32; variable 57 module_param(pcm_channels, int, 0444); 58 MODULE_PARM_DESC(pcm_channels, "PCM Channels"); 2314 err = snd_ali_create(card, pci, pcm_channels, spdif, &codec); in snd_ali_probe()
|