Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/iio/amplifiers/
A Dada4250.c64 int offset_uv; member
83 int offset_uv) in ada4250_set_offset_uv() argument
126 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()
/linux-6.3-rc2/drivers/clk/tegra/
A Dcvb.c31 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()
A Dclk-tegra124-dfll-fcpu.c533 &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()
A Dcvb.h16 int offset_uv; member
A Dclk-dfll.c1851 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