Searched refs:accel_scale (Results 1 – 1 of 1) sorted by relevance
73 char *accel_scale; member211 sprintf(mpu.accel_scale, "%s%s", sysfs_path, "/in_accel_self_test_scale"); in inv_init_sysfs_attributes()260 bias_dtype accel_scale; in main() local428 read_sysfs_int(mpu.accel_scale, &accel_scale.i) < 0) { in main()430 accel_scale.i = 0; in main()506 scale_ratio = accel_scale.i / 2; in main()526 long gravity = axis_sign * (32768L / accel_scale.i) * 1000L; in main()529 gravity = axis_sign * (32768L / accel_scale.i) * 65536L; in main()543 scale_ratio = 16 / accel_scale.i; in main()