Home
last modified time | relevance | path

Searched refs:fw_image (Results 1 – 9 of 9) 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()
47 &fw_image->fw_section_info[i], in check_image_valid()
51 if (len != fw_image->fw_len || in check_image_valid()
[all …]
/drivers/scsi/pm8001/
Dpm8001_ctl.c688 if (pm8001_ha->fw_image->size > 4096) { in pm8001_set_nvmd()
699 memcpy((u8 *)&payload->func_specific, (u8 *)pm8001_ha->fw_image->data, in pm8001_set_nvmd()
700 pm8001_ha->fw_image->size); in pm8001_set_nvmd()
701 payload->wr_length = pm8001_ha->fw_image->size; in pm8001_set_nvmd()
729 if (pm8001_ha->fw_image->size < 28) { in pm8001_update_flash()
738 image_hdr = (struct pm8001_fw_image_header *)pm8001_ha->fw_image->data; in pm8001_update_flash()
739 while (sizeRead < pm8001_ha->fw_image->size) { in pm8001_update_flash()
763 (u8 *)pm8001_ha->fw_image->data + sizeRead, in pm8001_update_flash()
769 (u8 *)pm8001_ha->fw_image->data + sizeRead, in pm8001_update_flash()
840 ret = request_firmware(&pm8001_ha->fw_image, in pm8001_store_update_fw()
[all …]
Dpm8001_sas.h534 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.c698 const struct firmware *fw_image = adreno_gpu->fw[ADRENO_FW_GMU]; in a6xx_gmu_fw_load() local
710 if (fw_image->size > 0x8000) { in a6xx_gmu_fw_load()
717 (u32*) fw_image->data, fw_image->size); in a6xx_gmu_fw_load()
722 for (blk = (const struct block_header *) fw_image->data; in a6xx_gmu_fw_load()
723 (const u8*) blk < fw_image->data + fw_image->size; in a6xx_gmu_fw_load()
/drivers/net/wireless/ath/ath11k/
Dmhi.c331 mhi_ctrl->fw_image = ab_pci->amss_path; in ath11k_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()
4799 static int mwl8k_reload_firmware(struct ieee80211_hw *hw, char *fw_image);
5808 static int mwl8k_init_firmware(struct ieee80211_hw *hw, char *fw_image, in mwl8k_init_firmware() argument
5820 rc = mwl8k_request_firmware(priv, fw_image, nowait); in mwl8k_init_firmware()
6010 static int mwl8k_reload_firmware(struct ieee80211_hw *hw, char *fw_image) in mwl8k_reload_firmware() argument
6031 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.c782 mhi_cntrl->fw_image = info->fw; in mhi_pci_probe()