Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/staging/rtl8712/
A 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()
284 memcpy(payload, &fwhdr.fwpriv, fwhdr.fw_priv_sz); in rtl8712_dl_fw()
[all …]
/linux-6.3-rc2/drivers/media/pci/saa7164/
A Dsaa7164-fw.c195 struct fw_header *hdr, *boothdr = NULL, *fwhdr; in saa7164_downloadfirmware() local
490 fwhdr = (struct fw_header *)(fw->data+tmp); in saa7164_downloadfirmware()
493 fwhdr = hdr; in saa7164_downloadfirmware()
497 (fwhdr->version & 0x0000fc00) >> 10, in saa7164_downloadfirmware()
498 (fwhdr->version & 0x000003e0) >> 5, in saa7164_downloadfirmware()
499 (fwhdr->version & 0x0000001f), in saa7164_downloadfirmware()
500 (fwhdr->version & 0xffff0000) >> 16 in saa7164_downloadfirmware()
503 if (version == fwhdr->version) { in saa7164_downloadfirmware()
556 fwloadersize = (fwhdr->firmwaresize + fwhdr->bslsize) * in saa7164_downloadfirmware()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw89/
A Dfw.h497 #define GET_FWSECTION_HDR_REDL(fwhdr) \ argument
506 #define GET_FW_HDR_SUBVERSION(fwhdr) \ argument
508 #define GET_FW_HDR_SUBINDEX(fwhdr) \ argument
510 #define GET_FW_HDR_LEN(fwhdr) \ argument
512 #define GET_FW_HDR_MONTH(fwhdr) \ argument
514 #define GET_FW_HDR_DATE(fwhdr) \ argument
516 #define GET_FW_HDR_HOUR(fwhdr) \ argument
518 #define GET_FW_HDR_MIN(fwhdr) \ argument
520 #define GET_FW_HDR_YEAR(fwhdr) \ argument
522 #define GET_FW_HDR_SEC_NUM(fwhdr) \ argument
[all …]
/linux-6.3-rc2/drivers/scsi/bfa/
A 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()
A 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()
A Dbfa_ioc.c703 struct bfi_ioc_image_hdr_s fwhdr; in bfa_iocpf_sm_fwcheck_entry() local
723 bfa_ioc_fwver_get(iocpf->ioc, &fwhdr); in bfa_iocpf_sm_fwcheck_entry()
742 bfa_trc(iocpf->ioc, swab32(fwhdr.exec)); in bfa_iocpf_sm_fwcheck_entry()
1445 u32 *fwsig = (u32 *) fwhdr; in bfa_ioc_fwver_get()
1504 struct bfi_ioc_image_hdr_s fwhdr; in bfa_ioc_fwver_valid() local
1506 bfa_ioc_fwver_get(ioc, &fwhdr); in bfa_ioc_fwver_valid()
1508 if (swab32(fwhdr.bootenv) != boot_env) { in bfa_ioc_fwver_valid()
1509 bfa_trc(ioc, fwhdr.bootenv); in bfa_ioc_fwver_valid()
1514 return bfa_ioc_fwver_cmp(ioc, &fwhdr); in bfa_ioc_fwver_valid()
1570 if (fwhdr->fwver.phase == 0 && in fwhdr_is_ga()
[all …]
A Dbfa_ioc.h924 struct bfi_ioc_image_hdr_s *fwhdr);
926 struct bfi_ioc_image_hdr_s *fwhdr);
/linux-6.3-rc2/drivers/net/ethernet/brocade/bna/
A 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()
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()
1807 struct bfi_ioc_image_hdr fwhdr; in bfa_ioc_fwver_valid() local
1809 bfa_nw_ioc_fwver_get(ioc, &fwhdr); in bfa_ioc_fwver_valid()
1810 if (swab32(fwhdr.bootenv) != boot_env) in bfa_ioc_fwver_valid()
[all …]
A Dbfa_ioc.h292 struct bfi_ioc_image_hdr *fwhdr);
294 struct bfi_ioc_image_hdr *fwhdr);
A 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()

Completed in 56 milliseconds