Searched refs:flash_fwhdr (Results 1 – 2 of 2) sorted by relevance
1339 bfa_ioc_flash_fwver_valid(struct bfi_ioc_image_hdr *flash_fwhdr) in bfa_ioc_flash_fwver_valid() argument1341 if (flash_fwhdr->fwver.major == 0 || flash_fwhdr->fwver.major == 0xFF) in bfa_ioc_flash_fwver_valid()1752 struct bfi_ioc_image_hdr *flash_fwhdr; in bfa_ioc_flash_fwver_cmp() local1760 flash_fwhdr = (struct bfi_ioc_image_hdr *)fwimg; in bfa_ioc_flash_fwver_cmp()1761 if (bfa_ioc_flash_fwver_valid(flash_fwhdr)) in bfa_ioc_flash_fwver_cmp()1762 return bfa_ioc_fw_ver_patch_cmp(base_fwhdr, flash_fwhdr); in bfa_ioc_flash_fwver_cmp()
1559 bfa_ioc_flash_fwver_valid(struct bfi_ioc_image_hdr_s *flash_fwhdr) in bfa_ioc_flash_fwver_valid() argument1561 if (flash_fwhdr->fwver.major == 0 || flash_fwhdr->fwver.major == 0xFF) in bfa_ioc_flash_fwver_valid()1639 struct bfi_ioc_image_hdr_s *flash_fwhdr; in bfa_ioc_flash_fwver_cmp() local1647 flash_fwhdr = (struct bfi_ioc_image_hdr_s *) fwimg; in bfa_ioc_flash_fwver_cmp()1648 if (bfa_ioc_flash_fwver_valid(flash_fwhdr) == BFA_TRUE) in bfa_ioc_flash_fwver_cmp()1649 return bfa_ioc_fw_ver_patch_cmp(base_fwhdr, flash_fwhdr); in bfa_ioc_flash_fwver_cmp()