Searched refs:odr_bits (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/iio/imu/ |
D | kmx61.c | 131 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 …]
|
/linux-6.1.9/drivers/iio/accel/ |
D | kxcjk-1013.c | 255 u8 odr_bits; member 283 int odr_bits; member 319 int odr_bits; member 547 data->odr_bits = ret; in kxcjk1013_chip_init() 594 if (odr_start_up_times[idx][i].odr_bits == data->odr_bits) in kxcjk1013_get_startup_times() 779 size_t map_size, int odr_bits, in kxcjk1013_convert_odr_value() argument 785 if (map[i].odr_bits == odr_bits) { in kxcjk1013_convert_odr_value() 823 odr_setting->odr_bits); in kxcjk1013_set_odr() 829 data->odr_bits = odr_setting->odr_bits; in kxcjk1013_set_odr() 852 data->odr_bits, val, val2); in kxcjk1013_get_odr() [all …]
|
/linux-6.1.9/drivers/iio/gyro/ |
D | fxas21002c_core.c | 449 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()
|