Searched refs:offset_uv (Results 1 – 5 of 5) sorted by relevance
64 int offset_uv; member83 int offset_uv) in ada4250_set_offset_uv() argument126 if (offset_uv > min_vos && offset_uv < max_vos) { in ada4250_set_offset_uv()136 offset_raw = DIV_ROUND_CLOSEST(abs(offset_uv), vlsb); in ada4250_set_offset_uv()145 st->offset_uv = offset_raw * vlsb; in ada4250_set_offset_uv()152 if (offset_uv < 0) { in ada4250_set_offset_uv()154 st->offset_uv *= (-1); in ada4250_set_offset_uv()182 *val = st->offset_uv; in ada4250_read_raw()
31 int offset = align->offset_uv * v_scale; in round_cvb_voltage()34 uv = DIV_ROUND_UP(uv, step) * align->step_uv + align->offset_uv; in round_cvb_voltage()48 uv = max(mv * 1000, align->offset_uv) - align->offset_uv; in round_voltage()50 return (uv * align->step_uv + align->offset_uv) / 1000; in round_voltage()
533 &align->offset_uv)) in get_alignment_from_dt()534 align->offset_uv = 0; in get_alignment_from_dt()545 align->offset_uv = regulator_list_voltage(reg, 0); in get_alignment_from_regulator()
16 int offset_uv; member
1851 if (!td->soc->alignment.step_uv || !td->soc->alignment.offset_uv) { in dfll_fetch_pwm_params()1857 td->lut_uv[i] = td->soc->alignment.offset_uv + in dfll_fetch_pwm_params()
Completed in 13 milliseconds