/sound/pci/echoaudio/ |
D | indigoio_dsp.c | 33 int gain); 105 int gain) in set_vmixer_gain() argument 116 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 118 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain() 121 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
D | indigodj_dsp.c | 33 int gain); 135 int gain) in set_vmixer_gain() argument 146 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 148 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain() 151 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
D | indigo_dsp.c | 33 int gain); 135 int gain) in set_vmixer_gain() argument 146 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 148 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain() 151 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
D | indigo_express_dsp.c | 78 int gain) in set_vmixer_gain() argument 89 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 91 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain() 94 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
D | mia_dsp.c | 36 int gain); 169 int gain) in set_vmixer_gain() argument 180 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 182 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain() 185 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
D | gina20_dsp.c | 178 static int set_input_gain(struct echoaudio *chip, u16 input, int gain) in set_input_gain() argument 186 chip->input_gain[input] = gain; in set_input_gain() 187 gain += GL20_INPUT_GAIN_MAGIC_NUMBER; in set_input_gain() 188 chip->comm_page->line_in_level[input] = gain; in set_input_gain()
|
D | layla20_dsp.c | 252 static int set_input_gain(struct echoaudio *chip, u16 input, int gain) in set_input_gain() argument 260 chip->input_gain[input] = gain; in set_input_gain() 261 gain += GL20_INPUT_GAIN_MAGIC_NUMBER; in set_input_gain() 262 chip->comm_page->line_in_level[input] = gain; in set_input_gain()
|
D | echoaudio.c | 1019 int c, changed, gain; in snd_echo_output_gain_put() local 1025 gain = ucontrol->value.integer.value[c]; in snd_echo_output_gain_put() 1027 if (gain < ECHOGAIN_MINOUT || gain > ECHOGAIN_MAXOUT) in snd_echo_output_gain_put() 1029 if (chip->output_gain[c] != gain) { in snd_echo_output_gain_put() 1030 set_output_gain(chip, c, gain); in snd_echo_output_gain_put() 1100 int c, gain, changed; in snd_echo_input_gain_put() local 1106 gain = ucontrol->value.integer.value[c]; in snd_echo_input_gain_put() 1108 if (gain < ECHOGAIN_MININP || gain > ECHOGAIN_MAXINP) in snd_echo_input_gain_put() 1110 if (chip->input_gain[c] != gain) { in snd_echo_input_gain_put() 1111 set_input_gain(chip, c, gain); in snd_echo_input_gain_put() [all …]
|
D | echoaudio_dsp.c | 552 static int set_output_gain(struct echoaudio *chip, u16 channel, s8 gain) in set_output_gain() argument 561 chip->output_gain[channel] = gain; in set_output_gain() 562 chip->comm_page->line_out_level[channel] = gain; in set_output_gain() 571 s8 gain) in set_monitor_gain() argument 580 chip->monitor_gain[output][input] = gain; in set_monitor_gain() 581 chip->comm_page->monitors[monitor_index(chip, output, input)] = gain; in set_monitor_gain()
|
D | indigoiox_dsp.c | 31 u16 pipe, int gain);
|
D | indigodjx_dsp.c | 31 u16 pipe, int gain);
|
/sound/parisc/ |
D | harmony.c | 171 harmony_write(h, HARMONY_GAINCTL, h->st.gain); in harmony_unmute() 691 harmony_write(h, HARMONY_GAINCTL, h->st.gain); in snd_harmony_set_new_gain() 724 left = (h->st.gain >> shift_left) & mask; in snd_harmony_volume_get() 725 right = (h->st.gain >> shift_right) & mask; in snd_harmony_volume_get() 750 int old_gain = h->st.gain; in snd_harmony_volume_put() 757 h->st.gain &= ~( (mask << shift_left ) ); in snd_harmony_volume_put() 758 h->st.gain |= (left << shift_left); in snd_harmony_volume_put() 764 h->st.gain &= ~( (mask << shift_right) ); in snd_harmony_volume_put() 765 h->st.gain |= (right << shift_right); in snd_harmony_volume_put() 772 return h->st.gain != old_gain; in snd_harmony_volume_put() [all …]
|
D | harmony.h | 25 u32 gain; member
|
/sound/pci/au88x0/ |
D | au88x0_eq.c | 51 static void vortex_EqHw_SetTimeConsts(vortex_t * vortex, u16 gain, u16 level) in vortex_EqHw_SetTimeConsts() argument 53 hwwrite(vortex->mmio, 0x2b3c4, gain); in vortex_EqHw_SetTimeConsts() 505 static int vortex_Eqlzr_GetLeftGain(vortex_t * vortex, u16 index, u16 * gain) in vortex_Eqlzr_GetLeftGain() argument 510 *gain = eq->this130[index]; in vortex_Eqlzr_GetLeftGain() 516 static void vortex_Eqlzr_SetLeftGain(vortex_t * vortex, u16 index, u16 gain) in vortex_Eqlzr_SetLeftGain() argument 523 eq->this130[index] = gain; in vortex_Eqlzr_SetLeftGain() 527 vortex_EqHw_SetLeftGainsSingleTarget(vortex, index, gain); in vortex_Eqlzr_SetLeftGain() 530 static int vortex_Eqlzr_GetRightGain(vortex_t * vortex, u16 index, u16 * gain) in vortex_Eqlzr_GetRightGain() argument 535 *gain = eq->this130[index + eq->this10]; in vortex_Eqlzr_GetRightGain() 541 static void vortex_Eqlzr_SetRightGain(vortex_t * vortex, u16 index, u16 gain) in vortex_Eqlzr_SetRightGain() argument [all …]
|
/sound/oss/dmasound/ |
D | dmasound.h | 170 int gain; member 201 static inline int dmasound_set_gain(int gain) in dmasound_set_gain() argument 203 return dmasound.mach.setGain ? dmasound.mach.setGain(gain) : 100; in dmasound_set_gain()
|
D | dmasound_atari.c | 129 static int TTSetGain(int gain); 1004 static int TTSetGain(int gain) in TTSetGain() argument 1006 dmasound.gain = GAIN_VOXWARE_TO_DB(gain); in TTSetGain() 1007 atari_microwire_cmd(MW_LM1992_VOLUME(dmasound.gain)); in TTSetGain() 1008 return GAIN_DB_TO_VOXWARE(dmasound.gain); in TTSetGain() 1416 return IOCTL_OUT(arg, GAIN_DB_TO_VOXWARE(dmasound.gain)); in TTMixerIoctl()
|
/sound/pci/lola/ |
D | lola_mixer.c | 222 unsigned short gain, bool on) in lola_mixer_set_src_gain() argument 235 (gain == readw(&chip->mixer.array->src_gain[id]))) in lola_mixer_set_src_gain() 240 id, gain, val); in lola_mixer_set_src_gain() 241 writew(gain, &chip->mixer.array->src_gain[id]); in lola_mixer_set_src_gain() 283 unsigned short gain, bool on) in lola_mixer_set_mapping_gain() argument 291 writew(gain, &chip->mixer.array->dest_mix_gain[dest][src]); in lola_mixer_set_mapping_gain()
|
/sound/soc/codecs/ |
D | arizona.c | 1952 u16 gain; member 1966 int gain; member 2173 cfg->gain = fll_gains[i].gain; in arizona_calc_fll() 2188 arizona_fll_dbg(fll, "GAIN=0x%x(%d)\n", cfg->gain, 1 << cfg->gain); in arizona_calc_fll() 2214 cfg->gain << ARIZONA_FLL1_GAIN_SHIFT); in arizona_apply_fll() 2221 cfg->gain << ARIZONA_FLL1_GAIN_SHIFT); in arizona_apply_fll()
|
D | nau8825.c | 401 u32 gain, sidetone; in nau8825_xtalk_sidetone() local 411 gain = (sig_org - sig_cros) * 20 + GAIN_AUGMENT; in nau8825_xtalk_sidetone() 413 gain = (sig_cros - sig_org) * 20 + GAIN_AUGMENT; in nau8825_xtalk_sidetone() 414 sidetone = SIDETONE_BASE - gain * 2; in nau8825_xtalk_sidetone()
|
/sound/firewire/ |
D | isight.c | 490 __be32 gain; in isight_gain_get() local 493 err = reg_read(isight, REG_GAIN, &gain); in isight_gain_get() 497 value->value.integer.value[0] = (s32)be32_to_cpu(gain); in isight_gain_get()
|
/sound/pci/rme9652/ |
D | hdspm.c | 1795 unsigned int gain; in all_in_all_mixer() local 1798 gain = UNITY_GAIN; in all_in_all_mixer() 1800 gain = 0; in all_in_all_mixer() 1802 gain = sgain; in all_in_all_mixer() 1806 hdspm_write_in_gain(hdspm, i, j, gain); in all_in_all_mixer() 1807 hdspm_write_pb_gain(hdspm, i, j, gain); in all_in_all_mixer() 3686 int gain; in snd_hdspm_put_mixer() local 3699 gain = ucontrol->value.integer.value[2]; in snd_hdspm_put_mixer() 3704 change = gain != hdspm_read_pb_gain(hdspm, destination, in snd_hdspm_put_mixer() 3708 change = gain != hdspm_read_in_gain(hdspm, destination, in snd_hdspm_put_mixer() [all …]
|
/sound/pci/ctxfi/ |
D | cthw20k2.c | 1787 u32 adcmc, gain; in hw_wm8775_input_select() local 1802 gain = gain_in_db * MIC_BOOST_STEPS_PER_DB + MIC_BOOST_0DB; in hw_wm8775_input_select() 1804 hw20k2_i2c_write(hw, MAKE_WM8775_ADDR(WM8775_AADCL, gain), in hw_wm8775_input_select() 1805 MAKE_WM8775_DATA(gain)); in hw_wm8775_input_select() 1807 hw20k2_i2c_write(hw, MAKE_WM8775_ADDR(WM8775_AADCR, gain), in hw_wm8775_input_select() 1808 MAKE_WM8775_DATA(gain)); in hw_wm8775_input_select()
|
/sound/pci/asihpi/ |
D | asihpi.c | 1883 short gain; in snd_asihpi_tuner_gain_get() local 1885 hpi_handle_error(hpi_tuner_get_gain(h_control, &gain)); in snd_asihpi_tuner_gain_get() 1886 ucontrol->value.integer.value[0] = gain / HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_get() 1898 short gain; in snd_asihpi_tuner_gain_put() local 1900 gain = (ucontrol->value.integer.value[0]) * HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_put() 1901 hpi_handle_error(hpi_tuner_set_gain(h_control, gain)); in snd_asihpi_tuner_gain_put()
|
D | hpi_internal.h | 849 u32 gain; member 878 u32 gain; member
|
/sound/soc/intel/atom/ |
D | sst-atom-controls.c | 595 struct sst_module *gain = NULL; in sst_set_pipe_gain() local 597 list_for_each_entry(gain, &ids->gain_list, node) { in sst_set_pipe_gain() 598 struct snd_kcontrol *kctl = gain->kctl; in sst_set_pipe_gain()
|