Searched refs:VOLT_FROM_REG (Results 1 – 2 of 2) sorted by relevance
61 #define VOLT_FROM_REG(val) DIV_ROUND_CLOSEST((val), 1 << 9) macro124 ret = VOLT_FROM_REG(data->mfr_voutmin * 10000); in max20730_debugfs_read()276 ret = VOLT_FROM_REG(ret * 10000); in max20730_debugfs_read()285 ret = VOLT_FROM_REG(ret * 10000); in max20730_debugfs_read()
504 #define VOLT_FROM_REG(val) ((val) * 8) macro512 return sprintf(buf, "%d\n", VOLT_FROM_REG(data->in[nr])); in show_in()520 return sprintf(buf, "%d\n", VOLT_FROM_REG(data->in_max[nr])); in show_in_max()528 return sprintf(buf, "%d\n", VOLT_FROM_REG(data->in_min[nr])); in show_in_min()