Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/magnetometer/
Dbmc150_magn.c361 u16 rhall) in bmc150_magn_compensate_x() argument
369 if (!rhall) in bmc150_magn_compensate_x()
370 rhall = xyz1; in bmc150_magn_compensate_x()
372 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_x()
383 u16 rhall) in bmc150_magn_compensate_y() argument
391 if (!rhall) in bmc150_magn_compensate_y()
392 rhall = xyz1; in bmc150_magn_compensate_y()
394 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_y()
405 u16 rhall) in bmc150_magn_compensate_z() argument
417 val = (((((s32)(z - z4)) << 15) - ((((s32)z3) * ((s32)(((s16)rhall) - in bmc150_magn_compensate_z()
[all …]