Home
last modified time | relevance | path

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

/hardware/akm/AK8975_FS/akmdfs/
DAK8975Driver.c45 return AKD_SUCCESS; in AKD_InitDevice()
111 return AKD_SUCCESS; in AKD_TxData()
164 return AKD_SUCCESS; in AKD_RxData()
193 return AKD_SUCCESS; in AKD_GetMagneticData()
223 return AKD_SUCCESS; in AKD_GetOpenStatus()
238 return AKD_SUCCESS; in AKD_GetCloseStatus()
260 return AKD_SUCCESS; in AKD_SetMode()
279 return AKD_SUCCESS; in AKD_GetDelay()
300 return AKD_SUCCESS; in AKD_GetLayout()
318 return AKD_SUCCESS; in AKD_GetAccelerationData()
DAKFS_Measure.c41 if (AKD_SetMode(AK8975_MODE_FUSE_ACCESS) != AKD_SUCCESS) { in AKFS_ReadAK8975FUSEROM()
47 if (AKD_RxData(AK8975_FUSE_ASAX, regs, 3) != AKD_SUCCESS) { in AKFS_ReadAK8975FUSEROM()
53 if (AKD_SetMode(AK8975_MODE_POWERDOWN) != AKD_SUCCESS) { in AKFS_ReadAK8975FUSEROM()
77 if (AKD_SetMode(AK8975_MODE_FUSE_ACCESS) != AKD_SUCCESS) { in AKFS_SelfTest()
83 if (AKD_RxData(AK8975_FUSE_ASAX, asa, 3) != AKD_SUCCESS) { in AKFS_SelfTest()
89 if (AKD_SetMode(AK8975_MODE_POWERDOWN) != AKD_SUCCESS) { in AKFS_SelfTest()
96 if (AKD_TxData(AK8975_REG_ASTC, i2cData, 1) != AKD_SUCCESS) { in AKFS_SelfTest()
102 if (AKD_SetMode(AK8975_MODE_SELF_TEST) != AKD_SUCCESS) { in AKFS_SelfTest()
111 if (AKD_GetMagneticData(i2cData) != AKD_SUCCESS) { in AKFS_SelfTest()
313 if (AKD_GetAccelerationData(acc) != AKD_SUCCESS) { in AKFS_MeasureLoop()
[all …]
Dmain.c212 if(AKD_InitDevice() != AKD_SUCCESS) { in main()
226 if (AKFS_SelfTest() != AKD_SUCCESS) { in main()
254 if (AKD_GetOpenStatus(&st) != AKD_SUCCESS) { in main()
271 if (AKD_GetCloseStatus(&st) != AKD_SUCCESS) { in main()
DAK8975Driver.h28 #define AKD_SUCCESS 1 /*!< Represents success.*/ macro