/hardware/invensense/60xx/mlsdk/mllite/ |
D | accel.c | 136 int ii; in inv_get_accel_data() local 158 for (ii = 0; ii < ARRAY_SIZE(tmp); ii++) { in inv_get_accel_data() 160 tmp[ii] = (long)((signed char)raw_data[2 * ii + 1]) * 256; in inv_get_accel_data() 161 tmp[ii] += (long)((unsigned char)raw_data[2 * ii]); in inv_get_accel_data() 164 tmp[ii] = (long)((signed char)raw_data[2 * ii]) * 256; in inv_get_accel_data() 165 tmp[ii] += (long)((unsigned char)raw_data[2 * ii + 1]); in inv_get_accel_data() 167 tmp[ii] = (long)((short)(((unsigned short)tmp[ii]) in inv_get_accel_data() 171 tmp[ii] = (long)((signed char)raw_data[ii]) * 256; in inv_get_accel_data() 177 for (ii = 0; ii < ARRAY_SIZE(tmp); ii++) { in inv_get_accel_data() 178 data[ii] = ((long)tmp[0] * mtx[3 * ii] + in inv_get_accel_data() [all …]
|
D | mlMathFunc.c | 43 int ii; in inv_filter_long() local 47 for (ii = 0; ii < length - 1; ii++) { in inv_filter_long() 48 tmp += ((long long)state->x[ii] * (long long)(b[ii + 1])); in inv_filter_long() 50 for (ii = 0; ii < length - 1; ii++) { in inv_filter_long() 51 tmp -= ((long long)state->y[ii] * (long long)(a[ii + 1])); in inv_filter_long() 56 for (ii = length - 2; ii > 0; ii--) { in inv_filter_long() 57 state->y[ii] = state->y[ii - 1]; in inv_filter_long() 58 state->x[ii] = state->x[ii - 1]; in inv_filter_long()
|
D | mldl.c | 612 int ii; in inv_set_offsetTC() local 615 for (ii = 0; ii < ARRAY_SIZE(mldlCfg.offset_tc); ii++) { in inv_set_offsetTC() 616 mldlCfg.offset_tc[ii] = tc[ii]; in inv_set_offsetTC() 686 int ii; in inv_set_offset() local 690 for (ii = 0; ii < ARRAY_SIZE(mldlCfg.offset); ii++) { in inv_set_offset() 692 mldlCfg.offset[ii] = offset[ii]; in inv_set_offset() 694 inv_obj.gyro_bias[ii] = -offset[ii] * sf; in inv_set_offset() 695 regs[1 + ii * 2] = (unsigned char)(offset[ii] >> 8) & 0xff; in inv_set_offset() 696 regs[1 + ii * 2 + 1] = (unsigned char)(offset[ii] & 0xff); in inv_set_offset()
|
D | mlFIFO.c | 841 int ii, kk; in inv_get_unquantized_accel() local 848 for (ii = 0; ii < INV_MAX_NUM_ACCEL_SAMPLES; ii++) { in inv_get_unquantized_accel() 850 data[ii * ACCEL_NUM_AXES + kk] = fifo_obj.decoded_accel[ii][kk]; in inv_get_unquantized_accel() 865 int ii; in inv_get_quantized_accel() local 872 for (ii = 0; ii < INV_MAX_NUM_ACCEL_SAMPLES; ii++) { in inv_get_quantized_accel() 873 data[ii] = fifo_obj.decoded[REF_QUANT_ACCEL + ii]; in inv_get_quantized_accel() 939 int ii; in inv_get_gyro_and_accel_sensor() local 946 for (ii = 0; ii < (GYRO_NUM_AXES + ACCEL_NUM_AXES); ii++) { in inv_get_gyro_and_accel_sensor() 947 data[ii] = fifo_obj.decoded[REF_RAW + 1 + ii]; in inv_get_gyro_and_accel_sensor() 962 int ii; in inv_get_external_sensor_data() local [all …]
|
D | compass.c | 267 int ii; in inv_get_compass_data() local 295 for (ii = 0; ii < 3; ii++) { in inv_get_compass_data() 297 data[ii] = in inv_get_compass_data() 298 ((long)((signed char)tmp[2 * ii]) << 8) + tmp[2 * ii + 1]; in inv_get_compass_data() 300 data[ii] = in inv_get_compass_data() 301 ((long)((signed char)tmp[2 * ii + 1]) << 8) + tmp[2 * ii]; in inv_get_compass_data()
|
D | ml.c | 199 int ii; in inv_apply_calibration() local 202 for (ii = 0; ii < 9; ii++) { in inv_apply_calibration() 203 gyroCal[ii] = mldl_cfg->pdata->orientation[ii]; in inv_apply_calibration() 205 accelCal[ii] = mldl_cfg->pdata->accel.orientation[ii]; in inv_apply_calibration() 208 magCal[ii] = mldl_cfg->pdata->compass.orientation[ii]; in inv_apply_calibration() 314 int ii; in inv_init_ml() local 345 for (ii = 0; ii < COMPASS_NUM_AXES; ii++) { in inv_init_ml() 346 inv_obj.compass_scale[ii] = 65536L; in inv_init_ml() 347 inv_obj.compass_test_scale[ii] = 65536L; in inv_init_ml() 348 inv_obj.compass_bias_error[ii] = P_INIT; in inv_init_ml() [all …]
|
/hardware/invensense/60xx/mlsdk/platform/linux/ |
D | mlsl_linux_mpu.c | 301 int ii; in inv_serial_write() local 302 for (ii = 0; ii < length; ii++) { in inv_serial_write() 340 int ii; in inv_serial_read() local 341 for (ii = 0; ii < length; ii++) { in inv_serial_read() 373 int ii; in inv_serial_write_mem() local 374 for (ii = 0; ii < length; ii++) { in inv_serial_write_mem() 410 int ii; in inv_serial_read_mem() local 411 for (ii = 0; ii < length; ii++) { in inv_serial_read_mem() 446 int ii; in inv_serial_write_fifo() local 447 for (ii = 0; ii < length; ii++) { in inv_serial_write_fifo() [all …]
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 201 int ii; in inv_vector_normalize() local 202 for (ii = 0; ii < length; ii++) { in inv_vector_normalize() 204 inv_q30_to_double(vec[ii]) * inv_q30_to_double(vec[ii]); in inv_vector_normalize() 208 for (ii = 0; ii < length; ii++) { in inv_vector_normalize() 209 vec[ii] = (int)((double)vec[ii] * normSF); in inv_vector_normalize() 213 for (ii = 1; ii < length; ii++) { in inv_vector_normalize() 214 vec[ii] = 0; in inv_vector_normalize()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 201 int ii; in inv_vector_normalize() local 202 for (ii = 0; ii < length; ii++) { in inv_vector_normalize() 204 inv_q30_to_double(vec[ii]) * inv_q30_to_double(vec[ii]); in inv_vector_normalize() 208 for (ii = 0; ii < length; ii++) { in inv_vector_normalize() 209 vec[ii] = (int)((double)vec[ii] * normSF); in inv_vector_normalize() 213 for (ii = 1; ii < length; ii++) { in inv_vector_normalize() 214 vec[ii] = 0; in inv_vector_normalize()
|
/hardware/broadcom/wlan/bcmdhd/firmware/ |
D | LICENSE.TXT | 29 with any other software; and (ii) to reproduce and distribute the Software 69 Software except as provided in this Agreement, (ii) attempt to reverse 138 has entered the public domain through no fault of Licensee; (ii) was known to
|
/hardware/invensense/60xx/libsensors_iio/ |
D | License.txt | 29 with any other software; and (ii) to reproduce and distribute the Software 69 Software except as provided in this Agreement, (ii) attempt to reverse 138 has entered the public domain through no fault of Licensee; (ii) was known to
|
/hardware/qcom/media/libstagefrighthw/ |
D | NOTICE | 32 otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
/hardware/ril/libril/ |
D | NOTICE | 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
/hardware/ti/wpan/tools/FM/FmRxApp/ |
D | NOTICE | 39 otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | NOTICE | 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
/hardware/ti/wpan/tools/FM/FmTxApp/ |
D | NOTICE | 35 otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
/hardware/qcom/display/msm8960/liblight/ |
D | NOTICE | 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
/hardware/qcom/bt/libbt-vendor/ |
D | NOTICE | 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
/hardware/qcom/display/msm8974/libgralloc/ |
D | NOTICE | 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
/hardware/ril/reference-ril/ |
D | NOTICE | 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
/hardware/qcom/display/msm8x26/liblight/ |
D | NOTICE | 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
/hardware/samsung_slsi/exynos5/libcamera2/ |
D | NOTICE | 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
/hardware/qcom/audio/visualizer/ |
D | NOTICE | 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
/hardware/libhardware/ |
D | NOTICE | 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
/hardware/samsung_slsi/exynos5/libcamera/ |
D | NOTICE | 33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
|