Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/imu/
Dkmx61.c131 u8 odr_bits; member
182 int odr_bits; member
309 return kmx61_wake_up_odr_table[i].odr_bits; in kmx61_convert_wake_up_odr_to_bit()
403 int ret, odr_bits; in kmx61_set_wake_up_odr() local
405 odr_bits = kmx61_convert_wake_up_odr_to_bit(val, val2); in kmx61_set_wake_up_odr()
406 if (odr_bits < 0) in kmx61_set_wake_up_odr()
407 return odr_bits; in kmx61_set_wake_up_odr()
410 odr_bits); in kmx61_set_wake_up_odr()
420 int lodr_bits, odr_bits; in kmx61_set_odr() local
436 odr_bits = 0; in kmx61_set_odr()
[all …]
/kernel/linux/linux-5.10/drivers/iio/accel/
Dkxcjk-1013.c153 u8 odr_bits; member
180 int odr_bits; member
216 int odr_bits; member
432 data->odr_bits = ret; in kxcjk1013_chip_init()
469 if (odr_start_up_times[idx][i].odr_bits == data->odr_bits) in kxcjk1013_get_startup_times()
663 size_t map_size, int odr_bits, in kxcjk1013_convert_odr_value() argument
669 if (map[i].odr_bits == odr_bits) { in kxcjk1013_convert_odr_value()
707 odr_setting->odr_bits); in kxcjk1013_set_odr()
713 data->odr_bits = odr_setting->odr_bits; in kxcjk1013_set_odr()
736 data->odr_bits, val, val2); in kxcjk1013_get_odr()
[all …]
/kernel/linux/linux-5.10/drivers/iio/gyro/
Dfxas21002c_core.c449 unsigned int odr_bits; in fxas21002c_odr_get() local
453 ret = regmap_field_read(data->regmap_fields[F_DR], &odr_bits); in fxas21002c_odr_get()
457 *odr = fxas21002c_odr_hz_from_value(data, odr_bits); in fxas21002c_odr_get()
469 int odr_bits; in fxas21002c_odr_set() local
471 odr_bits = fxas21002c_odr_value_from_hz(data, odr); in fxas21002c_odr_set()
472 if (odr_bits < 0) in fxas21002c_odr_set()
473 return odr_bits; in fxas21002c_odr_set()
475 return fxas21002c_write(data, F_DR, odr_bits); in fxas21002c_odr_set()