Lines Matching refs:hdata
73 AKFLOAT hdata[3]; in AKFS_SelfTest() local
116 hdata[0] = AK8975_HDATA_CONVERTER(i2cData[2], i2cData[1], asa[0]); in AKFS_SelfTest()
117 hdata[1] = AK8975_HDATA_CONVERTER(i2cData[4], i2cData[3], asa[1]); in AKFS_SelfTest()
118 hdata[2] = AK8975_HDATA_CONVERTER(i2cData[6], i2cData[5], asa[2]); in AKFS_SelfTest()
122 if ((hdata[0] < AK8975_SELFTEST_MIN_X) || in AKFS_SelfTest()
123 (AK8975_SELFTEST_MAX_X < hdata[0])) { in AKFS_SelfTest()
126 if ((hdata[1] < AK8975_SELFTEST_MIN_Y) || in AKFS_SelfTest()
127 (AK8975_SELFTEST_MAX_Y < hdata[1])) { in AKFS_SelfTest()
130 if ((hdata[2] < AK8975_SELFTEST_MIN_Z) || in AKFS_SelfTest()
131 (AK8975_SELFTEST_MAX_Z < hdata[2])) { in AKFS_SelfTest()
136 (ret ? "Success" : "fail"), hdata[0], hdata[1], hdata[2]); in AKFS_SelfTest()