Searched refs:is_v2 (Results 1 – 1 of 1) sorted by relevance
91 int is_v2; in read_voltages() local103 is_v2 = (ctrl1 | ctrl2) & CTRL_SM0_SUPPLY2; in read_voltages()104 *sm0 = tps6586x_read(is_v2 ? SM0_VOLTAGE_V2 : SM0_VOLTAGE_V1); in read_voltages()105 *sm1 = tps6586x_read(is_v2 ? SM1_VOLTAGE_V2 : SM1_VOLTAGE_V1); in read_voltages()