Lines Matching refs:fwhdr_to_cmp
1320 struct bfi_ioc_image_hdr *fwhdr_to_cmp) in bfa_ioc_fw_ver_compatible() argument
1322 if (drv_fwhdr->signature != fwhdr_to_cmp->signature) in bfa_ioc_fw_ver_compatible()
1324 if (drv_fwhdr->fwver.major != fwhdr_to_cmp->fwver.major) in bfa_ioc_fw_ver_compatible()
1326 if (drv_fwhdr->fwver.minor != fwhdr_to_cmp->fwver.minor) in bfa_ioc_fw_ver_compatible()
1328 if (drv_fwhdr->fwver.maint != fwhdr_to_cmp->fwver.maint) in bfa_ioc_fw_ver_compatible()
1330 if (drv_fwhdr->fwver.patch == fwhdr_to_cmp->fwver.patch && in bfa_ioc_fw_ver_compatible()
1331 drv_fwhdr->fwver.phase == fwhdr_to_cmp->fwver.phase && in bfa_ioc_fw_ver_compatible()
1332 drv_fwhdr->fwver.build == fwhdr_to_cmp->fwver.build) in bfa_ioc_fw_ver_compatible()
1333 return bfa_ioc_fwver_md5_check(drv_fwhdr, fwhdr_to_cmp); in bfa_ioc_fw_ver_compatible()
1360 struct bfi_ioc_image_hdr *fwhdr_to_cmp) in bfa_ioc_fw_ver_patch_cmp() argument
1362 if (!bfa_ioc_fw_ver_compatible(base_fwhdr, fwhdr_to_cmp)) in bfa_ioc_fw_ver_patch_cmp()
1365 if (fwhdr_to_cmp->fwver.patch > base_fwhdr->fwver.patch) in bfa_ioc_fw_ver_patch_cmp()
1367 else if (fwhdr_to_cmp->fwver.patch < base_fwhdr->fwver.patch) in bfa_ioc_fw_ver_patch_cmp()
1374 if (fwhdr_is_ga(fwhdr_to_cmp)) in bfa_ioc_fw_ver_patch_cmp()
1379 if (fwhdr_is_ga(fwhdr_to_cmp)) in bfa_ioc_fw_ver_patch_cmp()
1382 if (fwhdr_to_cmp->fwver.phase > base_fwhdr->fwver.phase) in bfa_ioc_fw_ver_patch_cmp()
1384 else if (fwhdr_to_cmp->fwver.phase < base_fwhdr->fwver.phase) in bfa_ioc_fw_ver_patch_cmp()
1387 if (fwhdr_to_cmp->fwver.build > base_fwhdr->fwver.build) in bfa_ioc_fw_ver_patch_cmp()
1389 else if (fwhdr_to_cmp->fwver.build < base_fwhdr->fwver.build) in bfa_ioc_fw_ver_patch_cmp()