Searched refs:adc_config (Results 1 – 2 of 2) sorted by relevance
99 unsigned int adc_config; in stx104_read_raw() local106 adc_config = ioread8(®->acfg); in stx104_read_raw()107 gain = adc_config & 0x3; in stx104_read_raw()130 adc_config = ioread8(®->acfg); in stx104_read_raw()131 adbu = !(adc_config & BIT(2)); in stx104_read_raw()137 adc_config = ioread8(®->acfg); in stx104_read_raw()138 adbu = !(adc_config & BIT(2)); in stx104_read_raw()139 gain = adc_config & 0x3; in stx104_read_raw()
205 u8 adc_config[6]; member558 u8 adc_config) in si1133_chan_set_adcconfig() argument563 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() local579 &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()