Home
last modified time | relevance | path

Searched refs:requested_sensors (Results 1 – 11 of 11) sorted by relevance

/hardware/invensense/mlsdk/mllite/
Dmldmp.c83 unsigned long requested_sensors; in inv_dmp_open() local
135 requested_sensors = INV_THREE_AXIS_GYRO; in inv_dmp_open()
137 requested_sensors |= INV_THREE_AXIS_ACCEL; in inv_dmp_open()
140 requested_sensors |= INV_THREE_AXIS_COMPASS; in inv_dmp_open()
143 requested_sensors |= INV_THREE_AXIS_PRESSURE; in inv_dmp_open()
145 result = inv_init_requested_sensors(requested_sensors); in inv_dmp_open()
190 result = inv_dl_start(inv_get_dl_config()->requested_sensors); in inv_dmp_start()
Dmldl_cfg_mpu.c261 mldl_cfg->requested_sensors = sensors; in inv_mpu_resume()
291 unsigned long requested = mldl_cfg->requested_sensors; in inv_mpu_suspend()
293 mldl_cfg->requested_sensors = (~sensors) & INV_ALL_SENSORS; in inv_mpu_suspend()
313 mldl_cfg->requested_sensors = requested; in inv_mpu_suspend()
Dpressure.c90 mldl_cfg->requested_sensors & INV_THREE_AXIS_PRESSURE) in inv_pressure_present()
Daccel.c89 mldl_cfg->requested_sensors & INV_THREE_AXIS_ACCEL) in inv_accel_present()
DmlFIFO.c470 if ((mldl_cfg->requested_sensors & INV_DMP_PROCESSOR) && in inv_state_change_fifo()
609 if (mldl_cfg->requested_sensors & INV_DMP_PROCESSOR) { in inv_read_and_process_fifo()
1595 (mldl_cfg->requested_sensors & INV_DMP_PROCESSOR)) in inv_get_accel()
1597 (!(mldl_cfg->requested_sensors & INV_DMP_PROCESSOR) && in inv_get_accel()
1969 if (mldl_cfg->requested_sensors & INV_DMP_PROCESSOR) { in inv_set_fifo_rate()
1986 } else if (mldl_cfg->requested_sensors & INV_THREE_AXIS_ACCEL) { in inv_set_fifo_rate()
2044 if (mldl_cfg->requested_sensors & INV_DMP_PROCESSOR) in inv_get_sample_step_size_ms()
2063 if (mldl_cfg->requested_sensors & INV_DMP_PROCESSOR) in inv_get_sample_frequency()
Dcompass.c223 mldl_cfg->requested_sensors & INV_THREE_AXIS_COMPASS) in inv_compass_present()
278 !(mldl_cfg->requested_sensors & INV_DMP_PROCESSOR)) { in inv_get_compass_data()
Dml.c549 if (mldl_cfg->requested_sensors & INV_DMP_PROCESSOR) { in inv_update_data()
1455 return inv_get_dl_config()->requested_sensors & (INV_X_GYRO | INV_Y_GYRO | in inv_get_gyro_present()
1729 !(mldl_cfg->requested_sensors & INV_DMP_PROCESSOR)) { in inv_set_mpu_sensors()
1759 result = inv_obj.mode_change_func(mldl_cfg->requested_sensors, sensors); in inv_set_mpu_sensors()
1768 mldl_cfg->requested_sensors = sensors; in inv_set_mpu_sensors()
Dmldl.c271 mldlCfg.requested_sensors = sensors; in inv_init_requested_sensors()
308 mldlCfg.requested_sensors = sensors; in inv_dl_start()
Dmldl_cfg.h87 unsigned long requested_sensors; member
/hardware/invensense/libsensors/
DMPLSensor.cpp379 bool changing_sensors = ((inv_get_dl_config()->requested_sensors in setPowerStates()
393 if (sen_mask != inv_get_dl_config()->requested_sensors) { in setPowerStates()
582 if ((inv_get_dl_config()->requested_sensors) & INV_THREE_AXIS_GYRO) { in cbOnMotion()
953 if (((inv_get_dl_config()->requested_sensors & INV_DMP_PROCESSOR) == 0)) { in update_delay()
957 if (inv_get_dl_config()->requested_sensors in update_delay()
/hardware/invensense/mlsdk/mlutils/
Dmputest.c874 orig_requested_sensors = mputestCfgPtr->requested_sensors; in inv_test_accel()
875 mputestCfgPtr->requested_sensors = INV_THREE_AXIS_ACCEL | INV_THREE_AXIS_GYRO; in inv_test_accel()
878 mputestCfgPtr->requested_sensors); in inv_test_accel()
897 mputestCfgPtr->requested_sensors = orig_requested_sensors; in inv_test_accel()