Home
last modified time | relevance | path

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

/linux/drivers/iio/magnetometer/
H A Dbmc150_magn.c429 s16 raw_x, raw_y, raw_z; in bmc150_magn_read_xyz() local
438 raw_x = (s16)le16_to_cpu(values[AXIS_X]) >> BMC150_MAGN_SHIFT_XY_L; in bmc150_magn_read_xyz()
448 buffer[AXIS_X] = bmc150_magn_compensate_x(&tregs, raw_x, rhall); in bmc150_magn_read_xyz()
/linux/drivers/hid/
H A Dhid-nintendo.c1621 u16 raw_x; in joycon_report_left_stick() local
1626 raw_x = hid_field_extract(ctlr->hdev, rep->left_stick, 0, 12); in joycon_report_left_stick()
1629 x = joycon_map_stick_val(&ctlr->left_stick_cal_x, raw_x); in joycon_report_left_stick()
1639 u16 raw_x; in joycon_report_right_stick() local
1644 raw_x = hid_field_extract(ctlr->hdev, rep->right_stick, 0, 12); in joycon_report_right_stick()
1647 x = joycon_map_stick_val(&ctlr->right_stick_cal_x, raw_x); in joycon_report_right_stick()