Home
last modified time | relevance | path

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

/linux/drivers/hid/
H A Dhid-nintendo.c602 struct joycon_imu_cal accel_cal; member
1194 ctlr->imu_cal_accel_divisor[i] = ctlr->accel_cal.scale[i] - in joycon_calc_imu_cal_divisors()
1195 ctlr->accel_cal.offset[i]; in joycon_calc_imu_cal_divisors()
1243 ctlr->accel_cal.offset[i] = DFLT_ACCEL_OFFSET; in joycon_request_imu_calibration()
1244 ctlr->accel_cal.scale[i] = DFLT_ACCEL_SCALE; in joycon_request_imu_calibration()
1256 ctlr->accel_cal.offset[i] = get_unaligned_le16(raw_cal + j); in joycon_request_imu_calibration()
1257 ctlr->accel_cal.scale[i] = get_unaligned_le16(raw_cal + j + 6); in joycon_request_imu_calibration()
1269 ctlr->accel_cal.offset[0], in joycon_request_imu_calibration()
1270 ctlr->accel_cal.offset[1], in joycon_request_imu_calibration()
1271 ctlr->accel_cal.offset[2], in joycon_request_imu_calibration()
[all …]