Searched refs:mag_z (Results 1 – 1 of 1) sorted by relevance
120 static int32_t bmm150TempCompensateZ(struct MagTask *magTask, int16_t mag_z, uint16_t rhall) in bmm150TempCompensateZ() argument123 if (mag_z != BMM150_MAG_HALL_OVERFLOW_ADCVAL) { in bmm150TempCompensateZ()126 retval = ((((int32_t)(mag_z - magTask->dig_z4)) << 15) in bmm150TempCompensateZ()141 int32_t mag_z = (*(int16_t *)&buf[4]) >> 1; in parseMagData() local146 int32_t raw_z = bmm150TempCompensateZ(magTask, mag_z, mag_rhall); in parseMagData()