Lines Matching refs:mlsl_handle

159                     void *mlsl_handle,
317 int inv_test_gyro_3050(void *mlsl_handle, in inv_test_gyro_3050() argument
342 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_3050()
363 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_3050()
367 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_3050()
379 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_3050()
388 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_3050()
393 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_3050()
400 result = inv_serial_single_write(mlsl_handle, in inv_test_gyro_3050()
410 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_3050()
416 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_3050()
428 result = inv_serial_read_fifo(mlsl_handle, in inv_test_gyro_3050()
453 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_3050()
458 result = inv_serial_read(mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_3050()
569 int inv_test_gyro_6050(void *mlsl_handle, in inv_test_gyro_6050() argument
589 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_6050()
613 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_6050()
620 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_6050()
635 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_6050()
639 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_6050()
652 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_6050()
662 result = inv_serial_single_write(mlsl_handle, in inv_test_gyro_6050()
674 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_6050()
682 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_6050()
697 result = inv_serial_read_fifo(mlsl_handle, in inv_test_gyro_6050()
723 mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_6050()
731 result = inv_serial_read(mlsl_handle, mputestCfgPtr->addr, in inv_test_gyro_6050()
788 static inv_error_t test_get_mpu_id(void *mlsl_handle) in test_get_mpu_id() argument
795 inv_serial_read_mem(mlsl_handle, mputestCfgPtr->addr, in test_get_mpu_id()
818 inv_serial_single_write(mlsl_handle, mputestCfgPtr->addr, MPUREG_BANK_SEL, 0x00); in test_get_mpu_id()
844 int inv_test_accel(void *mlsl_handle, in inv_test_accel() argument
877 mlsl_handle, NULL, NULL, NULL, in inv_test_accel()
889 if (test_get_data(mlsl_handle, mputestCfgPtr, vals)) { in inv_test_accel()
899 mlsl_handle, NULL, NULL, NULL, in inv_test_accel()
971 static inv_error_t inv_device_power_mgmt(void *mlsl_handle, in inv_device_power_mgmt() argument
984 mlsl_handle, mputestCfgPtr->addr, in inv_device_power_mgmt()
993 mlsl_handle, mputestCfgPtr->addr, in inv_device_power_mgmt()
1006 mlsl_handle, mputestCfgPtr->addr, in inv_device_power_mgmt()
1017 mlsl_handle, mputestCfgPtr->addr, in inv_device_power_mgmt()
1027 mlsl_handle, mputestCfgPtr->addr, in inv_device_power_mgmt()
1040 mlsl_handle, mputestCfgPtr->addr, in inv_device_power_mgmt()
1052 mlsl_handle, mputestCfgPtr->addr, in inv_device_power_mgmt()
1062 mlsl_handle, mputestCfgPtr->addr, in inv_device_power_mgmt()
1108 int inv_mpu_test(void *mlsl_handle, uint_fast8_t provide_result) in inv_mpu_test() argument
1127 result = inv_device_power_mgmt(mlsl_handle, TRUE); in inv_mpu_test()
1130 result = test_get_mpu_id(mlsl_handle); in inv_mpu_test()
1144 result = inv_test_gyro_3050(mlsl_handle, in inv_mpu_test()
1150 result = inv_test_gyro_6050(mlsl_handle, gyro_biases, &temp_avg); in inv_mpu_test()
1182 result = inv_test_accel(mlsl_handle, accel_biases, accelSens[2], in inv_mpu_test()
1185 result = inv_test_accel(mlsl_handle, accel_biases, accelSens[2], in inv_mpu_test()
1191 result = inv_device_power_mgmt(mlsl_handle, FALSE); in inv_mpu_test()
1272 inv_error_t inv_factory_calibrate(void *mlsl_handle, in inv_factory_calibrate() argument
1277 result = inv_mpu_test(mlsl_handle, provide_result); in inv_factory_calibrate()
1338 void *mlsl_handle, in test_get_data() argument
1350 result = inv_serial_read(mlsl_handle, mputestCfgPtr->addr, 0x23, in test_get_data()
1353 result = inv_serial_read(mlsl_handle, pdata->address, slave->read_reg, in test_get_data()