Searched refs:range_dps (Results 1 – 5 of 5) sorted by relevance
141 uint16_t range_dps; in bmg160_attr_set() local149 range_dps = sensor_rad_to_degrees(val); in bmg160_attr_set()151 idx = bmg160_is_val_valid(range_dps, in bmg160_attr_set()162 bmg160->scale = BMG160_RANGE_TO_SCALE(range_dps); in bmg160_attr_set()289 uint16_t range_dps; in bmg160_init() local319 range_dps = bmg160_gyro_range_map[BMG160_DEFAULT_RANGE]; in bmg160_init()321 bmg160->scale = BMG160_RANGE_TO_SCALE(range_dps); in bmg160_init()
95 uint16_t any_th_dps, range_dps; in bmg160_slope_config() local99 range_dps = BMG160_SCALE_TO_RANGE(bmg160->scale); in bmg160_slope_config()100 any_th_reg_val = any_th_dps * 2000U / range_dps; in bmg160_slope_config()103 if (any_th_dps > range_dps / 16U) { in bmg160_slope_config()
140 #define BMG160_RANGE_TO_SCALE(range_dps) \ argument141 ((2 * range_dps * SENSOR_PI) / 180LL / 65536LL)
427 #define BMI08X_GYR_SCALE(range_dps) ((2 * range_dps * SENSOR_PI) / 180LL / 65536LL) argument
306 #define BMI160_GYR_SCALE_NUMERATOR(range_dps) (2 * (range_dps) * SENSOR_PI) argument