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()
1560 bfa_ioc_flash_fwver_valid(struct bfi_ioc_image_hdr_s *flash_fwhdr) in bfa_ioc_flash_fwver_valid() argument1562 if (flash_fwhdr->fwver.major == 0 || flash_fwhdr->fwver.major == 0xFF) in bfa_ioc_flash_fwver_valid()1640 struct bfi_ioc_image_hdr_s *flash_fwhdr; in bfa_ioc_flash_fwver_cmp() local1648 flash_fwhdr = (struct bfi_ioc_image_hdr_s *) fwimg; in bfa_ioc_flash_fwver_cmp()1649 if (bfa_ioc_flash_fwver_valid(flash_fwhdr) == BFA_TRUE) in bfa_ioc_flash_fwver_cmp()1650 return bfa_ioc_fw_ver_patch_cmp(base_fwhdr, flash_fwhdr); in bfa_ioc_flash_fwver_cmp()