Searched refs:step_uv (Results 1 – 3 of 3) sorted by relevance
39 int step = (align->step_uv ? : 1000) * v_scale; in round_cvb_voltage()43 uv = DIV_ROUND_UP(uv, step) * align->step_uv + align->offset_uv; in round_cvb_voltage()54 if (align->step_uv) { in round_voltage()58 uv = (uv + (up ? align->step_uv - 1 : 0)) / align->step_uv; in round_voltage()59 return (uv * align->step_uv + align->offset_uv) / 1000; in round_voltage()
26 int step_uv; member
46 .step_uv = 10000, /* 10mV */