Home
last modified time | relevance | path

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

/drivers/hid/
Dhid-nintendo.c447 struct joycon_imu_cal gyro_cal; member
904 ctlr->imu_cal_gyro_divisor[i] = ctlr->gyro_cal.scale[i] - in joycon_calc_imu_cal_divisors()
905 ctlr->gyro_cal.offset[i]; in joycon_calc_imu_cal_divisors()
953 ctlr->gyro_cal.offset[i] = DFLT_GYRO_OFFSET; in joycon_request_imu_calibration()
954 ctlr->gyro_cal.scale[i] = DFLT_GYRO_SCALE; in joycon_request_imu_calibration()
966 ctlr->gyro_cal.offset[i] = get_unaligned_le16(raw_cal + j + 12); in joycon_request_imu_calibration()
967 ctlr->gyro_cal.scale[i] = get_unaligned_le16(raw_cal + j + 18); in joycon_request_imu_calibration()
983 ctlr->gyro_cal.offset[0], in joycon_request_imu_calibration()
984 ctlr->gyro_cal.offset[1], in joycon_request_imu_calibration()
985 ctlr->gyro_cal.offset[2], in joycon_request_imu_calibration()
[all …]