Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/input/misc/
Dad714x.h27 unsigned short adc_reg[STAGE_NUM]; member
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()
/linux-6.1.9/sound/soc/codecs/
Dlpass-tx-macro.c639 u16 adc_mux_reg, adc_reg, adc_n; in is_amic_enabled() local
644 adc_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG0(decimator); in is_amic_enabled()
645 adc_n = snd_soc_component_read_field(component, adc_reg, in is_amic_enabled()
853 u16 adc_mux_reg, adc_reg, adc_n, dmic; in tx_macro_enable_dec() local
867 adc_reg = CDC_TX_INP_MUX_ADC_MUXn_CFG0(decimator); in tx_macro_enable_dec()
868 adc_n = snd_soc_component_read(component, adc_reg) & in tx_macro_enable_dec()
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()
Dmsm8916-wcd-analog.c557 u16 adc_reg = CDC_A_TX_1_2_TEST_CTL_2; in pm8916_wcd_analog_enable_adc() local
577 snd_soc_component_update_bits(component, adc_reg, 1 << init_bit_shift, in pm8916_wcd_analog_enable_adc()
599 snd_soc_component_update_bits(component, adc_reg, 1 << init_bit_shift, 0x00); in pm8916_wcd_analog_enable_adc()
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()