Home
last modified time | relevance | path

Searched refs:fwhdr (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/staging/rtl8712/
Dhal_init.c162 struct fw_hdr fwhdr; in rtl8712_dl_fw() local
172 update_fwhdr(&fwhdr, mappedfw); in rtl8712_dl_fw()
173 if (chk_fwhdr(&fwhdr, ulfilelength) == _FAIL) in rtl8712_dl_fw()
175 fill_fwpriv(adapter, &fwhdr.fwpriv); in rtl8712_dl_fw()
177 maxlen = (fwhdr.img_IMEM_size > fwhdr.img_SRAM_size) ? in rtl8712_dl_fw()
178 fwhdr.img_IMEM_size : fwhdr.img_SRAM_size; in rtl8712_dl_fw()
188 fwhdr.fw_priv_sz; in rtl8712_dl_fw()
191 imem_sz = fwhdr.img_IMEM_size; in rtl8712_dl_fw()
220 emem_sz = fwhdr.img_SRAM_size; in rtl8712_dl_fw()
282 txdesc->txdw0 |= cpu_to_le32(fwhdr.fw_priv_sz & 0x0000ffff); in rtl8712_dl_fw()
[all …]
/linux-6.12.1/drivers/media/pci/saa7164/
Dsaa7164-fw.c195 struct fw_header *hdr, *boothdr = NULL, *fwhdr; in saa7164_downloadfirmware() local
489 fwhdr = (struct fw_header *)(fw->data+tmp); in saa7164_downloadfirmware()
492 fwhdr = hdr; in saa7164_downloadfirmware()
496 (fwhdr->version & 0x0000fc00) >> 10, in saa7164_downloadfirmware()
497 (fwhdr->version & 0x000003e0) >> 5, in saa7164_downloadfirmware()
498 (fwhdr->version & 0x0000001f), in saa7164_downloadfirmware()
499 (fwhdr->version & 0xffff0000) >> 16 in saa7164_downloadfirmware()
502 if (version == fwhdr->version) { in saa7164_downloadfirmware()
555 fwloadersize = (fwhdr->firmwaresize + fwhdr->bslsize) * in saa7164_downloadfirmware()
/linux-6.12.1/drivers/scsi/bfa/
Dbfa_ioc_cb.c78 struct bfi_ioc_image_hdr_s fwhdr; in bfa_ioc_cb_firmware_lock() local
93 bfa_ioc_fwver_get(ioc, &fwhdr); in bfa_ioc_cb_firmware_lock()
94 if (!bfa_ioc_fwver_cmp(ioc, &fwhdr) && in bfa_ioc_cb_firmware_lock()
Dbfa_ioc_ct.c57 struct bfi_ioc_image_hdr_s fwhdr; in bfa_ioc_ct_firmware_lock() local
85 bfa_ioc_fwver_get(ioc, &fwhdr); in bfa_ioc_ct_firmware_lock()
86 if (!bfa_ioc_fwver_cmp(ioc, &fwhdr)) { in bfa_ioc_ct_firmware_lock()
Dbfa_ioc.c702 struct bfi_ioc_image_hdr_s fwhdr; in bfa_iocpf_sm_fwcheck_entry() local
722 bfa_ioc_fwver_get(iocpf->ioc, &fwhdr); in bfa_iocpf_sm_fwcheck_entry()
724 if (swab32(fwhdr.exec) == BFI_FWBOOT_TYPE_NORMAL) { in bfa_iocpf_sm_fwcheck_entry()
741 bfa_trc(iocpf->ioc, swab32(fwhdr.exec)); in bfa_iocpf_sm_fwcheck_entry()
1439 bfa_ioc_fwver_get(struct bfa_ioc_s *ioc, struct bfi_ioc_image_hdr_s *fwhdr) in bfa_ioc_fwver_get() argument
1444 u32 *fwsig = (u32 *) fwhdr; in bfa_ioc_fwver_get()
1503 struct bfi_ioc_image_hdr_s fwhdr; in bfa_ioc_fwver_valid() local
1505 bfa_ioc_fwver_get(ioc, &fwhdr); in bfa_ioc_fwver_valid()
1507 if (swab32(fwhdr.bootenv) != boot_env) { in bfa_ioc_fwver_valid()
1508 bfa_trc(ioc, fwhdr.bootenv); in bfa_ioc_fwver_valid()
[all …]
Dbfa_ioc.h966 struct bfi_ioc_image_hdr_s *fwhdr);
968 struct bfi_ioc_image_hdr_s *fwhdr);
/linux-6.12.1/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.c1144 struct bfi_ioc_image_hdr fwhdr; in bfa_ioc_hw_sem_init() local
1160 bfa_nw_ioc_fwver_get(ioc, &fwhdr); in bfa_ioc_hw_sem_init()
1162 if (swab32(fwhdr.exec) == BFI_FWBOOT_TYPE_NORMAL) { in bfa_ioc_hw_sem_init()
1283 bfa_nw_ioc_fwver_get(struct bfa_ioc *ioc, struct bfi_ioc_image_hdr *fwhdr) in bfa_nw_ioc_fwver_get() argument
1288 u32 *fwsig = (u32 *) fwhdr; in bfa_nw_ioc_fwver_get()
1348 fwhdr_is_ga(struct bfi_ioc_image_hdr *fwhdr) in fwhdr_is_ga() argument
1350 if (fwhdr->fwver.phase == 0 && in fwhdr_is_ga()
1351 fwhdr->fwver.build == 0) in fwhdr_is_ga()
1771 bfa_nw_ioc_fwver_cmp(struct bfa_ioc *ioc, struct bfi_ioc_image_hdr *fwhdr) in bfa_nw_ioc_fwver_cmp() argument
1780 drv_smem_cmp = bfa_ioc_fw_ver_patch_cmp(drv_fwhdr, fwhdr); in bfa_nw_ioc_fwver_cmp()
[all …]
Dbfa_ioc.h292 struct bfi_ioc_image_hdr *fwhdr);
294 struct bfi_ioc_image_hdr *fwhdr);
Dbfa_ioc_ct.c115 struct bfi_ioc_image_hdr fwhdr; in bfa_ioc_ct_firmware_lock() local
147 bfa_nw_ioc_fwver_get(ioc, &fwhdr); in bfa_ioc_ct_firmware_lock()
148 if (!bfa_nw_ioc_fwver_cmp(ioc, &fwhdr)) { in bfa_ioc_ct_firmware_lock()