Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/gyro/ !
Dfxas21002c_core.c555 int fs_bits; in fxas21002c_scale_get() local
560 ret = regmap_field_read(data->regmap_fields[F_FS], &fs_bits); in fxas21002c_scale_get()
564 scale = fxas21002c_range_fs_from_value(data, fs_bits); in fxas21002c_scale_get()
580 int fs_bits; in fxas21002c_scale_set() local
582 fs_bits = fxas21002c_range_value_from_fs(data, range); in fxas21002c_scale_set()
583 if (fs_bits < 0) in fxas21002c_scale_set()
584 return fs_bits; in fxas21002c_scale_set()
586 return fxas21002c_write(data, F_FS, fs_bits); in fxas21002c_scale_set()