Searched refs:wm_get (Results 1 – 4 of 4) sorted by relevance
| /linux/sound/pci/ice1712/ |
| H A 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() 135 oval = wm_get(ice, idx) & 0xff; in wm_dac_vol_put() 170 val = wm_get(ice, WM_ADC_ATTEN_L + i) & 0xff; in wm_adc_vol_get() 188 ovol = wm_get(ice, idx) & 0xff; in wm_adc_vol_put() 208 ucontrol->value.integer.value[0] = (wm_get(ice, WM_ADC_MUX) & (1 << bit)) ? 1 : 0; in wm_adc_mux_get() 220 nval = oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put() 242 ucontrol->value.integer.value[0] = (wm_get(ice, WM_OUT_MUX) & 0x04) ? 1 : 0; in wm_bypass_get() 253 val = oval = wm_get(ice, WM_OUT_MUX); in wm_bypass_put() 275 ucontrol->value.integer.value[0] = (wm_get(ice, WM_DAC_CTRL1) & 0xf0) != 0x90; in wm_chswap_get() [all …]
|
| H A D | prodigy_hifi.c | 113 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get() function 535 ucontrol->value.enumerated.item[0] = wm_get(ice, WM_ADC_MUX) & 0x1f; in wm_adc_mux_enum_get() 547 oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_enum_put() 585 val = wm_get(ice, WM_ADC_ATTEN_L + i) & 0xff; in wm_adc_vol_get() 604 ovol = wm_get(ice, idx) & 0xff; in wm_adc_vol_put() 626 (wm_get(ice, WM_ADC_MUX) & (1 << bit)) ? 1 : 0; in wm_adc_mux_get() 639 nval = oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put() 663 (wm_get(ice, WM_OUT_MUX) & 0x04) ? 1 : 0; in wm_bypass_get() 675 val = oval = wm_get(ice, WM_OUT_MUX); in wm_bypass_put() 699 (wm_get(ice, WM_DAC_CTRL1) & 0xf0) != 0x90; in wm_chswap_get() [all …]
|
| H A 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() 304 oval = wm_get(ice, WM_MUTE); in wm_pcm_mute_put() 641 val = wm_get(ice, WM_DAC_DIG_MASTER_ATTEN) & 0xff; in wm_pcm_vol_get() 659 ovol = wm_get(ice, WM_DAC_DIG_MASTER_ATTEN) & 0xff; in wm_pcm_vol_put() 679 ucontrol->value.integer.value[0] = (wm_get(ice, WM_DAC_CTRL2) & 0xf) == in phase28_deemp_get() 689 temp = wm_get(ice, WM_DAC_CTRL2); in phase28_deemp_put() 717 ucontrol->value.enumerated.item[0] = (wm_get(ice, WM_MASTER) & 0x8) == in phase28_oversampling_get() 728 temp = wm_get(ice, WM_MASTER); in phase28_oversampling_put()
|
| H A D | aureon.c | 599 static unsigned short wm_get(struct snd_ice1712 *ice, int reg) in wm_get() function 644 ucontrol->value.integer.value[0] = (wm_get(ice, WM_OUT_MUX1) >> 1) & 0x01; in aureon_ac97_mmute_get() 657 ovol = wm_get(ice, WM_OUT_MUX1); in aureon_ac97_mmute_put() 704 ucontrol->value.integer.value[0] = (wm_get(ice, WM_MUTE) & 0x10) ? 0 : 1; in wm_pcm_mute_get() 715 oval = wm_get(ice, WM_MUTE); in wm_pcm_mute_put() 943 val = wm_get(ice, WM_DAC_DIG_MASTER_ATTEN) & 0xff; in wm_pcm_vol_get() 960 ovol = wm_get(ice, WM_DAC_DIG_MASTER_ATTEN) & 0xff; in wm_pcm_vol_put() 983 val = wm_get(ice, WM_ADC_GAIN + i); in wm_adc_mute_get() 997 old = wm_get(ice, WM_ADC_GAIN + i); in wm_adc_mute_put() 1030 vol = wm_get(ice, idx) & 0x1f; in wm_adc_vol_get() [all …]
|