Lines Matching refs:pfwheader
342 struct fw_hdr *pfwheader; in rtl92s_download_fw() local
359 firmware->pfwheader = (struct fw_hdr *) puc_mappedfile; in rtl92s_download_fw()
360 pfwheader = firmware->pfwheader; in rtl92s_download_fw()
361 firmware->firmwareversion = byte(pfwheader->version, 0); in rtl92s_download_fw()
362 firmware->pfwheader->fwpriv.hci_sel = 1;/* pcie */ in rtl92s_download_fw()
366 pfwheader->signature, in rtl92s_download_fw()
367 pfwheader->version, pfwheader->dmem_size, in rtl92s_download_fw()
368 pfwheader->img_imem_size, pfwheader->img_sram_size); in rtl92s_download_fw()
371 if ((pfwheader->img_imem_size == 0) || (pfwheader->img_imem_size > in rtl92s_download_fw()
379 pfwheader->img_imem_size); in rtl92s_download_fw()
380 firmware->fw_imem_len = pfwheader->img_imem_size; in rtl92s_download_fw()
384 if (pfwheader->img_sram_size > sizeof(firmware->fw_emem)) { in rtl92s_download_fw()
391 pfwheader->img_sram_size); in rtl92s_download_fw()
392 firmware->fw_emem_len = pfwheader->img_sram_size; in rtl92s_download_fw()
410 pfwheader = firmware->pfwheader; in rtl92s_download_fw()
411 pfw_priv = &pfwheader->fwpriv; in rtl92s_download_fw()
413 puc_mappedfile = (u8 *)(firmware->pfwheader) + in rtl92s_download_fw()