Searched refs:xyz1 (Results 1 – 1 of 1) sorted by relevance
121 __le16 xyz1; member 362 u16 xyz1 = le16_to_cpu(tregs->xyz1); in bmc150_magn_compensate_x() local 368 rhall = xyz1; in bmc150_magn_compensate_x() 370 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_x() 384 u16 xyz1 = le16_to_cpu(tregs->xyz1); in bmc150_magn_compensate_y() local 390 rhall = xyz1; in bmc150_magn_compensate_y() 392 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_y() 406 u16 xyz1 in bmc150_magn_compensate_z() local [all...]