Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/dac/
H A Dad5761.c41 struct ad5761_range_params { struct
82 static const struct ad5761_range_params ad5761_range_params[] = { variable
218 *val = st->vref * ad5761_range_params[st->range].m; in ad5761_read_raw()
225 *val *= ad5761_range_params[st->range].c; in ad5761_read_raw()
226 *val /= ad5761_range_params[st->range].m; in ad5761_read_raw()