Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8712/
Dhal_init.c118 static void update_fwhdr(struct fw_hdr *pfwhdr, const u8 *pmappedfw) in update_fwhdr() argument
120 pfwhdr->signature = le16_to_cpu(*(__le16 *)pmappedfw); in update_fwhdr()
121 pfwhdr->version = le16_to_cpu(*(__le16 *)(pmappedfw + 2)); in update_fwhdr()
123 pfwhdr->dmem_size = le32_to_cpu(*(__le32 *)(pmappedfw + 4)); in update_fwhdr()
125 pfwhdr->img_IMEM_size = le32_to_cpu(*(__le32 *)(pmappedfw + 8)); in update_fwhdr()
127 pfwhdr->img_SRAM_size = le32_to_cpu(*(__le32 *)(pmappedfw + 12)); in update_fwhdr()
129 pfwhdr->fw_priv_sz = le32_to_cpu(*(__le32 *)(pmappedfw + 16)); in update_fwhdr()
160 const u8 *pmappedfw = NULL; in rtl8712_dl_fw() local
166 ulfilelength = rtl871x_open_fw(padapter, &pmappedfw); in rtl8712_dl_fw()
167 if (pmappedfw && (ulfilelength > 0)) { in rtl8712_dl_fw()
[all …]