Lines Matching refs:u
52 g_prms.mfv_hs.u.x = AK8975_HSENSE_DEFAULT; in AKFS_Init()
53 g_prms.mfv_hs.u.y = AK8975_HSENSE_DEFAULT; in AKFS_Init()
54 g_prms.mfv_hs.u.z = AK8975_HSENSE_DEFAULT; in AKFS_Init()
55 g_prms.mfv_as.u.x = AK8975_ASENSE_DEFAULT; in AKFS_Init()
56 g_prms.mfv_as.u.y = AK8975_ASENSE_DEFAULT; in AKFS_Init()
57 g_prms.mfv_as.u.z = AK8975_ASENSE_DEFAULT; in AKFS_Init()
66 g_prms.mi_asa.u.x = regs[0]; in AKFS_Init()
67 g_prms.mi_asa.u.y = regs[1]; in AKFS_Init()
68 g_prms.mi_asa.u.z = regs[2]; in AKFS_Init()
231 (g_prms.mfv_hvec.u.x * g_prms.mfv_hvec.u.x) + in AKFS_Get_MAGNETIC_FIELD()
232 (g_prms.mfv_hvec.u.y * g_prms.mfv_hvec.u.y) + in AKFS_Get_MAGNETIC_FIELD()
233 (g_prms.mfv_hvec.u.z * g_prms.mfv_hvec.u.z)); in AKFS_Get_MAGNETIC_FIELD()
243 *vx = g_prms.mfv_hvec.u.x; in AKFS_Get_MAGNETIC_FIELD()
244 *vy = g_prms.mfv_hvec.u.y; in AKFS_Get_MAGNETIC_FIELD()
245 *vz = g_prms.mfv_hvec.u.z; in AKFS_Get_MAGNETIC_FIELD()
291 g_prms.mfv_adata[0].u.x = acc[0]; in AKFS_Get_ACCELEROMETER()
292 g_prms.mfv_adata[0].u.y = acc[1]; in AKFS_Get_ACCELEROMETER()
293 g_prms.mfv_adata[0].u.z = acc[2]; in AKFS_Get_ACCELEROMETER()
328 *vx = g_prms.mfv_avec.u.x; in AKFS_Get_ACCELEROMETER()
329 *vy = g_prms.mfv_avec.u.y; in AKFS_Get_ACCELEROMETER()
330 *vz = g_prms.mfv_avec.u.z; in AKFS_Get_ACCELEROMETER()