Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_devlink.c26 struct fw_image_st *fw_image = NULL; in check_image_valid() local
30 fw_image = (struct fw_image_st *)buf; in check_image_valid()
32 if (fw_image->fw_magic != HINIC_MAGIC_NUM) { in check_image_valid()
34 fw_image->fw_magic); in check_image_valid()
38 if (fw_image->fw_info.fw_section_cnt > MAX_FW_TYPE_NUM) { in check_image_valid()
40 fw_image->fw_info.fw_section_cnt); in check_image_valid()
44 for (i = 0; i < fw_image->fw_info.fw_section_cnt; i++) { in check_image_valid()
45 len += fw_image->fw_section_info[i].fw_section_len; in check_image_valid()
47 &fw_image->fw_section_info[i], in check_image_valid()
51 if (len != fw_image->fw_len || in check_image_valid()
[all …]
/Linux-v5.10/drivers/scsi/pm8001/
Dpm8001_ctl.c687 if (pm8001_ha->fw_image->size > 4096) { in pm8001_set_nvmd()
698 memcpy((u8 *)&payload->func_specific, (u8 *)pm8001_ha->fw_image->data, in pm8001_set_nvmd()
699 pm8001_ha->fw_image->size); in pm8001_set_nvmd()
700 payload->wr_length = pm8001_ha->fw_image->size; in pm8001_set_nvmd()
728 if (pm8001_ha->fw_image->size < 28) { in pm8001_update_flash()
737 image_hdr = (struct pm8001_fw_image_header *)pm8001_ha->fw_image->data; in pm8001_update_flash()
738 while (sizeRead < pm8001_ha->fw_image->size) { in pm8001_update_flash()
762 (u8 *)pm8001_ha->fw_image->data + sizeRead, in pm8001_update_flash()
768 (u8 *)pm8001_ha->fw_image->data + sizeRead, in pm8001_update_flash()
839 ret = request_firmware(&pm8001_ha->fw_image, in pm8001_store_update_fw()
[all …]
Dpm8001_sas.h560 const struct firmware *fw_image; member
/Linux-v5.10/drivers/gpu/drm/msm/adreno/
Da6xx_gmu.c660 const struct firmware *fw_image = adreno_gpu->fw[ADRENO_FW_GMU]; in a6xx_gmu_fw_load() local
672 if (fw_image->size > 0x8000) { in a6xx_gmu_fw_load()
679 (u32*) fw_image->data, fw_image->size); in a6xx_gmu_fw_load()
684 for (blk = (const struct block_header *) fw_image->data; in a6xx_gmu_fw_load()
685 (const u8*) blk < fw_image->data + fw_image->size; in a6xx_gmu_fw_load()
/Linux-v5.10/include/linux/
Dmhi.h381 const char *fw_image; member
/Linux-v5.10/drivers/net/wireless/ath/ath11k/
Dmhi.c231 mhi_ctrl->fw_image = ab_pci->amss_path; in ath11k_mhi_register()
/Linux-v5.10/drivers/bus/mhi/core/
Dboot.c422 mhi_cntrl->edl_image : mhi_cntrl->fw_image; in mhi_fw_load_handler()
/Linux-v5.10/drivers/net/wireless/marvell/
Dmwl8k.c546 static int mwl8k_request_firmware(struct mwl8k_priv *priv, char *fw_image, in mwl8k_request_firmware() argument
573 rc = mwl8k_request_fw(priv, fw_image, in mwl8k_request_firmware()
577 rc = mwl8k_request_fw(priv, fw_image, in mwl8k_request_firmware()
581 pci_name(priv->pdev), fw_image); in mwl8k_request_firmware()
4794 static int mwl8k_reload_firmware(struct ieee80211_hw *hw, char *fw_image);
5803 static int mwl8k_init_firmware(struct ieee80211_hw *hw, char *fw_image, in mwl8k_init_firmware() argument
5815 rc = mwl8k_request_firmware(priv, fw_image, nowait); in mwl8k_init_firmware()
6005 static int mwl8k_reload_firmware(struct ieee80211_hw *hw, char *fw_image) in mwl8k_reload_firmware() argument
6026 rc = mwl8k_init_firmware(hw, fw_image, false); in mwl8k_reload_firmware()