Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmm150_slave.c48 int32_t inter_retval = 0; in bmm150TempCompensateX() local
57 inter_retval = ((int32_t)(((uint16_t) ((((int32_t)magTask->dig_xyz1) << 14) in bmm150TempCompensateX()
61 inter_retval = BMM150_MAG_OVERFLOW_OUTPUT; in bmm150TempCompensateX()
62 return inter_retval; in bmm150TempCompensateX()
65 … temp_1 = ((int32_t)magTask->dig_xy2) * ((((int32_t)inter_retval) * ((int32_t)inter_retval)) >> 7); in bmm150TempCompensateX()
66 temp_2 = ((int32_t)inter_retval) * ((int32_t)(((int16_t)magTask->dig_xy1) << 7)); in bmm150TempCompensateX()
70 inter_retval = ((int32_t)(temp_4 >> 13)) + (((int16_t)magTask->dig_x1) << 3); in bmm150TempCompensateX()
73 if (inter_retval == (int32_t)BMM150_MAG_OVERFLOW_OUTPUT) in bmm150TempCompensateX()
74 inter_retval = BMM150_MAG_OVERFLOW_OUTPUT_S32; in bmm150TempCompensateX()
77 inter_retval = BMM150_MAG_OVERFLOW_OUTPUT; in bmm150TempCompensateX()
[all …]