Lines Matching refs:cal
1130 "Failed to read %s stick cal, using defaults; e=%d\n",
1144 hid_dbg(ctlr->hdev, "requesting cal data\n");
1149 hid_info(ctlr->hdev, "using user cal for left stick\n");
1151 hid_info(ctlr->hdev, "using factory cal for left stick\n");
1155 hid_info(ctlr->hdev, "using user cal for right stick\n");
1157 hid_info(ctlr->hdev, "using factory cal for right stick\n");
1249 hid_info(ctlr->hdev, "using user cal for IMU\n");
1251 hid_info(ctlr->hdev, "using factory cal for IMU\n");
1255 hid_dbg(ctlr->hdev, "requesting IMU cal data\n");
1260 "Failed to read IMU cal, using defaults; ret=%d\n",
1345 static s32 joycon_map_stick_val(struct joycon_stick_cal *cal, s32 val)
1347 s32 center = cal->center;
1348 s32 min = cal->min;
1349 s32 max = cal->max;