Home
last modified time | relevance | path

Searched refs:adc_config (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/iio/adc/
Dstx104.c75 unsigned int adc_config; in stx104_read_raw() local
82 adc_config = inb(priv->base + 11); in stx104_read_raw()
83 gain = adc_config & 0x3; in stx104_read_raw()
104 adc_config = inb(priv->base + 11); in stx104_read_raw()
105 adbu = !(adc_config & BIT(2)); in stx104_read_raw()
111 adc_config = inb(priv->base + 11); in stx104_read_raw()
112 adbu = !(adc_config & BIT(2)); in stx104_read_raw()
113 gain = adc_config & 0x3; in stx104_read_raw()
/linux-5.19.10/drivers/iio/light/
Dsi1133.c205 u8 adc_config[6]; member
558 u8 adc_config) in si1133_chan_set_adcconfig() argument
563 adc_config); in si1133_chan_set_adcconfig()
567 data->adc_config[adc] = adc_config; in si1133_chan_set_adcconfig()
575 u32 adc_config; in si1133_update_adcconfig() local
579 &adc_config); in si1133_update_adcconfig()
583 adc_config &= ~mask; in si1133_update_adcconfig()
584 adc_config |= (value << shift); in si1133_update_adcconfig()
586 return si1133_chan_set_adcconfig(data, adc, adc_config); in si1133_update_adcconfig()
591 if ((mux & data->adc_config[adc]) == mux) in si1133_set_adcmux()