Home
last modified time | relevance | path

Searched refs:gravity (Results 1 – 9 of 9) sorted by relevance

/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dhal_outputs.c106 long gravity[3], accel[3]; in inv_get_sensor_type_linear_acceleration() local
110 inv_get_gravity(gravity); in inv_get_sensor_type_linear_acceleration()
111 accel[0] -= gravity[0] >> 14; in inv_get_sensor_type_linear_acceleration()
112 accel[1] -= gravity[1] >> 14; in inv_get_sensor_type_linear_acceleration()
113 accel[2] -= gravity[2] >> 14; in inv_get_sensor_type_linear_acceleration()
135 long gravity[3]; in inv_get_sensor_type_gravity() local
140 inv_get_gravity(gravity); in inv_get_sensor_type_gravity()
141 values[0] = (gravity[0] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
142 values[1] = (gravity[1] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
143 values[2] = (gravity[2] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
Dresults_holder.c483 long gravity[3]; in inv_get_linear_accel() local
488 inv_get_gravity(gravity); in inv_get_linear_accel()
489 data[0] -= gravity[0] >> 14; in inv_get_linear_accel()
490 data[1] -= gravity[1] >> 14; in inv_get_linear_accel()
491 data[2] -= gravity[2] >> 14; in inv_get_linear_accel()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dhal_outputs.c154 long gravity[3], accel[3]; in inv_get_sensor_type_linear_acceleration() local
158 inv_get_gravity(gravity); in inv_get_sensor_type_linear_acceleration()
159 accel[0] -= gravity[0] >> 14; in inv_get_sensor_type_linear_acceleration()
160 accel[1] -= gravity[1] >> 14; in inv_get_sensor_type_linear_acceleration()
161 accel[2] -= gravity[2] >> 14; in inv_get_sensor_type_linear_acceleration()
179 long gravity[3]; in inv_get_sensor_type_gravity() local
182 inv_get_gravity(gravity); in inv_get_sensor_type_gravity()
183 values[0] = (gravity[0] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
184 values[1] = (gravity[1] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
185 values[2] = (gravity[2] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
Dresults_holder.c607 long gravity[3]; in inv_get_linear_accel() local
612 inv_get_gravity(gravity); in inv_get_linear_accel()
613 data[0] -= gravity[0] >> 14; in inv_get_linear_accel()
614 data[1] -= gravity[1] >> 14; in inv_get_linear_accel()
615 data[2] -= gravity[2] >> 14; in inv_get_linear_accel()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
Dinv_self_test.c526 long gravity = axis_sign * (32768L / accel_scale.i) * 1000L; in main() local
527 accel_bias[axis].l -= gravity; in main()
529 gravity = axis_sign * (32768L / accel_scale.i) * 65536L; in main()
531 printf("Self-Test:Gravity = %ld\n", gravity); in main()
533 save_data.factory_accel_bias[axis] -= gravity; in main()
/hardware/invensense/65xx/libsensors_iio/software/core/mpl/
Dmag_disturb.h20 const long *compass, const long *gravity);
/hardware/invensense/6515/libsensors_iio/software/core/mpl/
Dmag_disturb.h21 const long *compass, const long *gravity);
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Dmain.c494 float gravity[3]; in fifo_callback() local
495 inv_get_sensor_type_gravity_float(gravity, NULL, NULL); in fifo_callback()
496 PRINT_3ELM_ARRAY_FLOAT(10, 5, gravity); in fifo_callback()
/hardware/interfaces/sensors/1.0/
Dtypes.hal132 * device minus the acceleration due to gravity.
218 * A gravity output indicates the direction of and magnitude of gravity in
231 * not including gravity.
387 * 2-seconds window average gravity changed by at least 35 degrees since the
391 * the first 1 second after activation or the estimated gravity at the last
712 * device minus the acceleration due to gravity.