Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/iio/magnetometer/
Dbmc150_magn.c132 __le16 xyz1; member
371 u16 xyz1 = le16_to_cpu(tregs->xyz1); in bmc150_magn_compensate_x() local
377 rhall = xyz1; in bmc150_magn_compensate_x()
379 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_x()
393 u16 xyz1 = le16_to_cpu(tregs->xyz1); in bmc150_magn_compensate_y() local
399 rhall = xyz1; in bmc150_magn_compensate_y()
401 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_y()
415 u16 xyz1 = le16_to_cpu(tregs->xyz1); in bmc150_magn_compensate_z() local
425 ((s16)xyz1)))) >> 2)) / (z2 + ((s16)(((((s32)z1) * in bmc150_magn_compensate_z()