Lines Matching refs:mixer_ch
535 static int ak4xxx_capture_num_inputs(struct snd_akm4xxx *ak, int mixer_ch) in ak4xxx_capture_num_inputs() argument
540 input_names = ak->adc_info[mixer_ch].input_names; in ak4xxx_capture_num_inputs()
551 int mixer_ch = AK_GET_SHIFT(kcontrol->private_value); in ak4xxx_capture_source_info() local
554 num_names = ak4xxx_capture_num_inputs(ak, mixer_ch); in ak4xxx_capture_source_info()
558 ak->adc_info[mixer_ch].input_names); in ak4xxx_capture_source_info()
579 int mixer_ch = AK_GET_SHIFT(kcontrol->private_value); in ak4xxx_capture_source_put() local
584 int num_names = ak4xxx_capture_num_inputs(ak, mixer_ch); in ak4xxx_capture_source_put()
605 int idx, err, mixer_ch, num_stereo; in build_dac_controls() local
608 mixer_ch = 0; in build_dac_controls()
612 && ak->dac_info[mixer_ch].switch_name) { in build_dac_controls()
617 knew.name = ak->dac_info[mixer_ch].switch_name; in build_dac_controls()
631 if (! ak->dac_info || ! ak->dac_info[mixer_ch].name) { in build_dac_controls()
633 knew.index = mixer_ch + ak->idx_offset * 2; in build_dac_controls()
636 knew.name = ak->dac_info[mixer_ch].name; in build_dac_controls()
637 num_stereo = ak->dac_info[mixer_ch].num_channels; in build_dac_controls()
709 mixer_ch++; in build_dac_controls()
716 int idx, err, mixer_ch, num_stereo, max_steps; in build_adc_controls() local
719 mixer_ch = 0; in build_adc_controls()
724 if (! ak->adc_info || ! ak->adc_info[mixer_ch].name) { in build_adc_controls()
726 knew.index = mixer_ch + ak->idx_offset * 2; in build_adc_controls()
729 knew.name = ak->adc_info[mixer_ch].name; in build_adc_controls()
730 num_stereo = ak->adc_info[mixer_ch].num_channels; in build_adc_controls()
760 ! ak->adc_info[mixer_ch].switch_name) { in build_adc_controls()
762 knew.index = mixer_ch + ak->idx_offset * 2; in build_adc_controls()
764 knew.name = ak->adc_info[mixer_ch].switch_name; in build_adc_controls()
779 !ak->adc_info[mixer_ch].selector_name) { in build_adc_controls()
781 knew.index = mixer_ch + ak->idx_offset * 2; in build_adc_controls()
783 knew.name = ak->adc_info[mixer_ch].selector_name; in build_adc_controls()
793 = AK_COMPOSE(idx/2, 1, mixer_ch, 0x07); in build_adc_controls()
800 mixer_ch++; in build_adc_controls()