Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c870 struct MagCal magnCal; member
3726 T(magnCal).x_bias = d->bias[0]; in lsm6dsm_magnCfgData()
3727 T(magnCal).y_bias = d->bias[1]; in lsm6dsm_magnCfgData()
3728 T(magnCal).z_bias = d->bias[2]; in lsm6dsm_magnCfgData()
3737 diversityCheckerLocalFieldUpdate(&T(magnCal).diversity_checker, d->strength); in lsm6dsm_magnCfgData()
4309 … magCalRemoveSoftiron(&T(magnCal), x_remap, y_remap, z_remap, &magnOffX, &magnOffY, &magnOffZ); in lsm6dsm_processSensorThreeAxisData()
4310 … newMagnCalibData = magCalUpdate(&T(magnCal), NS_TO_US(*timestamp), magnOffX, magnOffY, magnOffZ); in lsm6dsm_processSensorThreeAxisData()
4311 magCalRemoveBias(&T(magnCal), magnOffX, magnOffY, magnOffZ, &x_remap, &y_remap, &z_remap); in lsm6dsm_processSensorThreeAxisData()
4321 …magCalGetBias(&T(magnCal), &samples[*sampleNum].x, &samples[*sampleNum].y, &samples[*sampleNum].z); in lsm6dsm_processSensorThreeAxisData()
5181 initMagCal(&T(magnCal), &magCalParameters, &magDiversityParameters); in lsm6dsm_startTask()
[all …]