Searched refs:adc_config (Results 1 – 2 of 2) sorted by relevance
102 unsigned int adc_config; in stx104_read_raw() local109 adc_config = ioread8(®->acfg); in stx104_read_raw()110 gain = adc_config & 0x3; in stx104_read_raw()137 adc_config = ioread8(®->acfg); in stx104_read_raw()138 adbu = !(adc_config & BIT(2)); in stx104_read_raw()144 adc_config = ioread8(®->acfg); in stx104_read_raw()145 adbu = !(adc_config & BIT(2)); in stx104_read_raw()146 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()