Searched refs:max_channels (Results 1 - 21 of 21) sorted by relevance

/sound/synth/emux/
H A Demux_seq.c142 int max_channels, int oss_port,
153 p->chset.channels = kcalloc(max_channels, sizeof(struct snd_midi_channel), GFP_KERNEL);
159 for (i = 0; i < max_channels; i++)
162 p->chset.max_channels = max_channels;
180 cap, type, max_channels,
243 for (i = 0; i < port->chset.max_channels; i++) {
141 snd_emux_create_port(struct snd_emux *emu, char *name, int max_channels, int oss_port, struct snd_seq_port_callback *callback) argument
H A Demux_effect.c283 p->effect = kcalloc(p->chset.max_channels,
286 for (i = 0; i < p->chset.max_channels; i++)
289 for (i = 0; i < p->chset.max_channels; i++)
306 p->chset.max_channels);
H A Demux_voice.h34 int max_channels, int type,
H A Demux_oss.c352 if (voice < 0 || voice >= port->chset.max_channels)
410 for (i = 0; i < port->chset.max_channels; i++) {
451 if (voice < 0 || voice >= port->chset.max_channels)
/sound/core/seq/
H A Dseq_midi_emul.c99 if (dest_channel >= chanset->max_channels) {
101 dest_channel, chanset->max_channels);
389 for (i = 0; i < chset->max_channels; i++) {
537 if (p < chset->max_channels) {
548 if (p < chset->max_channels &&
579 for (i = 0; i < chset->max_channels; i++) {
670 for (ch = 0; ch < chset->max_channels; ch++) {
696 chset->max_channels = n;
/sound/pci/hda/
H A Dpatch_cmedia.c164 spec->num_channel_modes, spec->multiout.max_channels);
172 spec->num_channel_modes, &spec->multiout.max_channels);
666 spec->multiout.max_channels = cmi9880_channel_modes[0].channels;
672 spec->multiout.max_channels = 8;
681 spec->multiout.max_channels = 8;
713 spec->multiout.max_channels = cmi9880_channel_modes[0].channels;
722 spec->multiout.max_channels = 8;
726 spec->multiout.max_channels = cfg.line_outs * 2;
H A Dpatch_analog.c43 * max_channels, dacs must be set
459 info->stream[SNDRV_PCM_STREAM_PLAYBACK].channels_max = spec->multiout.max_channels;
1189 spec->multiout.max_channels = 6;
1222 spec->multiout.max_channels = 2;
1227 spec->multiout.max_channels = 2;
1238 spec->multiout.max_channels = 2;
1252 spec->multiout.max_channels = 2;
1269 spec->multiout.max_channels = 2;
1286 spec->multiout.max_channels = 2;
1303 spec->multiout.max_channels
[all...]
H A Dhda_local.h254 int max_channels);
275 int max_channels; /* currently supported analog channels */ member in struct:hda_multi_out
H A Dpatch_ca0110.c312 spec->multiout.max_channels;
420 spec->multiout.max_channels = n * 2;
H A Dpatch_conexant.c80 * max_channels, dacs must be set
340 spec->multiout.max_channels;
672 spec->multiout.max_channels);
682 &spec->multiout.max_channels);
684 spec->multiout.num_dacs = spec->multiout.max_channels / 2;
1140 spec->multiout.max_channels = 2;
1581 spec->multiout.max_channels = 2;
2016 spec->multiout.max_channels = 2;
3144 spec->multiout.max_channels = 2;
3443 spec->multiout.max_channels
[all...]
H A Dpatch_via.c1573 spec->multiout.max_channels;
2175 spec->multiout.max_channels = spec->multiout.num_dacs * 2;
2669 spec->multiout.max_channels = spec->multiout.num_dacs * 2;
3201 spec->multiout.max_channels = spec->multiout.num_dacs * 2;
3790 spec->multiout.max_channels = spec->multiout.num_dacs * 2;
4148 spec->multiout.max_channels = spec->multiout.num_dacs * 2;
4571 spec->multiout.max_channels = spec->multiout.num_dacs * 2;
5101 spec->multiout.max_channels = spec->multiout.num_dacs * 2;
5592 spec->multiout.max_channels = spec->multiout.num_dacs * 2;
6042 spec->multiout.max_channels
[all...]
H A Dpatch_hdmi.c1498 spec->multiout.max_channels = 2;
1517 spec->multiout.max_channels = 8;
1613 spec->multiout.max_channels = 2;
H A Dpatch_cirrus.c285 spec->multiout.max_channels;
391 spec->multiout.max_channels = i * 2;
H A Dpatch_realtek.c339 * max_channels, dacs must be set
572 spec->multiout.max_channels = spec->ext_channel_count;
574 spec->multiout.num_dacs = spec->multiout.max_channels / 2;
968 spec->multiout.max_channels = preset->const_channel_count;
970 spec->multiout.max_channels = spec->channel_mode[0].channels;
5730 spec->multiout.max_channels = spec->multiout.num_dacs * 2;
7361 spec->multiout.max_channels = 2;
11262 spec->multiout.max_channels = spec->multiout.num_dacs * 2;
12679 spec->multiout.max_channels = 2;
12692 spec->multiout.max_channels
[all...]
H A Dhda_codec.c4105 int max_channels)
4110 if (max_channels == chmode[i].channels) {
4322 runtime->hw.channels_max = mout->max_channels;
4101 snd_hda_ch_mode_get(struct hda_codec *codec, struct snd_ctl_elem_value *ucontrol, const struct hda_channel_mode *chmode, int num_chmodes, int max_channels) argument
H A Dpatch_sigmatel.c3906 spec->multiout.max_channels = spec->multiout.num_dacs * 2;
3907 if (spec->multiout.max_channels > 2)
5016 spec->multiout.max_channels = 2;
5091 spec->multiout.max_channels = 2;
/sound/pci/echoaudio/
H A Dechoaudio.c266 signed char max_channels)
273 if (max_channels <= 0)
286 DE_HWP(("max_channels=%d\n", max_channels));
289 for (i = 0; channels_list[i] <= max_channels; i++);
291 if (pipe->hw.channels_max > max_channels)
292 pipe->hw.channels_max = max_channels;
378 int max_channels, err; local
381 max_channels = num_pipes_out(chip);
383 max_channels
265 pcm_open(struct snd_pcm_substream *substream, signed char max_channels) argument
416 int err, max_channels; local
458 int err, max_channels; local
[all...]
/sound/pci/
H A Datiixp.c278 int max_channels; /* max. channels for PCM out */ member in struct:atiixp
1094 substream->runtime->hw.channels_max = chip->max_channels;
1095 if (chip->max_channels > 2)
1273 chip->max_channels = 2;
1276 chip->max_channels = 6;
1278 chip->max_channels = 4;
H A Dcmipci.c473 int max_channels; member in struct:cmipci
1726 runtime->hw.channels_max = cm->max_channels;
1727 if (cm->max_channels == 4)
1729 else if (cm->max_channels == 6)
1731 else if (cm->max_channels == 8)
2840 cm->max_channels = 2;
2845 cm->max_channels = 6;
2847 cm->max_channels = 4;
2850 cm->max_channels = 8;
2854 cm->max_channels
[all...]
H A Datiixp_modem.c253 int max_channels; /* max. channels for PCM out */ member in struct:atiixp_modem
/sound/pci/rme9652/
H A Dhdsp.c480 unsigned char max_channels; member in struct:hdsp
2925 if (source >= hdsp->max_channels)
2926 addr = hdsp_playback_to_output_key(hdsp,source-hdsp->max_channels,destination);
2951 if (source >= hdsp->max_channels)
2952 addr = hdsp_playback_to_output_key(hdsp,source-hdsp->max_channels, destination);
4201 if (snd_BUG_ON(channel < 0 || channel >= hdsp->max_channels))
4367 if (snd_BUG_ON(info->channel >= hdsp->max_channels))
5213 for (i = 0; i < hdsp->max_channels; ++i) {
5435 hdsp->max_channels = 26;
5467 hdsp->max_channels
[all...]

Completed in 353 milliseconds