Home
last modified time | relevance | path

Searched refs:channel_id (Results 1 – 10 of 10) sorted by relevance

/sound/pci/ca0106/
Dca0106_main.c506 int channel_id) in snd_ca0106_channel_dac() argument
508 switch (channel_id) { in snd_ca0106_channel_dac()
519 channel_id); in snd_ca0106_channel_dac()
524 static int snd_ca0106_pcm_power_dac(struct snd_ca0106 *chip, int channel_id, in snd_ca0106_pcm_power_dac() argument
529 channel_id); in snd_ca0106_pcm_power_dac()
547 int channel_id) in snd_ca0106_pcm_open_playback_channel() argument
550 struct snd_ca0106_channel *channel = &(chip->playback_channels[channel_id]); in snd_ca0106_pcm_open_playback_channel()
561 epcm->channel_id=channel_id; in snd_ca0106_pcm_open_playback_channel()
569 channel->number = channel_id; in snd_ca0106_pcm_open_playback_channel()
587 if (channel_id != PCM_FRONT_CHANNEL) { in snd_ca0106_pcm_open_playback_channel()
[all …]
Dca0106_mixer.c416 int channel_id, reg; in snd_ca0106_volume_get() local
418 channel_id = (kcontrol->private_value >> 8) & 0xff; in snd_ca0106_volume_get()
421 value = snd_ca0106_ptr_read(emu, reg, channel_id); in snd_ca0106_volume_get()
432 int channel_id, reg; in snd_ca0106_volume_put() local
434 channel_id = (kcontrol->private_value >> 8) & 0xff; in snd_ca0106_volume_put()
437 oval = snd_ca0106_ptr_read(emu, reg, channel_id); in snd_ca0106_volume_put()
444 snd_ca0106_ptr_write(emu, reg, channel_id, nval); in snd_ca0106_volume_put()
658 int channel_id) in snd_ca0106_volume_spi_dac_ctl() argument
670 switch (channel_id) { in snd_ca0106_volume_spi_dac_ctl()
874 unsigned int channel_id; member
[all …]
Dca0106_proc.c387 unsigned int reg, channel_id , val; in snd_ca0106_proc_reg_write() local
389 if (sscanf(line, "%x %x %x", &reg, &channel_id, &val) != 3) in snd_ca0106_proc_reg_write()
391 if (reg < 0x80 && val <= 0xffffffff && channel_id <= 3) in snd_ca0106_proc_reg_write()
392 snd_ca0106_ptr_write(emu, reg, channel_id, val); in snd_ca0106_proc_reg_write()
Dca0106.h645 int channel_id; member
/sound/pci/emu10k1/
Dp16v.c160 static int snd_p16v_pcm_open_playback_channel(struct snd_pcm_substream *substream, int channel_id) in snd_p16v_pcm_open_playback_channel() argument
163 struct snd_emu10k1_voice *channel = &(emu->p16v_voices[channel_id]); in snd_p16v_pcm_open_playback_channel()
185 channel->number = channel_id; in snd_p16v_pcm_open_playback_channel()
191 channel_id, channel, channel->use); in snd_p16v_pcm_open_playback_channel()
193 channel_id, chip, channel); in snd_p16v_pcm_open_playback_channel()
209 static int snd_p16v_pcm_open_capture_channel(struct snd_pcm_substream *substream, int channel_id) in snd_p16v_pcm_open_capture_channel() argument
234 channel->number = channel_id; in snd_p16v_pcm_open_capture_channel()
240 channel_id, channel, channel->use); in snd_p16v_pcm_open_capture_channel()
242 channel_id, chip, channel); in snd_p16v_pcm_open_capture_channel()
Demuproc.c495 unsigned int reg, channel_id , val; in snd_emu_proc_ptr_reg_write() local
497 if (sscanf(line, "%x %x %x", &reg, &channel_id, &val) != 3) in snd_emu_proc_ptr_reg_write()
499 if (reg < 0xa0 && val <= 0xffffffff && channel_id <= 3) in snd_emu_proc_ptr_reg_write()
500 snd_ptr_write(emu, iobase, reg, channel_id, val); in snd_emu_proc_ptr_reg_write()
Demu10k1x.c996 unsigned int reg, channel_id , val; in snd_emu10k1x_proc_reg_write() local
999 if (sscanf(line, "%x %x %x", &reg, &channel_id, &val) != 3) in snd_emu10k1x_proc_reg_write()
1002 if (reg < 0x49 && channel_id <= 2) in snd_emu10k1x_proc_reg_write()
1003 snd_emu10k1x_ptr_write(emu, reg, channel_id, val); in snd_emu10k1x_proc_reg_write()
/sound/pci/hda/
Dhda_codec.c680 u8 channel_id; member
1059 u32 stream_tag, int channel_id) in update_pcm_stream_id() argument
1063 if (p->stream_tag != stream_tag || p->channel_id != channel_id) { in update_pcm_stream_id()
1065 newval = (stream_tag << 4) | channel_id; in update_pcm_stream_id()
1071 p->channel_id = channel_id; in update_pcm_stream_id()
1104 int channel_id, int format) in snd_hda_codec_setup_stream() argument
1116 nid, stream_tag, channel_id, format); in snd_hda_codec_setup_stream()
1125 update_pcm_stream_id(codec, p, nid, stream_tag, channel_id); in snd_hda_codec_setup_stream()
1183 if (q->stream_tag || q->channel_id) in really_cleanup_stream()
DKconfig258 relies on setting channel_id as 0xf, sending info packet and
Dpatch_hdmi.c3430 unsigned int dataDCC2, channel_id; in nvhdmi_8ch_7x_pcm_prepare() local
3476 channel_id = 0; in nvhdmi_8ch_7x_pcm_prepare()
3478 channel_id = i * 2; in nvhdmi_8ch_7x_pcm_prepare()
3495 (stream_tag << 4) | channel_id); in nvhdmi_8ch_7x_pcm_prepare()