Home | History | Annotate | Download | only in mlutils

Lines Matching refs:mputestCfgPtr

160                     struct mldl_cfg *mputestCfgPtr,
208 struct mldl_cfg *mputestCfgPtr = NULL;
263 mputestCfgPtr->addr = slave_addr;
342 mlsl_handle, mputestCfgPtr->addr,
363 mlsl_handle, mputestCfgPtr->addr,
367 mlsl_handle, mputestCfgPtr->addr,
379 mlsl_handle, mputestCfgPtr->addr,
388 mlsl_handle, mputestCfgPtr->addr,
393 mlsl_handle, mputestCfgPtr->addr,
401 mputestCfgPtr->addr, MPUREG_FIFO_EN1,
410 mlsl_handle, mputestCfgPtr->addr,
416 mlsl_handle, mputestCfgPtr->addr,
429 mputestCfgPtr->addr, 6, dataout);
453 mlsl_handle, mputestCfgPtr->addr,
458 result = inv_serial_read(mlsl_handle, mputestCfgPtr->addr,
589 mlsl_handle, mputestCfgPtr->addr,
613 mlsl_handle, mputestCfgPtr->addr,
620 mlsl_handle, mputestCfgPtr->addr,
635 mlsl_handle, mputestCfgPtr->addr,
639 mlsl_handle, mputestCfgPtr->addr,
652 mlsl_handle, mputestCfgPtr->addr,
663 mputestCfgPtr->addr, MPUREG_FIFO_EN,
674 mlsl_handle, mputestCfgPtr->addr,
682 mlsl_handle, mputestCfgPtr->addr,
698 mputestCfgPtr->addr, 6, dataout);
723 mlsl_handle, mputestCfgPtr->addr,
731 result = inv_serial_read(mlsl_handle, mputestCfgPtr->addr,
795 inv_serial_read_mem(mlsl_handle, mputestCfgPtr->addr,
818 inv_serial_single_write(mlsl_handle, mputestCfgPtr->addr, MPUREG_BANK_SEL, 0x00);
857 struct mpu_platform_data *mputestPData = mputestCfgPtr->pdata;
867 if (mputestCfgPtr->accel == NULL) {
874 orig_requested_sensors = mputestCfgPtr->requested_sensors;
875 mputestCfgPtr->requested_sensors = INV_THREE_AXIS_ACCEL | INV_THREE_AXIS_GYRO;
876 res = inv_mpu_resume(mputestCfgPtr,
878 mputestCfgPtr->requested_sensors);
884 inv_sleep(inv_mpu_get_sampling_period_us(mputestCfgPtr) / 1000);
889 if (test_get_data(mlsl_handle, mputestCfgPtr, vals)) {
897 mputestCfgPtr->requested_sensors = orig_requested_sensors;
898 res = inv_mpu_suspend(mputestCfgPtr,
984 mlsl_handle, mputestCfgPtr->addr,
993 mlsl_handle, mputestCfgPtr->addr,
1006 mlsl_handle, mputestCfgPtr->addr,
1017 mlsl_handle, mputestCfgPtr->addr,
1027 mlsl_handle, mputestCfgPtr->addr,
1040 mlsl_handle, mputestCfgPtr->addr,
1052 mlsl_handle, mputestCfgPtr->addr,
1062 mlsl_handle, mputestCfgPtr->addr,
1139 adjGyroSens = test_setup.gyro_sens * mputestCfgPtr->gyro_sens_trim / 131.f;
1160 if (mputestCfgPtr->accel != NULL) {
1162 RANGE_FIXEDPOINT_TO_FLOAT(mputestCfgPtr->accel->range, fs);
1167 if (MPL_PROD_KEY(mputestCfgPtr->product_id,
1168 mputestCfgPtr->product_revision) == MPU_PRODUCT_KEY_B1_E1_5) {
1171 unsigned short trim_corr = 16384 / mputestCfgPtr->accel_sens_trim;
1339 struct mldl_cfg *mputestCfgPtr,
1344 struct ext_slave_descr *slave = mputestCfgPtr->accel;
1346 struct ext_slave_platform_data *pdata = &mputestCfgPtr->pdata->accel;
1350 result = inv_serial_read(mlsl_handle, mputestCfgPtr->addr, 0x23,