Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/magnetometer/
H A Dbmc150_magn.c124 __le16 xyz1; member
364 u16 xyz1 = le16_to_cpu(tregs->xyz1); in bmc150_magn_compensate_x() local
370 rhall = xyz1; in bmc150_magn_compensate_x()
372 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_x()
386 u16 xyz1 = le16_to_cpu(tregs->xyz1); in bmc150_magn_compensate_y() local
392 rhall = xyz1; in bmc150_magn_compensate_y()
394 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_y()
408 u16 xyz1 in bmc150_magn_compensate_z() local
[all...]
/kernel/linux/linux-6.6/drivers/iio/magnetometer/
H A Dbmc150_magn.c125 __le16 xyz1; member
366 u16 xyz1 = le16_to_cpu(tregs->xyz1); in bmc150_magn_compensate_x() local
372 rhall = xyz1; in bmc150_magn_compensate_x()
374 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_x()
388 u16 xyz1 = le16_to_cpu(tregs->xyz1); in bmc150_magn_compensate_y() local
394 rhall = xyz1; in bmc150_magn_compensate_y()
396 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_y()
410 u16 xyz1 in bmc150_magn_compensate_z() local
[all...]

Completed in 3 milliseconds