Searched refs:wm_get (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/sound/pci/ice1712/ |
D | pontis.c | 67 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get() function 117 val = wm_get(ice, WM_DAC_ATTEN_L + i) & 0xff; in wm_dac_vol_get() 136 oval = wm_get(ice, idx) & 0xff; in wm_dac_vol_put() 172 val = wm_get(ice, WM_ADC_ATTEN_L + i) & 0xff; in wm_adc_vol_get() 191 ovol = wm_get(ice, idx) & 0xff; in wm_adc_vol_put() 212 ucontrol->value.integer.value[0] = (wm_get(ice, WM_ADC_MUX) & (1 << bit)) ? 1 : 0; in wm_adc_mux_get() 225 nval = oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put() 248 ucontrol->value.integer.value[0] = (wm_get(ice, WM_OUT_MUX) & 0x04) ? 1 : 0; in wm_bypass_get() 260 val = oval = wm_get(ice, WM_OUT_MUX); in wm_bypass_put() 283 ucontrol->value.integer.value[0] = (wm_get(ice, WM_DAC_CTRL1) & 0xf0) != 0x90; in wm_chswap_get() [all …]
|
D | prodigy_hifi.c | 113 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get() function 539 ucontrol->value.enumerated.item[0] = wm_get(ice, WM_ADC_MUX) & 0x1f; in wm_adc_mux_enum_get() 552 oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_enum_put() 591 val = wm_get(ice, WM_ADC_ATTEN_L + i) & 0xff; in wm_adc_vol_get() 611 ovol = wm_get(ice, idx) & 0xff; in wm_adc_vol_put() 634 (wm_get(ice, WM_ADC_MUX) & (1 << bit)) ? 1 : 0; in wm_adc_mux_get() 648 nval = oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put() 673 (wm_get(ice, WM_OUT_MUX) & 0x04) ? 1 : 0; in wm_bypass_get() 686 val = oval = wm_get(ice, WM_OUT_MUX); in wm_bypass_put() 711 (wm_get(ice, WM_DAC_CTRL1) & 0xf0) != 0x90; in wm_chswap_get() [all …]
|
D | phase.c | 239 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get() function 291 ucontrol->value.integer.value[0] = (wm_get(ice, WM_MUTE) & 0x10) ? in wm_pcm_mute_get() 305 oval = wm_get(ice, WM_MUTE); in wm_pcm_mute_put() 642 val = wm_get(ice, WM_DAC_DIG_MASTER_ATTEN) & 0xff; in wm_pcm_vol_get() 661 ovol = wm_get(ice, WM_DAC_DIG_MASTER_ATTEN) & 0xff; in wm_pcm_vol_put() 681 ucontrol->value.integer.value[0] = (wm_get(ice, WM_DAC_CTRL2) & 0xf) == in phase28_deemp_get() 691 temp = wm_get(ice, WM_DAC_CTRL2); in phase28_deemp_put() 719 ucontrol->value.enumerated.item[0] = (wm_get(ice, WM_MASTER) & 0x8) == in phase28_oversampling_get() 730 temp = wm_get(ice, WM_MASTER); in phase28_oversampling_put()
|
D | aureon.c | 602 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get() function 647 ucontrol->value.integer.value[0] = (wm_get(ice, WM_OUT_MUX1) >> 1) & 0x01; in aureon_ac97_mmute_get() 661 ovol = wm_get(ice, WM_OUT_MUX1); in aureon_ac97_mmute_put() 708 ucontrol->value.integer.value[0] = (wm_get(ice, WM_MUTE) & 0x10) ? 0 : 1; in wm_pcm_mute_get() 720 oval = wm_get(ice, WM_MUTE); in wm_pcm_mute_put() 948 val = wm_get(ice, WM_DAC_DIG_MASTER_ATTEN) & 0xff; in wm_pcm_vol_get() 966 ovol = wm_get(ice, WM_DAC_DIG_MASTER_ATTEN) & 0xff; in wm_pcm_vol_put() 989 val = wm_get(ice, WM_ADC_GAIN + i); in wm_adc_mute_get() 1004 old = wm_get(ice, WM_ADC_GAIN + i); in wm_adc_mute_put() 1037 vol = wm_get(ice, idx) & 0x1f; in wm_adc_vol_get() [all …]
|