Home
last modified time | relevance | path

Searched refs:pcm_channels (Results 1 – 15 of 15) sorted by relevance

/sound/isa/gus/
Dgusclassic.c53 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()
Dgus_main.c136 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()
Dgusmax.c51 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()
Dgusextreme.c61 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()
Dinterwave.c73 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()
Dgus_reset.c265 if (gus->gf1.pcm_alloc_voices >= gus->gf1.pcm_channels) { in snd_gf1_alloc_voice()
Dgus_pcm.c853 gus->gf1.pcm_channels / 2, in snd_gf1_pcm_new()
/sound/oss/
Dpas2_pcm.c39 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/
Dtrident.c51 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/
Ddsp_spos_scb_lib.c1288 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 …]
Dcs46xx_lib.c1189 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/
Dpdaudiocf_irq.c214 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()
Dpdaudiocf.h106 unsigned int pcm_channels; member
Dpdaudiocf_pcm.c173 chip->pcm_channels = runtime->channels; in pdacf_pcm_prepare()
/sound/pci/ali5451/
Dali5451.c50 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()