Lines Matching refs:scale
370 float scale) in lsm9ds0_mfd_convert_accel() argument
374 dval = (double)(raw_val) * (double)scale; in lsm9ds0_mfd_convert_accel()
382 float scale) in lsm9ds0_mfd_get_accel_channel() argument
386 lsm9ds0_mfd_convert_accel(val, data->sample_accel_x, scale); in lsm9ds0_mfd_get_accel_channel()
389 lsm9ds0_mfd_convert_accel(val, data->sample_accel_y, scale); in lsm9ds0_mfd_get_accel_channel()
392 lsm9ds0_mfd_convert_accel(val, data->sample_accel_z, scale); in lsm9ds0_mfd_get_accel_channel()
395 lsm9ds0_mfd_convert_accel(val, data->sample_accel_x, scale); in lsm9ds0_mfd_get_accel_channel()
396 lsm9ds0_mfd_convert_accel(val + 1, data->sample_accel_y, scale); in lsm9ds0_mfd_get_accel_channel()
397 lsm9ds0_mfd_convert_accel(val + 2, data->sample_accel_z, scale); in lsm9ds0_mfd_get_accel_channel()
456 float scale) in lsm9ds0_mfd_convert_magn() argument
460 dval = (double)(raw_val) * (double)scale; in lsm9ds0_mfd_convert_magn()
468 float scale) in lsm9ds0_mfd_get_magn_channel() argument
472 lsm9ds0_mfd_convert_magn(val, data->sample_magn_x, scale); in lsm9ds0_mfd_get_magn_channel()
475 lsm9ds0_mfd_convert_magn(val, data->sample_magn_y, scale); in lsm9ds0_mfd_get_magn_channel()
478 lsm9ds0_mfd_convert_magn(val, data->sample_magn_z, scale); in lsm9ds0_mfd_get_magn_channel()
481 lsm9ds0_mfd_convert_magn(val, data->sample_magn_x, scale); in lsm9ds0_mfd_get_magn_channel()
482 lsm9ds0_mfd_convert_magn(val + 1, data->sample_magn_y, scale); in lsm9ds0_mfd_get_magn_channel()
483 lsm9ds0_mfd_convert_magn(val + 2, data->sample_magn_z, scale); in lsm9ds0_mfd_get_magn_channel()