/sound/pci/echoaudio/ |
D | indigoio_dsp.c | 33 int gain); 107 int gain) in set_vmixer_gain() argument 118 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 120 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain() 123 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
D | indigo_dsp.c | 33 int gain); 137 int gain) in set_vmixer_gain() argument 148 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 150 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain() 153 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
D | indigodj_dsp.c | 33 int gain); 137 int gain) in set_vmixer_gain() argument 148 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 150 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain() 153 "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); 171 int gain) in set_vmixer_gain() argument 182 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 184 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain() 187 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
D | gina20_dsp.c | 180 static int set_input_gain(struct echoaudio *chip, u16 input, int gain) in set_input_gain() argument 188 chip->input_gain[input] = gain; in set_input_gain() 189 gain += GL20_INPUT_GAIN_MAGIC_NUMBER; in set_input_gain() 190 chip->comm_page->line_in_level[input] = gain; in set_input_gain()
|
D | layla20_dsp.c | 254 static int set_input_gain(struct echoaudio *chip, u16 input, int gain) in set_input_gain() argument 262 chip->input_gain[input] = gain; in set_input_gain() 263 gain += GL20_INPUT_GAIN_MAGIC_NUMBER; in set_input_gain() 264 chip->comm_page->line_in_level[input] = gain; in set_input_gain()
|
D | echoaudio.c | 1027 int c, changed, gain; in snd_echo_output_gain_put() local 1033 gain = ucontrol->value.integer.value[c]; in snd_echo_output_gain_put() 1035 if (gain < ECHOGAIN_MINOUT || gain > ECHOGAIN_MAXOUT) in snd_echo_output_gain_put() 1037 if (chip->output_gain[c] != gain) { in snd_echo_output_gain_put() 1038 set_output_gain(chip, c, gain); in snd_echo_output_gain_put() 1108 int c, gain, changed; in snd_echo_input_gain_put() local 1114 gain = ucontrol->value.integer.value[c]; in snd_echo_input_gain_put() 1116 if (gain < ECHOGAIN_MININP || gain > ECHOGAIN_MAXINP) in snd_echo_input_gain_put() 1118 if (chip->input_gain[c] != gain) { in snd_echo_input_gain_put() 1119 set_input_gain(chip, c, gain); in snd_echo_input_gain_put() [all …]
|
D | echoaudio_dsp.c | 555 static int set_output_gain(struct echoaudio *chip, u16 channel, s8 gain) in set_output_gain() argument 564 chip->output_gain[channel] = gain; in set_output_gain() 565 chip->comm_page->line_out_level[channel] = gain; in set_output_gain() 574 s8 gain) in set_monitor_gain() argument 583 chip->monitor_gain[output][input] = gain; in set_monitor_gain() 584 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/soc/codecs/ |
D | max9759.c | 22 unsigned int gain; member 48 ucontrol->value.integer.value[0] = priv->gain; in speaker_gain_control_get() 71 priv->gain = ucontrol->value.integer.value[0]; in speaker_gain_control_put() 75 speaker_gain_table[priv->gain][0]); in speaker_gain_control_put() 78 speaker_gain_table[priv->gain][1]); in speaker_gain_control_put() 176 priv->gain = 0; in max9759_probe()
|
D | wcd-clsh-v2.c | 281 int val = 0, gain = 0, res_val; in wcd_clsh_v2_set_hph_mode() local 289 gain = DAC_GAIN_0DB; in wcd_clsh_v2_set_hph_mode() 294 gain = DAC_GAIN_0DB; in wcd_clsh_v2_set_hph_mode() 299 gain = DAC_GAIN_M0P2DB; in wcd_clsh_v2_set_hph_mode() 317 gain); in wcd_clsh_v2_set_hph_mode()
|
D | madera.c | 3424 int gain; /* main gain */ member 3610 cfg->gain = gains[i].gain; in madera_find_fll_gain() 3709 madera_fll_dbg(fll, "GAIN=0x%x(%d)\n", cfg->gain, 1 << cfg->gain); in madera_calc_fll() 3716 bool sync, int gain) in madera_write_fll() argument 3750 gain << MADERA_FLL1_GAIN_SHIFT, in madera_write_fll() 3757 gain << MADERA_FLL1_GAIN_SHIFT, in madera_write_fll() 3955 int gain, ret; in madera_enable_fll() local 4014 true, cfg.gain); in madera_enable_fll() 4034 gain = cfg.gain; in madera_enable_fll() 4041 gain = cfg.alt_gain; in madera_enable_fll() [all …]
|
D | arizona.c | 2088 u16 gain; member 2102 int gain; member 2309 cfg->gain = fll_gains[i].gain; in arizona_calc_fll() 2324 arizona_fll_dbg(fll, "GAIN=0x%x(%d)\n", cfg->gain, 1 << cfg->gain); in arizona_calc_fll() 2349 cfg->gain << ARIZONA_FLL1_GAIN_SHIFT); in arizona_apply_fll() 2356 cfg->gain << ARIZONA_FLL1_GAIN_SHIFT); in arizona_apply_fll()
|
D | cros_ec_codec.c | 124 ucontrol->value.integer.value[0] = r.gain; in dmic_get_gain() 133 ucontrol->value.integer.value[1] = r.gain; in dmic_get_gain() 160 p.set_gain_idx_param.gain = left; in dmic_put_gain() 168 p.set_gain_idx_param.gain = right; in dmic_put_gain()
|
/sound/parisc/ |
D | harmony.c | 158 harmony_write(h, HARMONY_GAINCTL, h->st.gain); in harmony_unmute() 646 harmony_write(h, HARMONY_GAINCTL, h->st.gain); in snd_harmony_set_new_gain() 679 left = (h->st.gain >> shift_left) & mask; in snd_harmony_volume_get() 680 right = (h->st.gain >> shift_right) & mask; in snd_harmony_volume_get() 705 int old_gain = h->st.gain; in snd_harmony_volume_put() 712 h->st.gain &= ~( (mask << shift_left ) ); in snd_harmony_volume_put() 713 h->st.gain |= (left << shift_left); in snd_harmony_volume_put() 719 h->st.gain &= ~( (mask << shift_right) ); in snd_harmony_volume_put() 720 h->st.gain |= (right << shift_right); in snd_harmony_volume_put() 727 return h->st.gain != old_gain; in snd_harmony_volume_put() [all …]
|
D | harmony.h | 26 u32 gain; member
|
/sound/pci/au88x0/ |
D | au88x0_eq.c | 39 static void vortex_EqHw_SetTimeConsts(vortex_t * vortex, u16 gain, u16 level) in vortex_EqHw_SetTimeConsts() argument 41 hwwrite(vortex->mmio, 0x2b3c4, gain); in vortex_EqHw_SetTimeConsts() 493 static int vortex_Eqlzr_GetLeftGain(vortex_t * vortex, u16 index, u16 * gain) in vortex_Eqlzr_GetLeftGain() argument 498 *gain = eq->this130[index]; in vortex_Eqlzr_GetLeftGain() 504 static void vortex_Eqlzr_SetLeftGain(vortex_t * vortex, u16 index, u16 gain) in vortex_Eqlzr_SetLeftGain() argument 511 eq->this130[index] = gain; in vortex_Eqlzr_SetLeftGain() 515 vortex_EqHw_SetLeftGainsSingleTarget(vortex, index, gain); in vortex_Eqlzr_SetLeftGain() 518 static int vortex_Eqlzr_GetRightGain(vortex_t * vortex, u16 index, u16 * gain) in vortex_Eqlzr_GetRightGain() argument 523 *gain = eq->this130[index + eq->this10]; in vortex_Eqlzr_GetRightGain() 529 static void vortex_Eqlzr_SetRightGain(vortex_t * vortex, u16 index, u16 gain) in vortex_Eqlzr_SetRightGain() argument [all …]
|
/sound/oss/dmasound/ |
D | dmasound.h | 165 int gain; member 196 static inline int dmasound_set_gain(int gain) in dmasound_set_gain() argument 198 return dmasound.mach.setGain ? dmasound.mach.setGain(gain) : 100; in dmasound_set_gain()
|
D | dmasound_atari.c | 130 static int TTSetGain(int gain); 1005 static int TTSetGain(int gain) in TTSetGain() argument 1007 dmasound.gain = GAIN_VOXWARE_TO_DB(gain); in TTSetGain() 1008 atari_microwire_cmd(MW_LM1992_VOLUME(dmasound.gain)); in TTSetGain() 1009 return GAIN_DB_TO_VOXWARE(dmasound.gain); in TTSetGain() 1417 return IOCTL_OUT(arg, GAIN_DB_TO_VOXWARE(dmasound.gain)); in TTMixerIoctl()
|
/sound/pci/lola/ |
D | lola_mixer.c | 209 unsigned short gain, bool on) in lola_mixer_set_src_gain() argument 222 (gain == readw(&chip->mixer.array->src_gain[id]))) in lola_mixer_set_src_gain() 227 id, gain, val); in lola_mixer_set_src_gain() 228 writew(gain, &chip->mixer.array->src_gain[id]); in lola_mixer_set_src_gain() 270 unsigned short gain, bool on) in lola_mixer_set_mapping_gain() argument 278 writew(gain, &chip->mixer.array->dest_mix_gain[dest][src]); in lola_mixer_set_mapping_gain()
|
/sound/firewire/ |
D | isight.c | 482 __be32 gain; in isight_gain_get() local 485 err = reg_read(isight, REG_GAIN, &gain); in isight_gain_get() 489 value->value.integer.value[0] = (s32)be32_to_cpu(gain); in isight_gain_get()
|
/sound/pci/rme9652/ |
D | hdspm.c | 1788 unsigned int gain; in all_in_all_mixer() local 1791 gain = UNITY_GAIN; in all_in_all_mixer() 1793 gain = 0; in all_in_all_mixer() 1795 gain = sgain; in all_in_all_mixer() 1799 hdspm_write_in_gain(hdspm, i, j, gain); in all_in_all_mixer() 1800 hdspm_write_pb_gain(hdspm, i, j, gain); in all_in_all_mixer() 3681 int gain; in snd_hdspm_put_mixer() local 3694 gain = ucontrol->value.integer.value[2]; in snd_hdspm_put_mixer() 3699 change = gain != hdspm_read_pb_gain(hdspm, destination, in snd_hdspm_put_mixer() 3703 change = gain != hdspm_read_in_gain(hdspm, destination, in snd_hdspm_put_mixer() [all …]
|
/sound/pci/ctxfi/ |
D | cthw20k2.c | 1783 u32 adcmc, gain; in hw_wm8775_input_select() local 1798 gain = gain_in_db * MIC_BOOST_STEPS_PER_DB + MIC_BOOST_0DB; in hw_wm8775_input_select() 1800 hw20k2_i2c_write(hw, MAKE_WM8775_ADDR(WM8775_AADCL, gain), in hw_wm8775_input_select() 1801 MAKE_WM8775_DATA(gain)); in hw_wm8775_input_select() 1803 hw20k2_i2c_write(hw, MAKE_WM8775_ADDR(WM8775_AADCR, gain), in hw_wm8775_input_select() 1804 MAKE_WM8775_DATA(gain)); in hw_wm8775_input_select()
|