/hardware/invensense/mlsdk/mllite/ |
H A D | 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 [all...] |
H A D | 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 117 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 135 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local [all...] |
H A D | 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 116 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 132 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local [all...] |
H A D | 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)
|
H A D | 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;
|
H A D | mldl_cfg_mpu.c | 38 #include "mldl_cfg.h" 58 void mpu_print_cfg(struct mldl_cfg * mldl_cfg) argument 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 206 inv_mpu_open(struct mldl_cfg *mldl_cfg, void *mlsl_handle, void *accel_handle, void *compass_handle, void *pressure_handle) argument 239 inv_mpu_close(struct mldl_cfg *mldl_cfg, void *mlsl_handle, void *accel_handle, void *compass_handle, void *pressure_handle) argument 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 331 inv_mpu_slave_read(struct mldl_cfg *mldl_cfg, void *gyro_handle, void *slave_handle, struct ext_slave_descr *slave, struct ext_slave_platform_data *pdata, unsigned char *data) argument 375 inv_mpu_slave_config(struct mldl_cfg *mldl_cfg, void *gyro_handle, void *slave_handle, struct ext_slave_config *data, struct ext_slave_descr *slave, struct ext_slave_platform_data *pdata) argument 434 inv_mpu_get_slave_config(struct mldl_cfg *mldl_cfg, void *gyro_handle, void *slave_handle, struct ext_slave_config *data, struct ext_slave_descr *slave, struct ext_slave_platform_data *pdata) argument [all...] |
H A D | 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 250 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 268 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local [all...] |
H A D | 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) {
|
H A D | mlarray.c | 2136 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 2138 if (mldl_cfg->gyro_sens_trim != 0) { 2139 sf = 2000 * 131 / mldl_cfg->gyro_sens_trim; 2182 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 2186 if (inv_obj.accel_sens != 0 && mldl_cfg && mldl_cfg->pdata) { 2192 (long)mldl_cfg->pdata->accel.orientation[i * 3 + j];
|
H A D | 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, 165 inv_mpu_read_accel(struct mldl_cfg *mldl_cfg, void *gyro_handle, void *accel_handle, unsigned char *data) argument 179 inv_mpu_read_compass(struct mldl_cfg *mldl_cfg, void *gyro_handle, void *compass_handle, unsigned char *data) argument 194 inv_mpu_read_pressure(struct mldl_cfg *mldl_cfg, void *gyro_handle, void *pressure_handle, unsigned char *data) argument 216 inv_mpu_config_accel(struct mldl_cfg *mldl_cfg, void *gyro_handle, void *accel_handle, struct ext_slave_config *data) argument 230 inv_mpu_config_compass(struct mldl_cfg *mldl_cfg, void *gyro_handle, void *compass_handle, struct ext_slave_config *data) argument 245 inv_mpu_config_pressure(struct mldl_cfg *mldl_cfg, void *gyro_handle, void *pressure_handle, struct ext_slave_config *data) argument 268 inv_mpu_get_accel_config(struct mldl_cfg *mldl_cfg, void *gyro_handle, void *accel_handle, struct ext_slave_config *data) argument 283 inv_mpu_get_compass_config(struct mldl_cfg *mldl_cfg, void *gyro_handle, void *compass_handle, struct ext_slave_config *data) argument 298 inv_mpu_get_pressure_config(struct mldl_cfg *mldl_cfg, void *gyro_handle, void *pressure_handle, struct ext_slave_config *data) argument 316 inv_mpu_get_sampling_rate_hz(struct mldl_cfg *mldl_cfg) argument 324 inv_mpu_get_sampling_period_us(struct mldl_cfg *mldl_cfg) argument [all...] |
H A D | 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 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...] |
H A D | 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 1595 (mldl_cfg 1961 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 2042 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local 2061 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); local [all...] |
/hardware/invensense/libsensors/ |
H A D | MPLSensor.cpp | 44 #include "mldl_cfg.h" 456 struct mldl_cfg *mldl_cfg; local 492 mldl_cfg = inv_get_dl_config();
|