Searched refs:raw_x (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/iio/magnetometer/ |
D | bmc150_magn.c | 430 s16 raw_x, raw_y, raw_z; in bmc150_magn_read_xyz() local 439 raw_x = (s16)le16_to_cpu(values[AXIS_X]) >> BMC150_MAGN_SHIFT_XY_L; in bmc150_magn_read_xyz() 449 buffer[AXIS_X] = bmc150_magn_compensate_x(&tregs, raw_x, rhall); in bmc150_magn_read_xyz()
|
/linux-6.12.1/drivers/hid/ |
D | hid-nintendo.c | 1625 u16 raw_x; in joycon_report_left_stick() local 1630 raw_x = hid_field_extract(ctlr->hdev, rep->left_stick, 0, 12); in joycon_report_left_stick() 1633 x = joycon_map_stick_val(&ctlr->left_stick_cal_x, raw_x); in joycon_report_left_stick() 1643 u16 raw_x; in joycon_report_right_stick() local 1648 raw_x = hid_field_extract(ctlr->hdev, rep->right_stick, 0, 12); in joycon_report_right_stick() 1651 x = joycon_map_stick_val(&ctlr->right_stick_cal_x, raw_x); in joycon_report_right_stick()
|