Home
last modified time | relevance | path

Searched refs:adc_reg (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/input/misc/
H A Dad714x.h28 unsigned short adc_reg[STAGE_NUM]; member
H A Dad714x.c254 &ad714x->adc_reg[hw->start_stage], in ad714x_slider_cal_sensor_val()
262 abs(ad714x->adc_reg[i] - ad714x->amb_reg[i]); in ad714x_slider_cal_sensor_val()
426 &ad714x->adc_reg[hw->start_stage], in ad714x_wheel_cal_sensor_val()
432 if (ad714x->adc_reg[i] > ad714x->amb_reg[i]) in ad714x_wheel_cal_sensor_val()
434 ad714x->adc_reg[i] - ad714x->amb_reg[i]; in ad714x_wheel_cal_sensor_val()
580 &ad714x->adc_reg[hw->x_start_stage], in touchpad_cal_sensor_val()
586 if (ad714x->adc_reg[i] > ad714x->amb_reg[i]) in touchpad_cal_sensor_val()
588 ad714x->adc_reg[i] - ad714x->amb_reg[i]; in touchpad_cal_sensor_val()
/openbmc/linux/sound/soc/codecs/
H A Dlpass-tx-macro.c640 u16 adc_mux_reg, adc_reg, adc_n; in is_amic_enabled() local
645 adc_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG0(decimator); in is_amic_enabled()
646 adc_n = snd_soc_component_read_field(component, adc_reg, in is_amic_enabled()
862 u16 adc_mux_reg, adc_reg, adc_n, dmic; in tx_macro_enable_dec() local
876 adc_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG0(decimator); in tx_macro_enable_dec()
877 adc_n = snd_soc_component_read(component, adc_reg) & in tx_macro_enable_dec()
H A Dtlv320aic32x4.c60 u32 adc_reg; in aic32x4_reset_adc() local
69 adc_reg = snd_soc_component_read(component, AIC32X4_ADCSETUP); in aic32x4_reset_adc()
70 snd_soc_component_write(component, AIC32X4_ADCSETUP, adc_reg | in aic32x4_reset_adc()
72 snd_soc_component_write(component, AIC32X4_ADCSETUP, adc_reg); in aic32x4_reset_adc()
H A Dmsm8916-wcd-analog.c556 u16 adc_reg = CDC_A_TX_1_2_TEST_CTL_2; in pm8916_wcd_analog_enable_adc() local
576 snd_soc_component_update_bits(component, adc_reg, 1 << init_bit_shift, in pm8916_wcd_analog_enable_adc()
598 snd_soc_component_update_bits(component, adc_reg, 1 << init_bit_shift, 0x00); in pm8916_wcd_analog_enable_adc()
H A Dwm8994.c2763 int adc_reg; in wm8994_set_dai_fmt() local
2773 adc_reg = WM8994_AIF1ADC_LRCLK; in wm8994_set_dai_fmt()
2779 adc_reg = WM8994_AIF1ADC_LRCLK; in wm8994_set_dai_fmt()
2878 snd_soc_component_update_bits(component, adc_reg, in wm8994_set_dai_fmt()