/hardware/invensense/mlsdk/mllite/ |
mldl_cfg.h | 23 * @file mldl_cfg.h 85 struct mldl_cfg { struct 135 int inv_mpu_open(struct mldl_cfg *mldl_cfg, 140 int inv_mpu_close(struct mldl_cfg *mldl_cfg, 145 int inv_mpu_resume(struct mldl_cfg *mldl_cfg, 151 int inv_mpu_suspend(struct mldl_cfg *mldl_cfg, [all...] |
accel.c | 47 #include "mldl_cfg.h" 86 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 87 if (NULL != mldl_cfg->accel && 88 NULL != mldl_cfg->accel->resume && 89 mldl_cfg->requested_sensors & INV_THREE_AXIS_ACCEL) 102 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 103 if (NULL != mldl_cfg->pdata) 104 return mldl_cfg->pdata->accel.address 116 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 132 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local [all...] |
pressure.c | 49 #include "mldl_cfg.h" 87 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 88 if (NULL != mldl_cfg->pressure && 89 NULL != mldl_cfg->pressure->resume && 90 mldl_cfg->requested_sensors & INV_THREE_AXIS_PRESSURE) 103 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 104 if (NULL != mldl_cfg->pdata) 105 return mldl_cfg->pdata->pressure.address 117 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 135 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local [all...] |
mldl_cfg_mpu.c | 38 #include "mldl_cfg.h" 58 void mpu_print_cfg(struct mldl_cfg * mldl_cfg) 60 struct mpu_platform_data *pdata = mldl_cfg->pdata; 61 struct ext_slave_platform_data *accel = &mldl_cfg->pdata->accel; 62 struct ext_slave_platform_data *compass = &mldl_cfg->pdata->compass; 63 struct ext_slave_platform_data *pressure = &mldl_cfg->pdata->pressure; 65 MPL_LOGD("mldl_cfg.addr = %02x\n", mldl_cfg->addr); 66 MPL_LOGD("mldl_cfg.int_config = %02x\n", mldl_cfg->int_config) [all...] |
mldmp.c | 39 #include "mldl_cfg.h" 82 struct mldl_cfg *mldl_cfg; local 134 mldl_cfg = inv_get_dl_config(); 136 if (mldl_cfg->accel && mldl_cfg->accel->resume) 139 if (mldl_cfg->compass && mldl_cfg->compass->resume) 142 if (mldl_cfg->pressure && mldl_cfg->pressure->resume [all...] |
mlSetGyroBias.c | 57 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 59 if (mldl_cfg->gyro_sens_trim != 0) { 60 sf = 2000 * 131 / mldl_cfg->gyro_sens_trim; 76 biasPrev[i] = (long)mldl_cfg->offset[i]; 109 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 115 if (mldl_cfg->gyro_sens_trim != 0) { 116 sf = 2000 * 131 / mldl_cfg->gyro_sens_trim;
|
compass.c | 49 #include "mldl_cfg.h" 220 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 221 if (NULL != mldl_cfg->compass && 222 NULL != mldl_cfg->compass->resume && 223 mldl_cfg->requested_sensors & INV_THREE_AXIS_COMPASS) 236 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 237 if (NULL != mldl_cfg->pdata) 238 return mldl_cfg->pdata->compass.address 250 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 268 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local [all...] |
ml.c | 60 #include "mldl_cfg.h" 200 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 203 gyroCal[ii] = mldl_cfg->pdata->orientation[ii]; 204 accelCal[ii] = mldl_cfg->pdata->accel.orientation[ii]; 205 magCal[ii] = mldl_cfg->pdata->compass.orientation[ii]; 208 switch (mldl_cfg->full_scale) { 223 mldl_cfg->full_scale); 228 RANGE_FIXEDPOINT_TO_FLOAT(mldl_cfg->accel->range, accelScale); 233 inv_obj.accel_sens /= 32768 / mldl_cfg->accel_sens_trim 269 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 532 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 769 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 801 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 910 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 1171 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 1682 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local [all...] |
mlFIFOHW.c | 50 #include "mldl_cfg.h" 280 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 283 if (mldl_cfg->gyro_is_suspended)
|
mlFIFO.c | 51 #include "mldl_cfg.h" 467 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 470 if ((mldl_cfg->requested_sensors & INV_DMP_PROCESSOR) && 598 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 609 if (mldl_cfg->requested_sensors & INV_DMP_PROCESSOR) { 1589 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 1961 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 2029 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 2047 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 2066 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local [all...] |
ml_mputest.c | 51 #include "mldl_cfg.h" 60 extern struct mldl_cfg *mputestCfgPtr; 73 * @pre inv_dmp_open() <b>must</b> have been called to populate the mldl_cfg 109 /* obtain a pointer to the 'struct mldl_cfg' data structure. */
|
mldl.h | 30 #include "mldl_cfg.h" 124 struct mldl_cfg *inv_get_dl_config(void);
|
mlarray.c | 2136 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 2182 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local [all...] |
mlsupervisor.c | 36 #include "mldl_cfg.h" 92 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 93 if (mldl_cfg->pdata->compass.bus == EXT_SLAVE_BUS_SECONDARY) {
|
mldl.c | 52 #include "mldl_cfg.h" 76 static struct mldl_cfg mldlCfg; 243 * Accessor to set the requested_sensors field of the mldl_cfg structure. 364 * @return a pointer to the data structure of type 'struct mldl_cfg'. 366 struct mldl_cfg *inv_get_dl_config(void) [all...] |
/hardware/invensense/mlsdk/platform/linux/kernel/ |
mpuirq.h | 25 #include "mldl_cfg.h" 38 int mpuirq_init(struct i2c_client *mpu_client, struct mldl_cfg *mldl_cfg);
|
/hardware/invensense/mlsdk/platform/include/linux/ |
mpu.h | 304 #define MPU_SET_MPU_CONFIG _IOWR(MPU_IOCTL, 0x00, struct mldl_cfg) 305 #define MPU_GET_MPU_CONFIG _IOW(MPU_IOCTL, 0x00, struct mldl_cfg) 307 #define MPU_SET_PLATFORM_DATA _IOWR(MPU_IOCTL, 0x01, struct mldl_cfg)
|
/hardware/invensense/libsensors/ |
MPLSensor.cpp | 44 #include "mldl_cfg.h" 456 struct mldl_cfg *mldl_cfg; local 492 mldl_cfg = inv_get_dl_config(); [all...] |
/hardware/invensense/mlsdk/mlutils/ |
mputest.c | 62 #include "mldl_cfg.h" 160 struct mldl_cfg *mputestCfgPtr, 208 struct mldl_cfg *mputestCfgPtr = NULL; [all...] |