Searched refs:fwhdr (Results 1 – 9 of 9) sorted by relevance
/drivers/staging/rtl8712/ |
D | hal_init.c | 162 struct fw_hdr fwhdr; in rtl8712_dl_fw() local 172 update_fwhdr(&fwhdr, pmappedfw); in rtl8712_dl_fw() 173 if (chk_fwhdr(&fwhdr, ulfilelength) == _FAIL) in rtl8712_dl_fw() 175 fill_fwpriv(padapter, &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() 281 ptx_desc->txdw0 |= cpu_to_le32(fwhdr.fw_priv_sz & 0x0000ffff); in rtl8712_dl_fw() [all …]
|
/drivers/media/pci/saa7164/ |
D | saa7164-fw.c | 209 struct fw_header *hdr, *boothdr = NULL, *fwhdr; in saa7164_downloadfirmware() local 506 fwhdr = (struct fw_header *)(fw->data+tmp); in saa7164_downloadfirmware() 509 fwhdr = hdr; in saa7164_downloadfirmware() 513 (fwhdr->version & 0x0000fc00) >> 10, in saa7164_downloadfirmware() 514 (fwhdr->version & 0x000003e0) >> 5, in saa7164_downloadfirmware() 515 (fwhdr->version & 0x0000001f), in saa7164_downloadfirmware() 516 (fwhdr->version & 0xffff0000) >> 16 in saa7164_downloadfirmware() 519 if (version == fwhdr->version) { in saa7164_downloadfirmware() 572 fwloadersize = (fwhdr->firmwaresize + fwhdr->bslsize) * in saa7164_downloadfirmware()
|
/drivers/scsi/bfa/ |
D | bfa_ioc_cb.c | 85 struct bfi_ioc_image_hdr_s fwhdr; in bfa_ioc_cb_firmware_lock() local 100 bfa_ioc_fwver_get(ioc, &fwhdr); in bfa_ioc_cb_firmware_lock() 101 if (!bfa_ioc_fwver_cmp(ioc, &fwhdr) && in bfa_ioc_cb_firmware_lock()
|
D | bfa_ioc_ct.c | 64 struct bfi_ioc_image_hdr_s fwhdr; in bfa_ioc_ct_firmware_lock() local 92 bfa_ioc_fwver_get(ioc, &fwhdr); in bfa_ioc_ct_firmware_lock() 93 if (!bfa_ioc_fwver_cmp(ioc, &fwhdr)) { in bfa_ioc_ct_firmware_lock()
|
D | bfa_ioc.c | 710 struct bfi_ioc_image_hdr_s fwhdr; in bfa_iocpf_sm_fwcheck_entry() local 730 bfa_ioc_fwver_get(iocpf->ioc, &fwhdr); in bfa_iocpf_sm_fwcheck_entry() 732 if (swab32(fwhdr.exec) == BFI_FWBOOT_TYPE_NORMAL) { in bfa_iocpf_sm_fwcheck_entry() 750 bfa_trc(iocpf->ioc, swab32(fwhdr.exec)); in bfa_iocpf_sm_fwcheck_entry() 1452 bfa_ioc_fwver_get(struct bfa_ioc_s *ioc, struct bfi_ioc_image_hdr_s *fwhdr) in bfa_ioc_fwver_get() argument 1457 u32 *fwsig = (u32 *) fwhdr; in bfa_ioc_fwver_get() 1517 struct bfi_ioc_image_hdr_s fwhdr; in bfa_ioc_fwver_valid() local 1519 bfa_ioc_fwver_get(ioc, &fwhdr); in bfa_ioc_fwver_valid() 1521 if (swab32(fwhdr.bootenv) != boot_env) { in bfa_ioc_fwver_valid() 1522 bfa_trc(ioc, fwhdr.bootenv); in bfa_ioc_fwver_valid() [all …]
|
D | bfa_ioc.h | 927 struct bfi_ioc_image_hdr_s *fwhdr); 929 struct bfi_ioc_image_hdr_s *fwhdr);
|
/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc.c | 1155 struct bfi_ioc_image_hdr fwhdr; in bfa_ioc_hw_sem_init() local 1171 bfa_nw_ioc_fwver_get(ioc, &fwhdr); in bfa_ioc_hw_sem_init() 1173 if (swab32(fwhdr.exec) == BFI_FWBOOT_TYPE_NORMAL) { in bfa_ioc_hw_sem_init() 1294 bfa_nw_ioc_fwver_get(struct bfa_ioc *ioc, struct bfi_ioc_image_hdr *fwhdr) in bfa_nw_ioc_fwver_get() argument 1299 u32 *fwsig = (u32 *) fwhdr; in bfa_nw_ioc_fwver_get() 1359 fwhdr_is_ga(struct bfi_ioc_image_hdr *fwhdr) in fwhdr_is_ga() argument 1361 if (fwhdr->fwver.phase == 0 && in fwhdr_is_ga() 1362 fwhdr->fwver.build == 0) in fwhdr_is_ga() 1783 bfa_nw_ioc_fwver_cmp(struct bfa_ioc *ioc, struct bfi_ioc_image_hdr *fwhdr) in bfa_nw_ioc_fwver_cmp() argument 1792 drv_smem_cmp = bfa_ioc_fw_ver_patch_cmp(drv_fwhdr, fwhdr); in bfa_nw_ioc_fwver_cmp() [all …]
|
D | bfa_ioc.h | 296 struct bfi_ioc_image_hdr *fwhdr); 298 struct bfi_ioc_image_hdr *fwhdr);
|
D | bfa_ioc_ct.c | 123 struct bfi_ioc_image_hdr fwhdr; in bfa_ioc_ct_firmware_lock() local 155 bfa_nw_ioc_fwver_get(ioc, &fwhdr); in bfa_ioc_ct_firmware_lock() 156 if (!bfa_nw_ioc_fwver_cmp(ioc, &fwhdr)) { in bfa_ioc_ct_firmware_lock()
|