Home
last modified time | relevance | path

Searched refs:total_curr_resolution (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/hwmon/pmbus/
Dmp2888.c32 int total_curr_resolution; member
87 data->total_curr_resolution = (ret & MP2888_TOTAL_CURRENT_RESOLUTION) >> 3; in mp2888_current_sense_gain_and_resolution_get()
123 ret = (data->total_curr_resolution) ? ret * 2 : ret; in mp2888_read_phase()
195 ret = data->total_curr_resolution ? ret * 2 : ret; in mp2888_read_word_data()
207 ret = data->total_curr_resolution ? ret * 8 : ret * 4; in mp2888_read_word_data()
214 ret = data->total_curr_resolution ? ret : DIV_ROUND_CLOSEST(ret, 2); in mp2888_read_word_data()
225 ret = data->total_curr_resolution ? ret * 2 : ret; in mp2888_read_word_data()
276 word = data->total_curr_resolution ? DIV_ROUND_CLOSEST(word, 8) : in mp2888_write_word_data()
283 word = data->total_curr_resolution ? DIV_ROUND_CLOSEST(word, 4) : in mp2888_write_word_data()