Home
last modified time | relevance | path

Searched refs:adc_channel (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/mfd/
Ducb1400_core.c25 unsigned int ucb1400_adc_read(struct snd_ac97 *ac97, u16 adc_channel, in ucb1400_adc_read() argument
31 adc_channel |= UCB_ADC_SYNC_ENA; in ucb1400_adc_read()
33 ucb1400_reg_write(ac97, UCB_ADC_CR, UCB_ADC_ENA | adc_channel); in ucb1400_adc_read()
34 ucb1400_reg_write(ac97, UCB_ADC_CR, UCB_ADC_ENA | adc_channel | in ucb1400_adc_read()
Ducb1x00-core.c237 unsigned int ucb1x00_adc_read(struct ucb1x00 *ucb, int adc_channel, int sync) in ucb1x00_adc_read() argument
242 adc_channel |= UCB_ADC_SYNC_ENA; in ucb1x00_adc_read()
244 ucb1x00_reg_write(ucb, UCB_ADC_CR, ucb->adc_cr | adc_channel); in ucb1x00_adc_read()
245 ucb1x00_reg_write(ucb, UCB_ADC_CR, ucb->adc_cr | adc_channel | UCB_ADC_START); in ucb1x00_adc_read()
/linux-6.1.9/drivers/thermal/qcom/
Dqcom-spmi-adc-tm5.c197 unsigned int adc_channel; member
523 buf[0] = channel->adc_channel; in adc_tm5_configure()
584 buf[0] = channel->adc_channel >> 8; in adc_tm5_gen2_configure()
599 buf[4] = channel->adc_channel & 0xff; in adc_tm5_gen2_configure()
787 u32 chan, value, adc_channel, varr[2]; in adc_tm5_get_dt_channel_data() local
822 adc_channel = args.args[0]; in adc_tm5_get_dt_channel_data()
824 adc_channel &= 0xff; in adc_tm5_get_dt_channel_data()
826 if (adc_channel >= ADC5_MAX_CHANNEL) { in adc_tm5_get_dt_channel_data()
830 channel->adc_channel = args.args[0]; in adc_tm5_get_dt_channel_data()
/linux-6.1.9/sound/soc/codecs/
Dnau8540.c206 static const char * const adc_channel[] = { variable
210 digital_ch4_enum, NAU8540_REG_DIGITAL_MUX, 6, adc_channel);
216 digital_ch3_enum, NAU8540_REG_DIGITAL_MUX, 4, adc_channel);
222 digital_ch2_enum, NAU8540_REG_DIGITAL_MUX, 2, adc_channel);
228 digital_ch1_enum, NAU8540_REG_DIGITAL_MUX, 0, adc_channel);
/linux-6.1.9/include/linux/
Ducb1400.h157 unsigned int ucb1400_adc_read(struct snd_ac97 *ac97, u16 adc_channel,
/linux-6.1.9/include/linux/mfd/
Ducb1x00.h253 unsigned int ucb1x00_adc_read(struct ucb1x00 *ucb, int adc_channel, int sync);
/linux-6.1.9/Documentation/devicetree/bindings/iio/light/
Dsharp,gp2ap002.yaml80 io-channels = <&adc_channel>;
/linux-6.1.9/include/linux/platform_data/
Dcros_ec_commands.h5451 uint8_t adc_channel; member