Lines Matching full:fsr
284 uint8_t fsr) in fxls8974_accel_convert() argument
289 micro_ms2 = (raw * SENSOR_G) >> fsr; in fxls8974_accel_convert()
305 uint8_t fsr; in fxls8974_get_accel_data() local
309 if (cfg->ops->byte_read(dev, FXLS8974_REG_CTRLREG1, &fsr)) { in fxls8974_get_accel_data()
314 fsr = (fsr & FXLS8974_CTRLREG1_FSR_MASK) >> 1; in fxls8974_get_accel_data()
315 switch (fsr) { in fxls8974_get_accel_data()
317 fsr = 10U; in fxls8974_get_accel_data()
320 fsr = 9U; in fxls8974_get_accel_data()
323 fsr = 8U; in fxls8974_get_accel_data()
326 fsr = 7U; in fxls8974_get_accel_data()
333 fxls8974_accel_convert(val++, *raw++, fsr); in fxls8974_get_accel_data()
349 fxls8974_accel_convert(val, *raw, fsr); in fxls8974_get_accel_data()