Lines Matching refs:gyro_cal
447 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()
986 ctlr->gyro_cal.scale[0], in joycon_request_imu_calibration()
987 ctlr->gyro_cal.scale[1], in joycon_request_imu_calibration()
988 ctlr->gyro_cal.scale[2]); in joycon_request_imu_calibration()
1204 ctlr->gyro_cal.offset[0])), in joycon_parse_imu_report()
1205 ctlr->gyro_cal.scale[0], in joycon_parse_imu_report()
1209 ctlr->gyro_cal.offset[1])), in joycon_parse_imu_report()
1210 ctlr->gyro_cal.scale[1], in joycon_parse_imu_report()
1214 ctlr->gyro_cal.offset[2])), in joycon_parse_imu_report()
1215 ctlr->gyro_cal.scale[2], in joycon_parse_imu_report()