Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/magnetometer/
H A Dbmc150_magn.c430 s16 raw_x, raw_y, raw_z; in bmc150_magn_read_xyz() local
440 raw_y = (s16)le16_to_cpu(values[AXIS_Y]) >> BMC150_MAGN_SHIFT_XY_L; in bmc150_magn_read_xyz()
450 buffer[AXIS_Y] = bmc150_magn_compensate_y(&tregs, raw_y, rhall); in bmc150_magn_read_xyz()
/openbmc/linux/drivers/hid/
H A Dhid-nintendo.c1328 u16 raw_y; in joycon_parse_report() local
1334 raw_y = hid_field_extract(ctlr->hdev, in joycon_parse_report()
1338 y = -joycon_map_stick_val(&ctlr->left_stick_cal_y, raw_y); in joycon_parse_report()
1384 u16 raw_y; in joycon_parse_report() local
1390 raw_y = hid_field_extract(ctlr->hdev, in joycon_parse_report()
1394 y = -joycon_map_stick_val(&ctlr->right_stick_cal_y, raw_y); in joycon_parse_report()