Home
last modified time | relevance | path

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

/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()
46 host_image->image_section_info[i] = fw_image->fw_section_info[i]; in check_image_valid()
49 if (len != fw_image->fw_len || in check_image_valid()
[all …]
/drivers/scsi/pm8001/
Dpm8001_ctl.c686 if (pm8001_ha->fw_image->size > 4096) { in pm8001_set_nvmd()
697 memcpy((u8 *)&payload->func_specific, (u8 *)pm8001_ha->fw_image->data, in pm8001_set_nvmd()
698 pm8001_ha->fw_image->size); in pm8001_set_nvmd()
699 payload->wr_length = pm8001_ha->fw_image->size; in pm8001_set_nvmd()
730 if (pm8001_ha->fw_image->size < 28) { in pm8001_update_flash()
739 image_hdr = (struct pm8001_fw_image_header *)pm8001_ha->fw_image->data; in pm8001_update_flash()
740 while (sizeRead < pm8001_ha->fw_image->size) { in pm8001_update_flash()
762 read_buf = (u8 *)pm8001_ha->fw_image->data + sizeRead; in pm8001_update_flash()
840 ret = request_firmware(&pm8001_ha->fw_image, in pm8001_store_update_fw()
857 release_firmware(pm8001_ha->fw_image); in pm8001_store_update_fw()
Dpm8001_sas.h536 const struct firmware *fw_image; member
/drivers/scsi/elx/efct/
Defct_driver.c332 struct efct_hw_grp_hdr *fw_image; in efct_request_firmware_update() local
342 fw_image = (struct efct_hw_grp_hdr *)fw->data; in efct_request_firmware_update()
344 if (!strncmp(efct->hw.sli.fw_name[0], fw_image->revision, in efct_request_firmware_update()
345 strnlen(fw_image->revision, 16))) { in efct_request_firmware_update()
352 efct->hw.sli.fw_name[0], fw_image->revision); in efct_request_firmware_update()
/drivers/gpu/drm/msm/adreno/
Da6xx_gmu.c694 const struct firmware *fw_image = adreno_gpu->fw[ADRENO_FW_GMU]; in a6xx_gmu_fw_load() local
706 if (fw_image->size > 0x8000) { in a6xx_gmu_fw_load()
713 (u32*) fw_image->data, fw_image->size); in a6xx_gmu_fw_load()
718 for (blk = (const struct block_header *) fw_image->data; in a6xx_gmu_fw_load()
719 (const u8*) blk < fw_image->data + fw_image->size; in a6xx_gmu_fw_load()
/drivers/accel/qaic/
Dmhi_controller.c516 mhi_cntrl->fw_image = "qcom/aic100/sbl.bin"; in qaic_mhi_register_controller()
/drivers/net/wireless/ath/ath11k/
Dmhi.c398 mhi_ctrl->fw_image = ab_pci->amss_path; in ath11k_mhi_register()
/drivers/net/wireless/ath/ath12k/
Dmhi.c366 mhi_ctrl->fw_image = ab_pci->amss_path; in ath12k_mhi_register()
/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()
4801 static int mwl8k_reload_firmware(struct ieee80211_hw *hw, char *fw_image);
5812 static int mwl8k_init_firmware(struct ieee80211_hw *hw, char *fw_image, in mwl8k_init_firmware() argument
5824 rc = mwl8k_request_firmware(priv, fw_image, nowait); in mwl8k_init_firmware()
6014 static int mwl8k_reload_firmware(struct ieee80211_hw *hw, char *fw_image) in mwl8k_reload_firmware() argument
6035 rc = mwl8k_init_firmware(hw, fw_image, false); in mwl8k_reload_firmware()
/drivers/bus/mhi/host/
Dboot.c425 mhi_cntrl->edl_image : mhi_cntrl->fw_image; in mhi_fw_load_handler()
Dpci_generic.c933 mhi_cntrl->fw_image = info->fw; in mhi_pci_probe()
/drivers/ptp/
Dptp_ocp.c1653 const char *fw_image; in ptp_ocp_devlink_info_get() local
1657 fw_image = bp->fw_loader ? "loader" : "fw"; in ptp_ocp_devlink_info_get()
1659 err = devlink_info_version_running_put(req, fw_image, buf); in ptp_ocp_devlink_info_get()