/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmm150_slave.c | 38 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 …]
|
D | bosch_bmm150_slave.h | 52 #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;
|
D | akm_ak09915_slave.c | 21 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/ |
D | raw.c | 16 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/ |
D | dsp_util.c | 26 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()
|
D | dsp_util.h | 24 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/ |
D | stdint.h | 55 #ifndef int16_t 56 typedef __int16_t int16_t; typedef 57 #define int16_t __int16_t macro
|
D | types.h | 67 #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/ |
D | EfiBind.h | 163 typedef short int16_t; typedef 177 typedef short int16_t; typedef 189 typedef short int16_t; typedef
|
/device/google/contexthub/util/nanotool/ |
D | sensorevent.h | 49 int16_t ix; 50 int16_t iy; 51 int16_t iz;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/X64/ |
D | EfiBind.h | 140 typedef short int16_t; typedef 149 typedef short int16_t; typedef
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Ia32/ |
D | EfiBind.h | 187 typedef short int16_t; typedef 196 typedef short int16_t; typedef
|
/device/google/contexthub/firmware/os/inc/ |
D | sensors.h | 114 int16_t ix; 115 int16_t iy; 116 int16_t iz;
|
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/ |
D | ams_tmd4903.c | 445 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/ |
D | core_types.h | 20 typedef short int16_t; typedef
|
/device/linaro/bootloader/arm-trusted-firmware/include/stdlib/sys/ |
D | _stdint.h | 39 typedef __int16_t int16_t; typedef
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Ebc/ |
D | EfiBind.h | 54 typedef short int16_t; typedef
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Arm/ |
D | EfiBind.h | 51 typedef short int16_t; typedef
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Aarch64/ |
D | EfiBind.h | 53 typedef short int16_t; typedef
|
/device/google/dragon/audio/hal/ |
D | audio_hw.h | 211 int16_t* res_buffer; 268 int16_t* read_buf;
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/Ia32/ |
D | ProcessorBind.h | 113 typedef int16_t INT16;
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/X64/ |
D | ProcessorBind.h | 132 typedef int16_t INT16;
|
/device/google/dragon/sensor_hub/ |
D | cros_ec_sensors.h | 62 int16_t vector[MAX_AXIS];
|
/device/asus/fugu/libaudio/ |
D | AudioStreamIn.h | 113 int16_t* mBuffer;
|
/device/google/dragon/recovery/updater/ |
D | ec_commands.h | 1744 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# */
|