rhall             361 drivers/iio/magnetometer/bmc150_magn.c 				    u16 rhall)
rhall             369 drivers/iio/magnetometer/bmc150_magn.c 	if (!rhall)
rhall             370 drivers/iio/magnetometer/bmc150_magn.c 		rhall = xyz1;
rhall             372 drivers/iio/magnetometer/bmc150_magn.c 	val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000)));
rhall             383 drivers/iio/magnetometer/bmc150_magn.c 				    u16 rhall)
rhall             391 drivers/iio/magnetometer/bmc150_magn.c 	if (!rhall)
rhall             392 drivers/iio/magnetometer/bmc150_magn.c 		rhall = xyz1;
rhall             394 drivers/iio/magnetometer/bmc150_magn.c 	val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000)));
rhall             405 drivers/iio/magnetometer/bmc150_magn.c 				    u16 rhall)
rhall             417 drivers/iio/magnetometer/bmc150_magn.c 	val = (((((s32)(z - z4)) << 15) - ((((s32)z3) * ((s32)(((s16)rhall) -
rhall             419 drivers/iio/magnetometer/bmc150_magn.c 	      ((((s16)rhall) << 1))) + (1 << 15)) >> 16))));
rhall             429 drivers/iio/magnetometer/bmc150_magn.c 	u16 rhall;
rhall             440 drivers/iio/magnetometer/bmc150_magn.c 	rhall = le16_to_cpu(values[RHALL]) >> BMC150_MAGN_SHIFT_RHALL_L;
rhall             447 drivers/iio/magnetometer/bmc150_magn.c 	buffer[AXIS_X] = bmc150_magn_compensate_x(&tregs, raw_x, rhall);
rhall             448 drivers/iio/magnetometer/bmc150_magn.c 	buffer[AXIS_Y] = bmc150_magn_compensate_y(&tregs, raw_y, rhall);
rhall             449 drivers/iio/magnetometer/bmc150_magn.c 	buffer[AXIS_Z] = bmc150_magn_compensate_z(&tregs, raw_z, rhall);