Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/amplifiers/
Dada4250.c87 int i, ret, x[8], max_vos, min_vos, voltage_v, vlsb = 0; in ada4250_set_offset_uv() local
128 vlsb = x[st->gain] * ((1 << (i + 1)) - 1); in ada4250_set_offset_uv()
133 if (vlsb <= 0) 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()