Lines Matching defs:wanted

85 				    struct xe_uc_fw_version *wanted,
93 FIELD_PREP(VF2GUC_MATCH_VERSION_REQUEST_MSG_1_BRANCH, wanted->branch) |
94 FIELD_PREP(VF2GUC_MATCH_VERSION_REQUEST_MSG_1_MAJOR, wanted->major) |
95 FIELD_PREP(VF2GUC_MATCH_VERSION_REQUEST_MSG_1_MINOR, wanted->minor),
121 struct xe_uc_fw_version wanted = {
128 return guc_action_match_version(guc, &wanted, found);
162 struct xe_uc_fw_version wanted = {0};
169 /* select wanted version - prefer previous (if any) */
171 wanted = *guc_version;
174 vf_wanted_guc_version(gt, &wanted);
175 xe_gt_assert(gt, wanted.major != GUC_VERSION_MAJOR_ANY);
177 /* First time we handshake, so record the minimum wanted */
178 gt->sriov.vf.wanted_guc_version = wanted;
181 err = guc_action_match_version(guc, &wanted, guc_version);
187 if (MAKE_GUC_VER_STRUCT(*guc_version) != MAKE_GUC_VER_STRUCT(wanted)) {
192 wanted.branch, wanted.major,
193 wanted.minor, wanted.patch);
203 if (guc_version->major > wanted.major) {
209 if (guc_version->major != wanted.major) {
215 vf_minimum_guc_version(gt, &wanted);
216 xe_gt_assert(gt, wanted.major != GUC_VERSION_MAJOR_ANY);
217 if (MAKE_GUC_VER_STRUCT(*guc_version) < MAKE_GUC_VER_STRUCT(wanted)) {
235 wanted.major, wanted.minor, ERR_PTR(err));
238 if (!guc_action_match_version_any(guc, &wanted))
240 wanted.branch, wanted.major, wanted.minor, wanted.patch);
274 * @wanted: pointer to the xe_uc_fw_version to be filled with the wanted version
281 struct xe_uc_fw_version *wanted,
287 if (wanted)
288 *wanted = gt->sriov.vf.wanted_guc_version;
1080 struct xe_uc_fw_version *wanted = &gt->sriov.vf.wanted_guc_version;
1092 wanted->branch, wanted->major, wanted->minor);