Home
last modified time | relevance | path

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

/drivers/hid/
Dhid-nintendo.c441 u16 raw_y; in joycon_parse_report() local
447 raw_y = hid_field_extract(ctlr->hdev, in joycon_parse_report()
451 y = -joycon_map_stick_val(&ctlr->left_stick_cal_y, raw_y); in joycon_parse_report()
474 u16 raw_y; in joycon_parse_report() local
480 raw_y = hid_field_extract(ctlr->hdev, in joycon_parse_report()
484 y = -joycon_map_stick_val(&ctlr->right_stick_cal_y, raw_y); in joycon_parse_report()
/drivers/iio/magnetometer/
Dbmc150_magn.c428 s16 raw_x, raw_y, raw_z; in bmc150_magn_read_xyz() local
438 raw_y = (s16)le16_to_cpu(values[AXIS_Y]) >> BMC150_MAGN_SHIFT_XY_L; in bmc150_magn_read_xyz()
448 buffer[AXIS_Y] = bmc150_magn_compensate_y(&tregs, raw_y, rhall); in bmc150_magn_read_xyz()