Home
last modified time | relevance | path

Searched refs:BMA400_SCALE_MIN (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/iio/accel/
H A Dbma400.h87 * BMA400_SCALE_MIN macro value represents m/s^2 for 1 LSB before
95 * by the first bit set position from the scale value, so BMA400_SCALE_MIN
99 * array by left shifting BMA400_SCALE_MIN.
105 #define BMA400_SCALE_MIN 9577 macro
H A Dbma400_core.c443 /* Note this works because BMA400_SCALE_MIN is odd */ in bma400_accel_scale_to_raw()
446 if (val >> raw != BMA400_SCALE_MIN) in bma400_accel_scale_to_raw()
466 data->scale = BMA400_SCALE_MIN << raw_scale; in bma400_get_accel_scale()
559 bma400_scales[i + 1] = BMA400_SCALE_MIN << raw; in bma400_init_tables()
756 val2 < BMA400_SCALE_MIN || val2 > BMA400_SCALE_MAX) in bma400_write_raw()
/kernel/linux/linux-6.6/drivers/iio/accel/
H A Dbma400.h123 * BMA400_SCALE_MIN macro value represents m/s^2 for 1 LSB before
131 * by the first bit set position from the scale value, so BMA400_SCALE_MIN
135 * array by left shifting BMA400_SCALE_MIN.
141 #define BMA400_SCALE_MIN 9577 macro
H A Dbma400_core.c678 /* Note this works because BMA400_SCALE_MIN is odd */ in bma400_accel_scale_to_raw()
681 if (val >> raw != BMA400_SCALE_MIN) in bma400_accel_scale_to_raw()
701 data->scale = BMA400_SCALE_MIN << raw_scale; in bma400_get_accel_scale()
830 bma400_scales[i + 1] = BMA400_SCALE_MIN << raw; in bma400_init_tables()
1067 val2 < BMA400_SCALE_MIN || val2 > BMA400_SCALE_MAX) in bma400_write_raw()

Completed in 4 milliseconds