Searched refs:dataGap (Results 1 – 2 of 2) sorted by relevance
562 int32_t dataGap[3]; in magTestHandling() local627 dataGap[0] = abs(mTask.dataST[0] - mTask.dataNOST[0]); in magTestHandling()628 dataGap[1] = abs(mTask.dataST[1] - mTask.dataNOST[1]); in magTestHandling()629 dataGap[2] = abs(mTask.dataST[2] - mTask.dataNOST[2]); in magTestHandling()631 if (dataGap[0] >= ST_MAG40_ST_MIN_THRESHOLD && in magTestHandling()632 dataGap[0] <= ST_MAG40_ST_MAX_THRESHOLD && in magTestHandling()633 dataGap[1] >= ST_MAG40_ST_MIN_THRESHOLD && in magTestHandling()634 dataGap[1] <= ST_MAG40_ST_MAX_THRESHOLD && in magTestHandling()635 dataGap[2] >= ST_MAG40_ST_MIN_THRESHOLD && in magTestHandling()636 dataGap[2] <= ST_MAG40_ST_MAX_THRESHOLD) in magTestHandling()
1750 int32_t dataGap[3]; in lsm6dsm_runGapSelfTestProgram() local1754 dataGap[0] = abs(T(dataSelftestEnabled[0]) - T(dataSelftestNotEnabled[0])); in lsm6dsm_runGapSelfTestProgram()1755 dataGap[1] = abs(T(dataSelftestEnabled[1]) - T(dataSelftestNotEnabled[1])); in lsm6dsm_runGapSelfTestProgram()1756 dataGap[2] = abs(T(dataSelftestEnabled[2]) - T(dataSelftestNotEnabled[2])); in lsm6dsm_runGapSelfTestProgram()1806 if ((dataGap[i] < lower_threshold[i]) || (dataGap[i] > higher_threshold[i])) { in lsm6dsm_runGapSelfTestProgram()1809 i, T(dataSelftestEnabled[i]), T(dataSelftestNotEnabled[i]), dataGap[i]); in lsm6dsm_runGapSelfTestProgram()