Home
last modified time | relevance | path

Searched refs:adc_mode (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/iio/adc/
Dad7173.c204 unsigned int adc_mode; member
693 st->adc_mode &= ~AD7173_ADC_MODE_MODE_MASK; in ad7173_set_mode()
694 st->adc_mode |= FIELD_PREP(AD7173_ADC_MODE_MODE_MASK, mode); in ad7173_set_mode()
696 return ad_sd_write_reg(&st->sd, AD7173_REG_ADC_MODE, 2, st->adc_mode); in ad7173_set_mode()
775 st->adc_mode |= AD7173_ADC_MODE_SING_CYC; in ad7173_setup()
1033 st->adc_mode &= ~AD7173_ADC_MODE_CLOCKSEL_MASK; in ad7173_sel_clk()
1034 st->adc_mode |= FIELD_PREP(AD7173_ADC_MODE_CLOCKSEL_MASK, clk_sel); in ad7173_sel_clk()
1035 ret = ad_sd_write_reg(&st->sd, AD7173_REG_ADC_MODE, 0x2, st->adc_mode); in ad7173_sel_clk()
1053 clk_sel = FIELD_GET(AD7173_ADC_MODE_CLOCKSEL_MASK, st->adc_mode); in ad7173_clk_output_is_enabled()
1228 st->adc_mode |= AD7173_ADC_MODE_REF_EN; in ad7173_fw_parse_channel_config()
[all …]
/linux-6.12.1/sound/soc/codecs/
Des8328.c600 u8 adc_mode = 0; in es8328_set_dai_fmt() local
624 adc_mode |= ES8328_ADCCONTROL4_ADCFORMAT_I2S; in es8328_set_dai_fmt()
628 adc_mode |= ES8328_ADCCONTROL4_ADCFORMAT_RJUST; in es8328_set_dai_fmt()
632 adc_mode |= ES8328_ADCCONTROL4_ADCFORMAT_LJUST; in es8328_set_dai_fmt()
645 ES8328_ADCCONTROL4_ADCFORMAT_MASK, adc_mode); in es8328_set_dai_fmt()
Dwcd-mbhc-v2.c961 u8 adc_mode, elect_ctl, adc_en, fsm_en; in wcd_check_cross_conn() local
974 adc_mode = wcd_mbhc_read_field(mbhc, WCD_MBHC_ADC_MODE); in wcd_check_cross_conn()
1001 wcd_mbhc_write_field(mbhc, WCD_MBHC_ADC_MODE, adc_mode); in wcd_check_cross_conn()