Home
last modified time | relevance | path

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

/drivers/iio/addac/
Dstx104.c102 unsigned int adc_config; in stx104_read_raw() local
109 adc_config = ioread8(&reg->acfg); in stx104_read_raw()
110 gain = adc_config & 0x3; in stx104_read_raw()
137 adc_config = ioread8(&reg->acfg); in stx104_read_raw()
138 adbu = !(adc_config & BIT(2)); in stx104_read_raw()
144 adc_config = ioread8(&reg->acfg); in stx104_read_raw()
145 adbu = !(adc_config & BIT(2)); in stx104_read_raw()
146 gain = adc_config & 0x3; in stx104_read_raw()
/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()