/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/ |
D | inv_self_test.c | 259 bias_dtype accel_bias[3]; in main() local 351 memset(accel_bias,0, sizeof(accel_bias)); in main() 425 if (read_sysfs_int(mpu.accel_x_calibbias, &accel_bias[0].i) < 0 || in main() 426 read_sysfs_int(mpu.accel_y_calibbias, &accel_bias[1].i) < 0 || in main() 427 read_sysfs_int(mpu.accel_z_calibbias, &accel_bias[2].i) < 0 || in main() 429 memset(accel_bias, 0, sizeof(accel_bias)); in main() 436 accel_bias[0].i, accel_bias[1].i, accel_bias[2].i); in main() 486 if (ABS(accel_bias[1].l) > ABS(accel_bias[0].l)) { in main() 489 if (ABS(accel_bias[2].l) > ABS(accel_bias[axis].l)) { in main() 492 if (accel_bias[axis].l < 0) { in main() [all …]
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 50 long accel_bias[3]; member 485 … if (memcmp(inv_data_builder.save.accel_bias, bias, sizeof(inv_data_builder.save.accel_bias))) { in inv_set_accel_bias() 486 … memcpy(inv_data_builder.save.accel_bias, bias, sizeof(inv_data_builder.save.accel_bias)); in inv_set_accel_bias() 487 inv_apply_calibration(&sensors.accel, inv_data_builder.save.accel_bias); in inv_set_accel_bias() 514 inv_data_builder.save.accel_bias[0] = bias[0]; in inv_set_accel_bias_mask() 517 inv_data_builder.save.accel_bias[1] = bias[1]; in inv_set_accel_bias_mask() 520 inv_data_builder.save.accel_bias[2] = bias[2]; in inv_set_accel_bias_mask() 523 inv_apply_calibration(&sensors.accel, inv_data_builder.save.accel_bias); in inv_set_accel_bias_mask() 582 memcpy(bias, inv_data_builder.save.accel_bias, in inv_get_accel_bias() 583 sizeof(inv_data_builder.save.accel_bias)); in inv_get_accel_bias() [all …]
|
/hardware/invensense/60xx/mlsdk/mllite/ |
D | mlarray.c | 525 data[0] = inv_obj.accel_bias[0]; in inv_get_accel_bias() 526 data[1] = inv_obj.accel_bias[1]; in inv_get_accel_bias() 527 data[2] = inv_obj.accel_bias[2]; in inv_get_accel_bias() 1499 data[0] = (float)inv_obj.accel_bias[0] / 65536.0f; in inv_get_accel_bias_float() 1500 data[1] = (float)inv_obj.accel_bias[1] / 65536.0f; in inv_get_accel_bias_float() 1501 data[2] = (float)inv_obj.accel_bias[2] / 65536.0f; in inv_get_accel_bias_float() 2185 inv_obj.accel_bias[i] = data[i]; in inv_set_accel_bias()
|
D | ml_stored_data.c | 392 long accel_bias[3]; in inv_load_cal_V2() local 493 accel_bias[i] = (int32_t) t; in inv_load_cal_V2() 494 LOADCAL_LOG("accel_bias[%d] = %ld\n", i, accel_bias[i]); in inv_load_cal_V2() 497 if (inv_set_array(INV_ACCEL_BIAS, accel_bias)) { in inv_load_cal_V2() 498 LOG_RESULT_LOCATION(inv_set_array(INV_ACCEL_BIAS, accel_bias)); in inv_load_cal_V2() 499 return inv_set_array(INV_ACCEL_BIAS, accel_bias); in inv_load_cal_V2()
|
D | ml.h | 299 long accel_bias[3]; member
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 581 inv_data_builder.save_accel_mpl.accel_bias[0] = bias[0]; in inv_set_accel_bias_mask() 584 inv_data_builder.save_accel_mpl.accel_bias[1] = bias[1]; in inv_set_accel_bias_mask() 587 inv_data_builder.save_accel_mpl.accel_bias[2] = bias[2]; in inv_set_accel_bias_mask() 590 inv_apply_calibration(&sensors.accel, inv_data_builder.save_accel_mpl.accel_bias); in inv_set_accel_bias_mask() 759 memcpy(bias, inv_data_builder.save_accel_mpl.accel_bias, in inv_get_mpl_accel_bias() 760 sizeof(inv_data_builder.save_accel_mpl.accel_bias)); in inv_get_mpl_accel_bias() 797 inv_apply_calibration(&sensors.accel, inv_data_builder.save_accel_mpl.accel_bias); in inv_build_accel()
|
D | data_builder.h | 206 long accel_bias[3]; member
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 786 inv_data_builder.save_accel_mpl.accel_bias[0] = bias[0]; in inv_set_accel_bias_mask() 789 inv_data_builder.save_accel_mpl.accel_bias[1] = bias[1]; in inv_set_accel_bias_mask() 792 inv_data_builder.save_accel_mpl.accel_bias[2] = bias[2]; in inv_set_accel_bias_mask() 795 inv_apply_calibration(&sensors.accel, inv_data_builder.save_accel_mpl.accel_bias); in inv_set_accel_bias_mask() 973 memcpy(bias, inv_data_builder.save_accel_mpl.accel_bias, in inv_get_mpl_accel_bias() 974 sizeof(inv_data_builder.save_accel_mpl.accel_bias)); in inv_get_mpl_accel_bias() 988 inv_data_builder.save_accel_mpl.accel_bias, bias); in inv_get_accel_bias_dmp_units() 1023 inv_apply_calibration(&sensors.accel, inv_data_builder.save_accel_mpl.accel_bias); in inv_build_accel()
|
D | data_builder.h | 209 long accel_bias[3]; member
|
/hardware/invensense/60xx/libsensors_iio/ |
D | MPLSensor.h | 300 char *accel_bias; member
|
D | MPLSensor.cpp | 2741 sprintf(mpu.accel_bias, "%s%s", sysfs_path, "/accl_bias"); in inv_init_sysfs_attributes()
|
/hardware/invensense/6515/libsensors_iio/ |
D | MPLSensor.h | 440 char *accel_bias; member
|
/hardware/invensense/65xx/libsensors_iio/ |
D | MPLSensor.h | 461 char *accel_bias; member
|