Home
last modified time | relevance | path

Searched refs:int16_t (Results 1 – 25 of 56) sorted by relevance

123

/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmm150_slave.c38 magTask->dig_z2 = *(int16_t *)(&magTask->raw_dig_data[BMM150_REG_DIG_Z2_LSB - first_reg]); in bmm150SaveDigData()
39 magTask->dig_z3 = *(int16_t *)(&magTask->raw_dig_data[BMM150_REG_DIG_Z3_LSB - first_reg]); in bmm150SaveDigData()
40 magTask->dig_z4 = *(int16_t *)(&magTask->raw_dig_data[BMM150_REG_DIG_Z4_LSB - first_reg]); in bmm150SaveDigData()
46 static int32_t bmm150TempCompensateX(struct MagTask *magTask, int16_t mag_x, uint16_t rhall) in bmm150TempCompensateX()
66 temp_2 = ((int32_t)inter_retval) * ((int32_t)(((int16_t)magTask->dig_xy1) << 7)); in bmm150TempCompensateX()
68 …temp_4 = ((int32_t)mag_x) * ((temp_3 * ((int32_t)(((int16_t)magTask->dig_x2) + ((int16_t)0xa0)))) … in bmm150TempCompensateX()
70 inter_retval = ((int32_t)(temp_4 >> 13)) + (((int16_t)magTask->dig_x1) << 3); in bmm150TempCompensateX()
82 static int32_t bmm150TempCompensateY(struct MagTask *magTask, int16_t mag_y, uint16_t rhall) in bmm150TempCompensateY()
102 temp_2 = ((int32_t)inter_retval) * ((int32_t)(((int16_t)magTask->dig_xy1) << 7)); in bmm150TempCompensateY()
104 …temp_4 = ((int32_t)mag_y) * ((temp_3 * ((int32_t)(((int16_t)magTask->dig_y2) + ((int16_t)0xa0)))) … in bmm150TempCompensateY()
[all …]
Dbosch_bmm150_slave.h52 #define BMM150_MAG_FLIP_OVERFLOW_ADCVAL ((int16_t)-4096)
53 #define BMM150_MAG_HALL_OVERFLOW_ADCVAL ((int16_t)-16384)
54 #define BMM150_MAG_OVERFLOW_OUTPUT ((int16_t)-32768)
60 int16_t dig_z2, dig_z3, dig_z4;
Dakm_ak09915_slave.c21 int32_t raw_x = (*(int16_t *)&buf[0]); in parseMagData()
22 int32_t raw_y = (*(int16_t *)&buf[2]); in parseMagData()
23 int32_t raw_z = (*(int16_t *)&buf[4]); in parseMagData()
/device/google/dragon/audio/hal/dsp/tests/
Draw.c16 int16_t *buf; in read_raw()
35 buf = (int16_t *)malloc(n); in read_raw()
54 static int16_t f2s16(float f) in f2s16()
63 return (int16_t)i; in f2s16()
68 int16_t *buf; in write_raw()
73 buf = (int16_t *)malloc(n); in write_raw()
/device/google/dragon/audio/hal/dsp/
Ddsp_util.c26 static void deinterleave_stereo(int16_t *input, float *output1, in deinterleave_stereo()
69 int16_t *output, int frames) in interleave_stereo()
136 static void deinterleave_stereo(int16_t *input, float *output1, in deinterleave_stereo()
193 int16_t *output, int frames) in interleave_stereo()
250 void dsp_util_deinterleave(int16_t *input, float *const *output, int channels, in dsp_util_deinterleave()
271 void dsp_util_interleave(float *const *input, int16_t *output, int channels, in dsp_util_interleave()
289 int16_t i16; in dsp_util_interleave()
296 i16 = (int16_t) (f > 0 ? f + 0.5f : f - 0.5f); in dsp_util_interleave()
Ddsp_util.h24 void dsp_util_deinterleave(int16_t *input, float *const *output, int channels,
37 void dsp_util_interleave(float *const *input, int16_t *output, int channels,
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dstdint.h55 #ifndef int16_t
56 typedef __int16_t int16_t; typedef
57 #define int16_t __int16_t macro
Dtypes.h67 #ifndef int16_t
68 typedef __int16_t int16_t; typedef
69 #define int16_t __int16_t macro
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Ipf/
DEfiBind.h163 typedef short int16_t; typedef
177 typedef short int16_t; typedef
189 typedef short int16_t; typedef
/device/google/contexthub/util/nanotool/
Dsensorevent.h49 int16_t ix;
50 int16_t iy;
51 int16_t iz;
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/X64/
DEfiBind.h140 typedef short int16_t; typedef
149 typedef short int16_t; typedef
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Ia32/
DEfiBind.h187 typedef short int16_t; typedef
196 typedef short int16_t; typedef
/device/google/contexthub/firmware/os/inc/
Dsensors.h114 int16_t ix;
115 int16_t iy;
116 int16_t iz;
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c445 static void sendCalibrationResultProx(uint8_t status, int16_t *offsets) { in sendCalibrationResultProx()
609 int16_t failOffsets[4] = {0, 0, 0, 0}; in sensorCalibrateProx()
641 *((int16_t*)&xfer->txrxBuf[1]) = offsets[0]; in sensorCfgDataProx()
642 *((int16_t*)&xfer->txrxBuf[3]) = offsets[1]; in sensorCfgDataProx()
643 *((int16_t*)&xfer->txrxBuf[5]) = offsets[2]; in sensorCfgDataProx()
644 *((int16_t*)&xfer->txrxBuf[7]) = offsets[3]; in sensorCfgDataProx()
890 INFO_PRINT("Calibration offsets = {%d, %d, %d, %d}\n", *((int16_t*)&xfer->txrxBuf[0]), in handle_i2c_event()
891 *((int16_t*)&xfer->txrxBuf[2]), *((int16_t*)&xfer->txrxBuf[4]), in handle_i2c_event()
892 *((int16_t*)&xfer->txrxBuf[6])); in handle_i2c_event()
895 sendCalibrationResultProx(SENSOR_APP_EVT_STATUS_SUCCESS, (int16_t*)xfer->txrxBuf); in handle_i2c_event()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/
Dcore_types.h20 typedef short int16_t; typedef
/device/linaro/bootloader/arm-trusted-firmware/include/stdlib/sys/
D_stdint.h39 typedef __int16_t int16_t; typedef
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Ebc/
DEfiBind.h54 typedef short int16_t; typedef
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Arm/
DEfiBind.h51 typedef short int16_t; typedef
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Aarch64/
DEfiBind.h53 typedef short int16_t; typedef
/device/google/dragon/audio/hal/
Daudio_hw.h211 int16_t* res_buffer;
268 int16_t* read_buf;
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/Ia32/
DProcessorBind.h113 typedef int16_t INT16;
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/X64/
DProcessorBind.h132 typedef int16_t INT16;
/device/google/dragon/sensor_hub/
Dcros_ec_sensors.h62 int16_t vector[MAX_AXIS];
/device/asus/fugu/libaudio/
DAudioStreamIn.h113 int16_t* mBuffer;
/device/google/dragon/recovery/updater/
Dec_commands.h1744 int16_t data[3];
1815 int16_t data;
1857 int16_t temp;
1866 int16_t offset[3];
1928 int16_t temp;
1929 int16_t offset[3];
3295 int16_t override_port; /* Override port# */

123