Searched refs:raw_cal (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/hid/ |
H A D | hid-nintendo.c | 758 u8 *raw_cal; in joycon_read_stick_calibration() local 762 JC_CAL_STICK_DATA_SIZE, &raw_cal); in joycon_read_stick_calibration() 768 x_max_above = hid_field_extract(ctlr->hdev, (raw_cal + 0), 0, in joycon_read_stick_calibration() 770 y_max_above = hid_field_extract(ctlr->hdev, (raw_cal + 1), 4, in joycon_read_stick_calibration() 776 x_min_below = hid_field_extract(ctlr->hdev, (raw_cal + 6), 0, in joycon_read_stick_calibration() 778 y_min_below = hid_field_extract(ctlr->hdev, (raw_cal + 7), 4, in joycon_read_stick_calibration() 785 x_min_below = hid_field_extract(ctlr->hdev, (raw_cal + 3), 0, in joycon_read_stick_calibration() 787 y_min_below = hid_field_extract(ctlr->hdev, (raw_cal + 4), 4, in joycon_read_stick_calibration() 929 u8 *raw_cal; in joycon_request_imu_calibration() local 944 JC_IMU_CAL_DATA_SIZE, &raw_cal); in joycon_request_imu_calibration() [all …]
|