Searched refs:pga_mode (Results 1 – 1 of 1) sorted by relevance
51 u8 pga_mode; member253 u8 pga_mode = ads1018->chan_data[chan->scan_index].pga_mode; in ads1018_single_shot() local274 cfg |= FIELD_PREP(ADS1018_CFG_PGA_MASK, pga_mode); in ads1018_single_shot()299 u8 pga_mode, drate_mode; in ads1018_read_raw_direct_mode() local317 pga_mode = ads1018->chan_data[addr].pga_mode; in ads1018_read_raw_direct_mode()318 *val = chip_info->pga_mode_to_gain[pga_mode][0]; in ads1018_read_raw_direct_mode()319 *val2 = chip_info->pga_mode_to_gain[pga_mode][1]; in ads1018_read_raw_direct_mode()398 ads1018->chan_data[chan->scan_index].pga_mode = i; in ads1018_write_raw_direct_mode()495 pga = ads1018->chan_data[addr].pga_mode; in ads1018_buffer_preenable()650 ads1018->chan_data[i].pga_mode = ADS1018_PGA_DEFAULT; in ads1018_spi_probe()