Searched refs:is_power (Results 1 – 1 of 1) sorted by relevance
174 struct i2c_client *client, bool is_power) in adm1275_read_pmon_config() argument186 mask = is_power ? ADM1278_PWR_AVG_MASK : ADM1278_VI_AVG_MASK; in adm1275_read_pmon_config()187 shift = is_power ? ADM1278_PWR_AVG_SHIFT : ADM1278_VI_AVG_SHIFT; in adm1275_read_pmon_config()201 bool is_power, u16 word) in adm1275_write_pmon_config() argument208 mask = is_power ? ADM1278_PWR_AVG_MASK : ADM1278_VI_AVG_MASK; in adm1275_write_pmon_config()209 shift = is_power ? ADM1278_PWR_AVG_SHIFT : ADM1278_VI_AVG_SHIFT; in adm1275_write_pmon_config()