Searched refs:wm_get (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/sound/pci/ice1712/ |
D | pontis.c | 81 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get() function 131 val = wm_get(ice, WM_DAC_ATTEN_L + i) & 0xff; in wm_dac_vol_get() 150 oval = wm_get(ice, idx) & 0xff; in wm_dac_vol_put() 186 val = wm_get(ice, WM_ADC_ATTEN_L + i) & 0xff; in wm_adc_vol_get() 205 ovol = wm_get(ice, idx) & 0xff; in wm_adc_vol_put() 226 ucontrol->value.integer.value[0] = (wm_get(ice, WM_ADC_MUX) & (1 << bit)) ? 1 : 0; in wm_adc_mux_get() 239 nval = oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put() 262 ucontrol->value.integer.value[0] = (wm_get(ice, WM_OUT_MUX) & 0x04) ? 1 : 0; in wm_bypass_get() 274 val = oval = wm_get(ice, WM_OUT_MUX); in wm_bypass_put() 297 ucontrol->value.integer.value[0] = (wm_get(ice, WM_DAC_CTRL1) & 0xf0) != 0x90; in wm_chswap_get() [all …]
|
D | prodigy_hifi.c | 127 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get() function 553 ucontrol->value.integer.value[0] = wm_get(ice, WM_ADC_MUX) & 0x1f; in wm_adc_mux_enum_get() 566 oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_enum_put() 605 val = wm_get(ice, WM_ADC_ATTEN_L + i) & 0xff; in wm_adc_vol_get() 625 ovol = wm_get(ice, idx) & 0xff; in wm_adc_vol_put() 648 (wm_get(ice, WM_ADC_MUX) & (1 << bit)) ? 1 : 0; in wm_adc_mux_get() 662 nval = oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put() 687 (wm_get(ice, WM_OUT_MUX) & 0x04) ? 1 : 0; in wm_bypass_get() 700 val = oval = wm_get(ice, WM_OUT_MUX); in wm_bypass_put() 725 (wm_get(ice, WM_DAC_CTRL1) & 0xf0) != 0x90; in wm_chswap_get() [all …]
|
D | phase.c | 253 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get() function 305 ucontrol->value.integer.value[0] = (wm_get(ice, WM_MUTE) & 0x10) ? in wm_pcm_mute_get() 319 oval = wm_get(ice, WM_MUTE); in wm_pcm_mute_put() 656 val = wm_get(ice, WM_DAC_DIG_MASTER_ATTEN) & 0xff; in wm_pcm_vol_get() 675 ovol = wm_get(ice, WM_DAC_DIG_MASTER_ATTEN) & 0xff; in wm_pcm_vol_put() 695 ucontrol->value.integer.value[0] = (wm_get(ice, WM_DAC_CTRL2) & 0xf) == in phase28_deemp_get() 705 temp = wm_get(ice, WM_DAC_CTRL2); in phase28_deemp_put() 733 ucontrol->value.enumerated.item[0] = (wm_get(ice, WM_MASTER) & 0x8) == in phase28_oversampling_get() 744 temp = wm_get(ice, WM_MASTER); in phase28_oversampling_put()
|
D | aureon.c | 616 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get() function 661 ucontrol->value.integer.value[0] = (wm_get(ice, WM_OUT_MUX1) >> 1) & 0x01; in aureon_ac97_mmute_get() 675 ovol = wm_get(ice, WM_OUT_MUX1); in aureon_ac97_mmute_put() 722 ucontrol->value.integer.value[0] = (wm_get(ice, WM_MUTE) & 0x10) ? 0 : 1; in wm_pcm_mute_get() 734 oval = wm_get(ice, WM_MUTE); in wm_pcm_mute_put() 962 val = wm_get(ice, WM_DAC_DIG_MASTER_ATTEN) & 0xff; in wm_pcm_vol_get() 980 ovol = wm_get(ice, WM_DAC_DIG_MASTER_ATTEN) & 0xff; in wm_pcm_vol_put() 1003 val = wm_get(ice, WM_ADC_GAIN + i); in wm_adc_mute_get() 1018 old = wm_get(ice, WM_ADC_GAIN + i); in wm_adc_mute_put() 1051 vol = wm_get(ice, idx) & 0x1f; in wm_adc_vol_get() [all …]
|