/hardware/invensense/mlsdk/mllite/ |
H A D | mlarray_legacy.c | 90 inv_error_t result; local 93 result = inv_get_gyro(data); 96 result = inv_get_accel(data); 99 result = inv_get_temperature(data); 102 result = inv_get_rot_mat(data); 105 result = inv_get_quaternion(data); 108 result = inv_get_linear_accel(data); 111 result = inv_get_linear_accel_in_world(data); 114 result = inv_get_gravity(data); 117 result 388 inv_error_t result; local 510 inv_error_t result; local 560 inv_error_t result; local [all...] |
H A D | ml_mputest.c | 86 * also the final result using a bit-mask like error code as 101 inv_error_t result; local 113 result = inv_dmp_stop(); 114 ERROR_CHECK_FIRST(firstError, result); 117 result = inv_factory_calibrate(mlsl_handle, provide_result); 118 ERROR_CHECK_FIRST(firstError, result); 121 result = inv_dmp_start(); 122 ERROR_CHECK_FIRST(firstError, result);
|
H A D | mldmp.c | 68 * result = inv_dmp_open( ); 69 * if (INV_SUCCESS != result) { 80 inv_error_t result; local 95 result = inv_state_transition(INV_STATE_DMP_OPENED); 96 if (result) { 97 LOG_RESULT_LOCATION(result); 98 return result; 101 result = inv_dl_open(inv_get_serial_handle()); 102 if (result) { 103 LOG_RESULT_LOCATION(result); 177 inv_error_t result; local 214 inv_error_t result; local 256 inv_error_t result; local [all...] |
H A D | pressure.c | 133 inv_error_t result = INV_SUCCESS; local 143 result = (inv_error_t) inv_mpu_read_pressure(mldl_cfg, 146 if (result) { 148 ("inv_mpu_read_pressure returned %d (%s)\n", result, 149 MLErrorCode(result))); 150 return result;
|
H A D | accel.c | 133 inv_error_t result; local 146 result = (inv_error_t) inv_mpu_read_accel(mldl_cfg, 150 if (result == INV_ERROR_ACCEL_DATA_NOT_READY) { 151 return result; 153 if (result) { 154 LOG_RESULT_LOCATION(result); 155 return result; 173 result = INV_ERROR_FEATURE_NOT_IMPLEMENTED; 184 return result;
|
H A D | mlFIFOHW.c | 114 inv_error_t result; local 126 result = inv_get_fifo_length(&inFifo); 127 if (INV_SUCCESS != result) { 128 fifo_objHW.fifoError = result; 138 result = 141 if (INV_SUCCESS != result) { 142 fifo_objHW.fifoError = result; 146 result = inv_serial_read(inv_get_serial_handle(), inv_get_mpu_slave_addr(), 148 if (INV_SUCCESS != result) { 149 fifo_objHW.fifoError = result; 208 inv_error_t result; local 253 inv_error_t result; local 279 inv_error_t result; local [all...] |
H A D | mlSetGyroBias.c | 113 inv_error_t result; local 127 result = inv_set_gyro_bias_in_hw_unit(offset, mode); 128 return result; 134 inv_error_t result; local 139 result = inv_set_gyro_bias_in_dps(biasL, mode); 140 return result; 145 inv_error_t result = INV_SUCCESS; local 147 result = inv_set_offset(sgb.currentBias); 175 return result; 180 inv_error_t result; local 195 inv_error_t result; local [all...] |
H A D | mldl_cfg_mpu.c | 212 int result; local 213 result = ioctl((int)mlsl_handle, MPU_GET_MPU_CONFIG, mldl_cfg); 214 if (result) { 215 LOG_RESULT_LOCATION(result); 216 return result; 219 result = inv_mpu_suspend(mldl_cfg, mlsl_handle, NULL, NULL, NULL, 221 if (result) { 222 LOG_RESULT_LOCATION(result); 223 return result; 225 return result; 245 int result = INV_SUCCESS; local 259 int result; local 290 int result; local 338 int result; local 382 int result; local 441 int result; local [all...] |
H A D | mlstates.c | 76 inv_error_t result; local 77 result = inv_destroy_mutex(sStateChangeCallbacks.mutex); 79 return result; 120 inv_error_t result = INV_SUCCESS; local 138 result = INV_ERROR_SM_TRANSITION; 141 if (result == INV_SUCCESS) { 146 result = inv_run_state_callbacks(newState); 147 if (INV_SUCCESS == result && newState == INV_STATE_SERIAL_CLOSED) { 152 return result; 179 inv_error_t result; local 222 inv_error_t result; local 250 inv_error_t result; local [all...] |
H A D | mlBiasNoMotion.c | 79 inv_error_t result; local 82 result = inv_set_mpu_memory(KEY_CFG_MOTION_BIAS, 3, regs); 83 return result; 90 inv_error_t result; local 93 result = inv_set_mpu_memory(KEY_CFG_MOTION_BIAS, 3, regs); 94 return result; 101 inv_error_t result; local 109 result = inv_set_mpu_memory(KEY_FCFG_6, 1, regs); 110 if (result) { 111 LOG_RESULT_LOCATION(result); 159 inv_error_t result; local 227 inv_error_t result; local 363 inv_error_t result; local 381 inv_error_t result; local [all...] |
H A D | mlcontrol.c | 120 inv_error_t result; local 133 result = inv_set_mpu_memory(KEY_D_0_224, 2, regs); 134 if (result) { 135 LOG_RESULT_LOCATION(result); 136 return result; 141 result = inv_set_mpu_memory(KEY_D_0_228, 2, regs); 142 if (result) { 143 LOG_RESULT_LOCATION(result); 144 return result; 149 result 210 inv_error_t result; local 522 inv_error_t result; local [all...] |
H A D | compass.c | 266 inv_error_t result; local 285 result = (inv_error_t) inv_mpu_read_compass(mldl_cfg, 289 if (result) { 291 MPL_LOGV("inv_mpu_read_compass returned %d\n", result); 293 return result; 309 result = inv_get_external_sensor_data(data, 3); 310 if (result) { 311 LOG_RESULT_LOCATION(result); 312 return result; 331 result 366 inv_error_t result = INV_SUCCESS; local 421 inv_error_t result; local 455 inv_error_t result; local 489 inv_error_t result; local 513 inv_error_t result; local 555 inv_error_t result; local [all...] |
H A D | mlMathFunc.c | 75 long result; local 77 result = (long)(temp >> 29); 78 return result; 91 long result; local 93 result = (long)(temp >> 30); 94 return result;
|
/hardware/invensense/mlsdk/platform/linux/ |
H A D | log_linux.c | 48 int result; local 51 result = _MLPrintVaLog(priority,tag,fmt,ap); 54 return result; 59 int result; local 96 result = snprintf(new_fmt, sizeof(new_fmt), "%c/%s:%s", 98 if (result <= 0) { 101 result = vsnprintf(buf,sizeof(buf),new_fmt, args); 102 if (result <= 0) { 106 result = _MLWriteLog(buf, strlen(buf));
|
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-1240/ |
H A D | loc_api_cb_svc.c | 27 } result; local 52 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); 53 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { 60 if (!loc_apicbprog_0x00040001_freeresult (transp, _xdr_result, (caddr_t) &result))
|
H A D | loc_api_rpc_glue.c | 129 int loc_apicbprog_freeresult (SVCXPRT *transp, xdrproc_t xdr_result, caddr_t result) argument 131 xdr_free (xdr_result, result); 141 int loc_apicbprog_0x00040001_freeresult (SVCXPRT *transp, xdrproc_t xdr_result, caddr_t result) argument 143 return loc_apicbprog_freeresult (transp, xdr_result, result);
|
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-3200/ |
H A D | loc_api_cb_svc.c | 27 } result; local 52 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); 53 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { 60 if (!loc_apicbprog_0x00010001_freeresult (transp, _xdr_result, (caddr_t) &result))
|
H A D | loc_api_rpc_glue.c | 129 int loc_apicbprog_freeresult (SVCXPRT *transp, xdrproc_t xdr_result, caddr_t result) argument 131 xdr_free (xdr_result, result); 141 int loc_apicbprog_0x00010001_freeresult (SVCXPRT *transp, xdrproc_t xdr_result, caddr_t result) argument 143 return loc_apicbprog_freeresult (transp, xdr_result, result);
|
/hardware/qcom/media/mm-video/vidc/venc/test/ |
H A D | camera_test.cpp | 40 int result = 0; local 51 return result; 56 int result = 0; local 63 return result; 68 int result = 0; local 75 return result; 80 int result = 0; local 89 return result;
|
/hardware/ril/reference-ril/ |
H A D | at_tok.c | 153 int result; local 155 ret = at_tok_nextint(p_cur, &result); 162 if (!(result == 0 || result == 1)) { 167 *p_out = (char)result;
|
/hardware/ti/omap4xxx/domx/mm_osal/src/ |
H A D | timm_osal_memory.c | 206 TIMM_OSAL_S32 result = memcmp(pBuffer1, pBuffer2, uSize); local 208 if (result > 0) 211 } else if (result < 0)
|
/hardware/ti/wlan/wl1271/CUDK/os/linux/src/ |
H A D | os_trans.c | 68 TI_SIZE_T result; local 74 result = bind((SOCKET)sock, (struct sockaddr *)&server_addr, sizeof(server_addr)); 76 if (result != OK) { 91 TI_SIZE_T result; local 93 result = listen((SOCKET)socket_id, MAX_QUEUE_LENGTH); 95 if (result == OSAL_ERROR) { 109 result = accept((SOCKET)socket_id, (struct sockaddr *)&client_addr, &client_addr_len); 111 if (result == OSAL_ERROR) { 119 *pConnSock = (THandle) result; 127 TI_SIZE_T result; local 153 TI_SIZE_T result; local [all...] |
/hardware/invensense/mlsdk/platform/include/ |
H A D | log.h | 327 static inline void __print_result_location(int result, argument 331 MPL_LOGE("%s|%s|%d returning %d\n", file, func, line, result);
|
/hardware/libhardware_legacy/audio/ |
H A D | AudioHardwareInterface.cpp | 141 String8 result; local 143 result.append(buffer); 145 result.append(buffer); 146 ::write(fd, result.string(), result.size());
|
/hardware/ti/omap4xxx/security/tf_daemon/ |
H A D | smc_properties.c | 107 uint32_t result; local 132 result = stat(pDir, &buf); 133 if(result != 0 )
|