Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/
Ddrm_edid_load.c185 int fwsize, builtin; in edid_load() local
192 fwsize = sizeof(generic_edid[builtin]); in edid_load()
213 fwsize = fw->size; in edid_load()
216 if (edid_size(fwdata, fwsize) != fwsize) { in edid_load()
219 edid_size(fwdata, fwsize), (int)fwsize); in edid_load()
224 edid = kmemdup(fwdata, fwsize, GFP_KERNEL); in edid_load()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723com/
Dfw_common.c194 u32 fwsize; in rtl8723_download_fw() local
206 fwsize = rtlhal->fwsize; in rtl8723_download_fw()
219 fwsize = fwsize - sizeof(struct rtlwifi_firmware_header); in rtl8723_download_fw()
230 rtl8723_write_fw(hw, version, pfwdata, fwsize, max_page); in rtl8723_download_fw()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dfw.c136 u32 fwsize; in rtl88e_download_fw() local
147 fwsize = rtlhal->fwsize; in rtl88e_download_fw()
149 "normal Firmware SIZE %d\n", fwsize); in rtl88e_download_fw()
158 fwsize = fwsize - sizeof(struct rtlwifi_firmware_header); in rtl88e_download_fw()
166 _rtl88e_write_fw(hw, version, pfwdata, fwsize); in rtl88e_download_fw()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dfw.c132 u32 fwsize; in rtl92ee_download_fw() local
143 fwsize = rtlhal->fwsize; in rtl92ee_download_fw()
145 "normal Firmware SIZE %d\n" , fwsize); in rtl92ee_download_fw()
154 fwsize = fwsize - sizeof(struct rtlwifi_firmware_header); in rtl92ee_download_fw()
168 _rtl92ee_write_fw(hw, version, pfwdata, fwsize); in rtl92ee_download_fw()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dfw.c187 u32 fwsize; in rtl92d_download_fw() local
197 fwsize = rtlhal->fwsize; in rtl92d_download_fw()
210 fwsize = fwsize - 32; in rtl92d_download_fw()
263 _rtl92d_write_fw(hw, version, pfwdata, fwsize); in rtl92d_download_fw()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.c157 u32 fwsize; in rtl92c_download_fw() local
166 fwsize = rtlhal->fwsize; in rtl92c_download_fw()
176 fwsize = fwsize - sizeof(struct rtlwifi_firmware_header); in rtl92c_download_fw()
180 _rtl92c_write_fw(hw, version, pfwdata, fwsize); in rtl92c_download_fw()
/Linux-v4.19/drivers/staging/rtlwifi/halmac/
Drtl_halmac.h33 int rtl_halmac_init_hal_fw(struct rtl_priv *rtlpriv, u8 *fw, u32 fwsize);
37 int rtl_halmac_dlfw(struct rtl_priv *rtlpriv, u8 *fw, u32 fwsize);
Drtl_halmac.c624 static int _halmac_init_hal(struct rtl_priv *rtlpriv, u8 *fw, u32 fwsize) in _halmac_init_hal() argument
653 if (fw && fwsize) { in _halmac_init_hal()
654 err = rtl_halmac_dlfw(rtlpriv, fw, fwsize); in _halmac_init_hal()
717 if (!rtlpriv->rtlhal.pfirmware || rtlpriv->rtlhal.fwsize == 0) in rtl_halmac_init_hal()
721 rtlpriv->rtlhal.fwsize); in rtl_halmac_init_hal()
773 int rtl_halmac_dlfw(struct rtl_priv *rtlpriv, u8 *fw, u32 fwsize) in rtl_halmac_dlfw() argument
784 if ((!fw) || (!fwsize)) in rtl_halmac_dlfw()
798 status = api->halmac_download_firmware(mac, fw, fwsize); in rtl_halmac_dlfw()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dfw.c146 u32 fwsize; in rtl8821ae_download_fw() local
166 fwsize = rtlhal->wowlan_fwsize; in rtl8821ae_download_fw()
176 fwsize = rtlhal->fwsize; in rtl8821ae_download_fw()
181 buse_wake_on_wlan_fw ? "Wowlan" : "Normal", fwsize); in rtl8821ae_download_fw()
190 fwsize = fwsize - sizeof(struct rtlwifi_firmware_header); in rtl8821ae_download_fw()
200 _rtl8821ae_write_fw(hw, version, pfwdata, fwsize); in rtl8821ae_download_fw()
/Linux-v4.19/sound/soc/intel/skylake/
Dcnl-sst.c55 static int cnl_prepare_fw(struct sst_dsp *ctx, const void *fwdata, u32 fwsize) in cnl_prepare_fw() argument
60 stream_tag = ctx->dsp_ops.prepare(ctx->dev, 0x40, fwsize, &ctx->dmab); in cnl_prepare_fw()
67 memcpy(ctx->dmab.area, fwdata, fwsize); in cnl_prepare_fw()
Dbxt-sst.c106 const void *fwdata, u32 fwsize) in sst_bxt_prepare_fw() argument
110 stream_tag = ctx->dsp_ops.prepare(ctx->dev, 0x40, fwsize, &ctx->dmab); in sst_bxt_prepare_fw()
118 memcpy(ctx->dmab.area, fwdata, fwsize); in sst_bxt_prepare_fw()
/Linux-v4.19/drivers/net/wireless/quantenna/qtnfmac/pearl/
Dpcie_ipc.h151 __le32 fwsize; member
Dpcie.c1080 hdr->fwsize = cpu_to_le32(size); in qtnf_ep_fw_send()
/Linux-v4.19/sound/usb/
Dquirks.c803 int fwsize; in snd_usb_mbox2_boot_quirk() local
806 fwsize = le16_to_cpu(get_cfg_desc(config)->wTotalLength); in snd_usb_mbox2_boot_quirk()
808 if (fwsize != MBOX2_FIRMWARE_SIZE) { in snd_usb_mbox2_boot_quirk()
809 dev_err(&dev->dev, "Invalid firmware size=%d.\n", fwsize); in snd_usb_mbox2_boot_quirk()
/Linux-v4.19/sound/pci/cs46xx/
Dcs46xx_lib.c401 unsigned int nums, fwlen, fwsize; in load_firmware() local
411 fwsize = fw->size / 4; in load_firmware()
412 if (fwsize < 2) { in load_firmware()
437 if (fwlen + 2 + DSP_MAX_SYMBOL_NAME / 4 > fwsize) in load_firmware()
445 if (fwlen >= fwsize) in load_firmware()
456 if (fwlen + 3 > fwsize) in load_firmware()
461 if (fwlen + entry->size > fwsize) in load_firmware()
/Linux-v4.19/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c1418 unsigned int fwsize; in pvr2_upload_firmware1() local
1444 fwsize = fw_entry->size; in pvr2_upload_firmware1()
1446 if ((fwsize != 0x2000) && in pvr2_upload_firmware1()
1447 (!(hdw->hdw_desc->flag_fx2_16kb && (fwsize == 0x4000)))) { in pvr2_upload_firmware1()
1451 fwsize); in pvr2_upload_firmware1()
1455 fwsize); in pvr2_upload_firmware1()
1474 for (address = 0; address < fwsize; address += 0x800) { in pvr2_upload_firmware1()
1491 if (ret == fwsize) { in pvr2_upload_firmware1()
/Linux-v4.19/drivers/staging/rtlwifi/
Dcore.c74 rtlpriv->rtlhal.fwsize = firmware->size; in rtl_fw_do_work()
80 rtlpriv->rtlhal.fwsize = firmware->size; in rtl_fw_do_work()
Dwifi.h1603 u32 fwsize; member
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/
Dcore.c127 rtlpriv->rtlhal.fwsize = firmware->size; in rtl_fw_do_work()
Dwifi.h1670 u32 fwsize; member