Searched refs:sensors (Results 1 - 25 of 37) sorted by relevance

12

/hardware/invensense/6515/libsensors_iio/software/core/mllite/
H A Ddata_builder.c61 static struct inv_sensor_cal_t sensors; variable in typeref:struct:inv_sensor_cal_t
91 memcpy(raw, sensors.compass.raw, sizeof(sensors.compass.raw));
98 // copy in the saved accuracy in the actual sensors accuracy
99 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy;
100 sensors.accel.accuracy = inv_data_builder.save.accel_accuracy;
101 sensors.compass.accuracy = inv_data_builder.save.compass_accuracy;
103 if (sensors.accel.accuracy == 3) {
106 if (sensors.compass.accuracy == 3) {
155 memset(&sensors,
[all...]
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
H A Ddata_builder.c77 static struct inv_sensor_cal_t sensors; variable in typeref:struct:inv_sensor_cal_t
109 // copy in the saved accuracy in the actual sensors accuracy
110 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy;
111 sensors.accel.accuracy = inv_data_builder.save.accel_accuracy;
112 sensors.compass.accuracy = inv_data_builder.save.compass_accuracy;
114 if (sensors.compass.accuracy == 3) {
133 memset(&sensors, 0, sizeof(sensors));
146 return sensors.gyro.sensitivity;
156 return sensors
[all...]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A Ddata_builder.c60 static struct inv_sensor_cal_t sensors; variable in typeref:struct:inv_sensor_cal_t
90 memcpy(raw, sensors.compass.raw, sizeof(sensors.compass.raw));
97 // copy in the saved accuracy in the actual sensors accuracy
98 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy;
99 sensors.accel.accuracy = inv_data_builder.save.accel_accuracy;
100 sensors.compass.accuracy = inv_data_builder.save.compass_accuracy;
102 if (sensors.accel.accuracy == 3) {
105 if (sensors.compass.accuracy == 3) {
154 memset(&sensors,
[all...]
/hardware/libhardware/modules/sensors/
H A DAndroid.mk23 LOCAL_MODULE := sensors.$(TARGET_DEVICE)
H A DSensorEventQueue.h20 #include <hardware/sensors.h>
H A DSensorEventQueue.cpp17 #include <hardware/sensors.h>
/hardware/libhardware/modules/
H A DAndroid.mk2 power usbaudio audio_remote_submix camera consumerir sensors vibrator \
/hardware/invensense/60xx/mlsdk/mllite/
H A Dmldl.h121 inv_error_t inv_dl_start(unsigned long sensors);
122 inv_error_t inv_dl_stop(unsigned long sensors);
126 inv_error_t inv_init_requested_sensors(unsigned long sensors);
H A Dml.c29 * sensors.
1682 * NOTE: In this version only full sensors controll is allowed. Independent
1685 * @param sensors Bit field of each axis desired to be turned on or off
1689 inv_error_t inv_set_mpu_sensors(unsigned long sensors) argument
1700 if (((sensors & INV_THREE_AXIS_ACCEL) != INV_THREE_AXIS_ACCEL) &&
1701 ((sensors & INV_THREE_AXIS_ACCEL) != 0)) {
1704 if (((sensors & INV_THREE_AXIS_ACCEL) != 0) &&
1709 if (((sensors & INV_THREE_AXIS_COMPASS) != INV_THREE_AXIS_COMPASS) &&
1710 ((sensors & INV_THREE_AXIS_COMPASS) != 0)) {
1713 if (((sensors
[all...]
H A Dmldl.c246 * @param sensors
247 * Bitfield of the sensors that are going to be used. Combination of the
269 inv_error_t inv_init_requested_sensors(unsigned long sensors) argument
271 mldlCfg.requested_sensors = sensors;
281 * @param sensors
282 * Bitfield of the sensors to turn on. Combination of the following:
303 inv_error_t inv_dl_start(unsigned long sensors) argument
308 mldlCfg.requested_sensors = sensors;
314 sensors);
324 * @param sensors Bitfile
346 inv_dl_stop(unsigned long sensors) argument
[all...]
H A Dmldl_cfg_mpu.c257 unsigned long sensors)
261 mldl_cfg->requested_sensors = sensors;
288 unsigned long sensors)
293 mldl_cfg->requested_sensors = (~sensors) & INV_ALL_SENSORS;
294 //MPL_LOGI("%s: suspending sensors to %04lx\n", __func__,
252 inv_mpu_resume(struct mldl_cfg* mldl_cfg, void *mlsl_handle, void *accel_handle, void *compass_handle, void *pressure_handle, unsigned long sensors) argument
283 inv_mpu_suspend(struct mldl_cfg *mldl_cfg, void *mlsl_handle, void *accel_handle, void *compass_handle, void *pressure_handle, unsigned long sensors) argument
H A Dmldl_cfg.h150 unsigned long sensors);
156 unsigned long sensors);
/hardware/invensense/60xx/libsensors/
H A Dsensors.h28 #include <hardware/sensors.h>
/hardware/akm/AK8975_FS/libsensors/
H A DAndroid.mk24 LOCAL_MODULE := sensors.default
39 sensors.cpp \
H A Dsensors.h28 #include <hardware/sensors.h>
/hardware/invensense/60xx/libsensors_iio/
H A Dsensors.h28 #include <hardware/sensors.h>
H A Dsensors_mpl.cpp19 #include <hardware/sensors.h>
33 #include "sensors.h"
53 static int sensors = (sizeof(sSensorList) / sizeof(sensor_t)); variable
62 return sensors;
122 sensors =
H A DMPLSensor.cpp684 /* TODO: Turn off and close all sensors */
1013 int MPLSensor::enableSensors(unsigned long sensors, int /*en*/, uint32_t changed) { argument
1048 LOGV_IF(PROCESS_VERBOSE, "HAL:enableSensors - sensors: 0x%0x", (unsigned int)sensors);
1051 res = enableOneSensor(sensors & INV_THREE_AXIS_GYRO, "gyro", &MPLSensor::enableGyro);
1058 res = enableOneSensor(sensors & INV_THREE_AXIS_ACCEL, "accel", &MPLSensor::enableAccel);
1066 res = enableOneSensor(sensors & INV_THREE_AXIS_COMPASS, "compass", &MPLSensor::enableCompass);
1096 if (sensors &
1119 if ((sensors & INV_THREE_AXIS_ACCEL) == 0) {
1131 } else { // all sensors idl
[all...]
/hardware/invensense/65xx/libsensors_iio/
H A Dsensors.h28 #include <hardware/sensors.h>
H A DAndroid.mk99 LOCAL_MODULE := sensors.invensense
103 #LOCAL_MODULE := sensors.invensense
105 LOCAL_MODULE := sensors.${TARGET_PRODUCT}
108 LOCAL_MODULE := sensors.${TARGET_PRODUCT}
H A Dsensors_mpl.cpp19 #include <hardware/sensors.h>
33 #include "sensors.h"
54 static int sensors = (sizeof(sSensorList) / sizeof(sensor_t)); variable
63 return sensors;
136 sensors =
/hardware/libhardware/tests/hardware/
H A Dstruct-last.cpp20 #include <hardware/sensors.h>
42 //Types defined in sensors.h
H A Dstruct-size.cpp20 #include <hardware/sensors.h>
49 //Types defined in sensors.h
/hardware/invensense/6515/libsensors_iio/
H A DAndroid.mk92 LOCAL_MODULE := sensors.full_grouper
96 LOCAL_MODULE := sensors.hammerhead
100 LOCAL_MODULE := sensors.invensense
105 LOCAL_MODULE := sensors.invensense
H A Dsensors_mpl.cpp20 #include <hardware/sensors.h>
36 #include "sensors.h"
68 static int sensors = (sizeof(sSensorList) / sizeof(sensor_t)); variable
77 return sensors;
155 sensors =

Completed in 378 milliseconds

12