Searched refs:uV_delta (Results 1 – 1 of 1) sorted by relevance
294 unsigned int uV_delta, val; in mcp16502_set_voltage_time_sel() local302 uV_delta = abs(new_sel * rdev->desc->linear_ranges->step - in mcp16502_set_voltage_time_sel()308 ret = DIV_ROUND_CLOSEST(uV_delta * us_ramp[val], in mcp16502_set_voltage_time_sel()315 ret = DIV_ROUND_CLOSEST(uV_delta * us_ramp[val], in mcp16502_set_voltage_time_sel()