Searched refs:big8 (Results 1 – 9 of 9) sorted by relevance
/hardware/invensense/60xx/mlsdk/mllite/ |
D | mlMathFunc.c | 254 unsigned char *inv_int32_to_big8(long x, unsigned char *big8) in inv_int32_to_big8() argument 256 big8[0] = (unsigned char)((x >> 24) & 0xff); in inv_int32_to_big8() 257 big8[1] = (unsigned char)((x >> 16) & 0xff); in inv_int32_to_big8() 258 big8[2] = (unsigned char)((x >> 8) & 0xff); in inv_int32_to_big8() 259 big8[3] = (unsigned char)(x & 0xff); in inv_int32_to_big8() 260 return big8; in inv_int32_to_big8() 264 long inv_big8_to_int32(const unsigned char *big8) in inv_big8_to_int32() argument 267 x = ((long)big8[0] << 24) | ((long)big8[1] << 16) | ((long)big8[2] << 8) | in inv_big8_to_int32() 268 ((long)big8[3]); in inv_big8_to_int32() 273 unsigned char *inv_int16_to_big8(short x, unsigned char *big8) in inv_int16_to_big8() argument [all …]
|
D | mlMathFunc.h | 55 unsigned char *inv_int32_to_big8(long x, unsigned char *big8); 56 long inv_big8_to_int32(const unsigned char *big8); 57 unsigned char *inv_int16_to_big8(short x, unsigned char *big8);
|
D | ml.c | 1826 unsigned char big8[4]; in inv_set_mpu_6050_config() local 1845 result = inv_set_mpu_memory(KEY_D_ACT0, 4, inv_int32_to_big8(temp, big8)); in inv_set_mpu_6050_config() 1863 result = inv_set_mpu_memory(KEY_D_ACSX, 4, inv_int32_to_big8(s2[0], big8)); in inv_set_mpu_6050_config() 1868 result = inv_set_mpu_memory(KEY_D_ACSY, 4, inv_int32_to_big8(s2[1], big8)); in inv_set_mpu_6050_config() 1873 result = inv_set_mpu_memory(KEY_D_ACSZ, 4, inv_int32_to_big8(s2[2], big8)); in inv_set_mpu_6050_config()
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 398 unsigned char *inv_int32_to_big8(long x, unsigned char *big8) in inv_int32_to_big8() argument 400 big8[0] = (unsigned char)((x >> 24) & 0xff); in inv_int32_to_big8() 401 big8[1] = (unsigned char)((x >> 16) & 0xff); in inv_int32_to_big8() 402 big8[2] = (unsigned char)((x >> 8) & 0xff); in inv_int32_to_big8() 403 big8[3] = (unsigned char)(x & 0xff); in inv_int32_to_big8() 404 return big8; in inv_int32_to_big8() 408 long inv_big8_to_int32(const unsigned char *big8) in inv_big8_to_int32() argument 411 x = ((long)big8[0] << 24) | ((long)big8[1] << 16) | ((long)big8[2] << 8) in inv_big8_to_int32() 412 | ((long)big8[3]); in inv_big8_to_int32() 417 short inv_big8_to_int16(const unsigned char *big8) in inv_big8_to_int16() argument [all …]
|
D | ml_math_func.h | 81 unsigned char *inv_int32_to_big8(long x, unsigned char *big8); 82 long inv_big8_to_int32(const unsigned char *big8); 83 short inv_big8_to_int16(const unsigned char *big8); 85 unsigned char *inv_int16_to_big8(short x, unsigned char *big8);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 398 unsigned char *inv_int32_to_big8(long x, unsigned char *big8) in inv_int32_to_big8() argument 400 big8[0] = (unsigned char)((x >> 24) & 0xff); in inv_int32_to_big8() 401 big8[1] = (unsigned char)((x >> 16) & 0xff); in inv_int32_to_big8() 402 big8[2] = (unsigned char)((x >> 8) & 0xff); in inv_int32_to_big8() 403 big8[3] = (unsigned char)(x & 0xff); in inv_int32_to_big8() 404 return big8; in inv_int32_to_big8() 408 long inv_big8_to_int32(const unsigned char *big8) in inv_big8_to_int32() argument 411 x = ((long)big8[0] << 24) | ((long)big8[1] << 16) | ((long)big8[2] << 8) in inv_big8_to_int32() 412 | ((long)big8[3]); in inv_big8_to_int32() 417 short inv_big8_to_int16(const unsigned char *big8) in inv_big8_to_int16() argument [all …]
|
D | ml_math_func.h | 81 unsigned char *inv_int32_to_big8(long x, unsigned char *big8); 82 long inv_big8_to_int32(const unsigned char *big8); 83 short inv_big8_to_int16(const unsigned char *big8); 85 unsigned char *inv_int16_to_big8(short x, unsigned char *big8);
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 398 unsigned char *inv_int32_to_big8(long x, unsigned char *big8) in inv_int32_to_big8() argument 400 big8[0] = (unsigned char)((x >> 24) & 0xff); in inv_int32_to_big8() 401 big8[1] = (unsigned char)((x >> 16) & 0xff); in inv_int32_to_big8() 402 big8[2] = (unsigned char)((x >> 8) & 0xff); in inv_int32_to_big8() 403 big8[3] = (unsigned char)(x & 0xff); in inv_int32_to_big8() 404 return big8; in inv_int32_to_big8() 408 long inv_big8_to_int32(const unsigned char *big8) in inv_big8_to_int32() argument 411 x = ((long)big8[0] << 24) | ((long)big8[1] << 16) | ((long)big8[2] << 8) in inv_big8_to_int32() 412 | ((long)big8[3]); in inv_big8_to_int32() 417 short inv_big8_to_int16(const unsigned char *big8) in inv_big8_to_int16() argument [all …]
|
D | ml_math_func.h | 81 unsigned char *inv_int32_to_big8(long x, unsigned char *big8); 82 long inv_big8_to_int32(const unsigned char *big8); 83 short inv_big8_to_int16(const unsigned char *big8); 85 unsigned char *inv_int16_to_big8(short x, unsigned char *big8);
|