Lines Matching refs:AKD_SUCCESS
44 if (AKD_SetMode(AK8975_MODE_FUSE_ACCESS) != AKD_SUCCESS) { in AKFS_ReadAK8975FUSEROM()
50 if (AKD_RxData(AK8975_FUSE_ASAX, regs, 3) != AKD_SUCCESS) { in AKFS_ReadAK8975FUSEROM()
56 if (AKD_SetMode(AK8975_MODE_POWERDOWN) != AKD_SUCCESS) { in AKFS_ReadAK8975FUSEROM()
80 if (AKD_SetMode(AK8975_MODE_FUSE_ACCESS) != AKD_SUCCESS) { in AKFS_SelfTest()
86 if (AKD_RxData(AK8975_FUSE_ASAX, asa, 3) != AKD_SUCCESS) { in AKFS_SelfTest()
92 if (AKD_SetMode(AK8975_MODE_POWERDOWN) != AKD_SUCCESS) { in AKFS_SelfTest()
99 if (AKD_TxData(AK8975_REG_ASTC, i2cData, 1) != AKD_SUCCESS) { in AKFS_SelfTest()
105 if (AKD_SetMode(AK8975_MODE_SELF_TEST) != AKD_SUCCESS) { in AKFS_SelfTest()
114 if (AKD_GetMagneticData(i2cData) != AKD_SUCCESS) { in AKFS_SelfTest()
317 if (AKD_GetAccelerationData(acc) != AKD_SUCCESS) { in AKFS_MeasureLoop()
336 if (AKD_SetMode(AK8975_MODE_SNG_MEASURE) != AKD_SUCCESS) { in AKFS_MeasureLoop()
342 if (AKD_GetMagneticData(i2cData) != AKD_SUCCESS) { in AKFS_MeasureLoop()
404 if (AKD_SetMode(AK8975_MODE_POWERDOWN) != AKD_SUCCESS) { in AKFS_MeasureLoop()