Home
last modified time | relevance | path

Searched refs:inter_retval (Results 1 – 1 of 1) sorted by relevance

/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmm150_slave.c50 int32_t inter_retval = 0; in bmm150TempCompensateX() local
59 inter_retval = ((int32_t)(((uint16_t) ((((int32_t)magTask->dig_xyz1) << 14) in bmm150TempCompensateX()
63 inter_retval = BMM150_MAG_OVERFLOW_OUTPUT; in bmm150TempCompensateX()
64 return inter_retval; in bmm150TempCompensateX()
67 … temp_1 = ((int32_t)magTask->dig_xy2) * ((((int32_t)inter_retval) * ((int32_t)inter_retval)) >> 7); in bmm150TempCompensateX()
68 temp_2 = ((int32_t)inter_retval) * ((int32_t)(((int16_t)magTask->dig_xy1) << 7)); in bmm150TempCompensateX()
72 inter_retval = ((int32_t)(temp_4 >> 13)) + (((int16_t)magTask->dig_x1) << 3); in bmm150TempCompensateX()
75 if (inter_retval == (int32_t)BMM150_MAG_OVERFLOW_OUTPUT) in bmm150TempCompensateX()
76 inter_retval = BMM150_MAG_OVERFLOW_OUTPUT_S32; in bmm150TempCompensateX()
79 inter_retval = BMM150_MAG_OVERFLOW_OUTPUT; in bmm150TempCompensateX()
[all …]