Searched refs:pga_mode (Results 1 – 1 of 1) sorted by relevance
50 u8 pga_mode; member252 u8 pga_mode = ads1018->chan_data[chan->scan_index].pga_mode; in ads1018_single_shot() local273 cfg |= FIELD_PREP(ADS1018_CFG_PGA_MASK, pga_mode); in ads1018_single_shot()298 u8 pga_mode, drate_mode; in ads1018_read_raw_direct_mode() local316 pga_mode = ads1018->chan_data[addr].pga_mode; in ads1018_read_raw_direct_mode()317 *val = chip_info->pga_mode_to_gain[pga_mode][0]; in ads1018_read_raw_direct_mode()318 *val2 = chip_info->pga_mode_to_gain[pga_mode][1]; in ads1018_read_raw_direct_mode()397 ads1018->chan_data[chan->scan_index].pga_mode = i; in ads1018_write_raw_direct_mode()494 pga = ads1018->chan_data[addr].pga_mode; in ads1018_buffer_preenable()649 ads1018->chan_data[i].pga_mode = ADS1018_PGA_DEFAULT; in ads1018_spi_probe()