Home
last modified time | relevance | path

Searched refs:fw_type (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_init.c786 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) in nx_get_bootld_offs()
799 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) in nx_get_fw_offs()
810 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) in nx_get_fw_size()
828 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) { in nx_get_fw_version()
858 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) { in nx_get_bios_version()
874 u8 fw_type; in netxen_need_fw_reset() local
922 adapter->fw_type != NX_UNIFIED_ROMIMAGE) { in netxen_need_fw_reset()
925 fw_type = (val & 0x4) ? in netxen_need_fw_reset()
928 if (adapter->fw_type != fw_type) in netxen_need_fw_reset()
982 fw_name[adapter->fw_type]); in netxen_load_firmware()
[all …]
H A Dnetxen_nic.h1615 u8 fw_type; member
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_init.c968 if (adapter->ahw->fw_type == QLCNIC_UNIFIED_ROMIMAGE) in qlcnic_get_bootld_offs()
982 if (adapter->ahw->fw_type == QLCNIC_UNIFIED_ROMIMAGE) in qlcnic_get_fw_offs()
996 if (adapter->ahw->fw_type == QLCNIC_UNIFIED_ROMIMAGE) in qlcnic_get_fw_size()
1011 if (adapter->ahw->fw_type != QLCNIC_UNIFIED_ROMIMAGE) { in qlcnic_get_fw_version()
1042 if (adapter->ahw->fw_type != QLCNIC_UNIFIED_ROMIMAGE) { in qlcnic_get_bios_version()
1115 fw_name[adapter->ahw->fw_type]); in qlcnic_load_firmware()
1207 u8 fw_type = adapter->ahw->fw_type; in qlcnic_validate_firmware() local
1209 if (fw_type == QLCNIC_UNIFIED_ROMIMAGE) { in qlcnic_validate_firmware()
1231 fw_name[fw_type], _major(ver), _minor(ver), _build(ver)); in qlcnic_validate_firmware()
1239 fw_name[fw_type]); in qlcnic_validate_firmware()
[all …]
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dsmu7_smumgr.c180 enum cgs_ucode_id smu7_convert_fw_type_to_cgs(uint32_t fw_type) in smu7_convert_fw_type_to_cgs() argument
184 switch (fw_type) { in smu7_convert_fw_type_to_cgs()
255 uint32_t fw_type, in smu7_populate_single_firmware_entry() argument
262 smu7_convert_fw_type_to_cgs(fw_type), in smu7_populate_single_firmware_entry()
267 entry->id = (uint16_t)fw_type; in smu7_populate_single_firmware_entry()
280 if ((fw_type == UCODE_ID_RLC_G) in smu7_populate_single_firmware_entry()
281 || (fw_type == UCODE_ID_CP_MEC)) in smu7_populate_single_firmware_entry()
401 int smu7_check_fw_load_finish(struct pp_hwmgr *hwmgr, uint32_t fw_type) in smu7_check_fw_load_finish() argument
409 fw_type, fw_type); in smu7_check_fw_load_finish()
H A Dsmu8_smumgr.c290 static enum cgs_ucode_id smu8_convert_fw_type_to_cgs(uint32_t fw_type) in smu8_convert_fw_type_to_cgs() argument
294 switch (fw_type) { in smu8_convert_fw_type_to_cgs()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_kms.c219 switch (query_fw->fw_type) { in amdgpu_firmware_info()
1755 query_fw.fw_type = AMDGPU_INFO_FW_VCE; in amdgpu_debugfs_firmware_info_show()
1763 query_fw.fw_type = AMDGPU_INFO_FW_UVD; in amdgpu_debugfs_firmware_info_show()
1771 query_fw.fw_type = AMDGPU_INFO_FW_GMC; in amdgpu_debugfs_firmware_info_show()
1779 query_fw.fw_type = AMDGPU_INFO_FW_GFX_ME; in amdgpu_debugfs_firmware_info_show()
1787 query_fw.fw_type = AMDGPU_INFO_FW_GFX_PFP; in amdgpu_debugfs_firmware_info_show()
1795 query_fw.fw_type = AMDGPU_INFO_FW_GFX_CE; in amdgpu_debugfs_firmware_info_show()
1803 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC; in amdgpu_debugfs_firmware_info_show()
1811 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_CNTL; in amdgpu_debugfs_firmware_info_show()
1819 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_GPM_MEM; in amdgpu_debugfs_firmware_info_show()
[all …]
H A Damdgpu_cgs.c112 static uint32_t fw_type_convert(struct cgs_device *cgs_device, uint32_t fw_type) in fw_type_convert() argument
117 switch (fw_type) { in fw_type_convert()
H A Damdgpu_psp.c697 cmd->cmd.cmd_load_ip_fw.fw_type == GFX_FW_TYPE_REG_LIST && in psp_err_warn()
1169 cmd->cmd.cmd_load_ip_fw.fw_type = GFX_FW_TYPE_REG_LIST; in psp_rl_load()
2921 ret = psp_get_fw_type(psp, ucode, &cmd->cmd.cmd_load_ip_fw.fw_type); in psp_prep_load_ip_fw_cmd_buf()
3552 switch (desc->fw_type) { in parse_sos_bin_descriptor()
3626 dev_warn(psp->adev->dev, "Unsupported PSP FW type: %d\n", desc->fw_type); in parse_sos_bin_descriptor()
3795 switch (desc->fw_type) { in is_ta_fw_applicable()
3807 return desc->fw_type == TA_FW_TYPE_PSP_XGMI_AUX; in is_ta_fw_applicable()
3809 return desc->fw_type == TA_FW_TYPE_PSP_XGMI; in is_ta_fw_applicable()
3835 switch (desc->fw_type) { in parse_ta_bin_descriptor()
3877 dev_warn(psp->adev->dev, "Unsupported TA type: %d\n", desc->fw_type); in parse_ta_bin_descriptor()
/linux/drivers/bluetooth/
H A Dhci_aml.c201 u8 fw_type, in aml_send_firmware_segment() argument
208 if (fw_type == FW_ICCM) in aml_send_firmware_segment()
210 else if (fw_type == FW_DCCM) in aml_send_firmware_segment()
217 static int aml_send_firmware(struct hci_dev *hdev, u8 fw_type, in aml_send_firmware() argument
232 if (aml_send_firmware_segment(hdev, fw_type, (fw + seg_off), in aml_send_firmware()
235 fw_type, offset); in aml_send_firmware()
/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc_drv.c240 enum mtk_vcodec_fw_type fw_type; in mtk_vcodec_probe() local
252 fw_type = VPU; in mtk_vcodec_probe()
255 fw_type = SCP; in mtk_vcodec_probe()
262 dev->fw_handler = mtk_vcodec_fw_select(dev, fw_type, ENCODER); in mtk_vcodec_probe()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_uclo.c113 if (suof_hdr->fw_type != 0) { in qat_uclo_check_suof_format()
1057 return hdr->fw_type; in qat_uclo_simg_fw_type()
1082 suof_handle->fw_type = suof_ptr->fw_type; in qat_uclo_map_suof_file_hdr()
1109 suof_img_hdr->fw_type = ae_mode->fw_type; in qat_uclo_map_simg()
1389 unsigned int fw_type) in qat_uclo_check_image() argument
1391 char *fw_type_name = fw_type ? "MMP" : "AE"; in qat_uclo_check_image()
1417 if (fw_type != simg_type) in qat_uclo_check_image()
1423 if (fw_type == CSS_AE_FIRMWARE) { in qat_uclo_check_image()
1429 } else if (fw_type == CSS_MMP_FIRMWARE) { in qat_uclo_check_image()
1446 unsigned int fw_type, struct icp_qat_fw_auth_desc **desc) in qat_uclo_build_auth_desc_RSA() argument
[all …]
/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_drv.c359 enum mtk_vcodec_fw_type fw_type; in mtk_vcodec_probe() local
378 fw_type = VPU; in mtk_vcodec_probe()
381 fw_type = SCP; in mtk_vcodec_probe()
388 dev->fw_handler = mtk_vcodec_fw_select(dev, fw_type, DECODER); in mtk_vcodec_probe()
/linux/drivers/media/pci/mgb4/
H A Dmgb4_sysfs_pci.c61 static DEVICE_ATTR_RO(fw_type);
/linux/drivers/firmware/efi/
H A Desrt.c33 u32 fw_type; member
126 esre_attr_decl(fw_type, 32, "%u");
/linux/Documentation/ABI/testing/
H A Dsysfs-firmware-efi-esrt34 What: /sys/firmware/efi/esrt/entries/entry<N>/fw_type
/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_main.c62 static char fw_type[LIO_MAX_FW_TYPE_LEN] = LIO_FW_NAME_TYPE_AUTO; variable
63 module_param_string(fw_type, fw_type, sizeof(fw_type), 0444);
64 MODULE_PARM_DESC(fw_type, "Type of firmware to be loaded (default is \"auto\"), which uses firmware…
909 return strncmp(fw_type, LIO_FW_NAME_TYPE_AUTO, in fw_type_is_auto()
1688 strscpy_pad(fw_type, tmp_fw_type, sizeof(fw_type)); in load_firmware()
1690 tmp_fw_type = fw_type; in load_firmware()
/linux/drivers/net/wireless/ti/wlcore/
H A Dmain.c808 enum wl12xx_fw_type fw_type; in wl12xx_fetch_firmware() local
812 fw_type = WL12XX_FW_TYPE_PLT; in wl12xx_fetch_firmware()
820 fw_type = WL12XX_FW_TYPE_MULTI; in wl12xx_fetch_firmware()
823 fw_type = WL12XX_FW_TYPE_NORMAL; in wl12xx_fetch_firmware()
828 if (wl->fw_type == fw_type) in wl12xx_fetch_firmware()
848 wl->fw_type = WL12XX_FW_TYPE_NONE; in wl12xx_fetch_firmware()
860 wl->fw_type = fw_type; in wl12xx_fetch_firmware()
2458 enum wl12xx_fw_type current_fw = wl->fw_type; in wl12xx_need_fw_change()
6429 wl->fw_type = WL12XX_FW_TYPE_NONE; in wlcore_alloc_hw()
6517 wl->fw_type = WL12XX_FW_TYPE_NONE; in wlcore_free_hw()
H A Dwlcore.h196 enum wl12xx_fw_type fw_type; member
H A Dboot.c69 unsigned int *min_ver = (wl->fw_type == WL12XX_FW_TYPE_MULTI) ? in wlcore_validate_fw_ver()
/linux/drivers/scsi/qla2xxx/
H A Dqla_nx.c1553 if (ha->fw_type == QLA82XX_UNIFIED_ROMIMAGE) { in qla82xx_get_bootld_offset()
1567 if (ha->fw_type == QLA82XX_UNIFIED_ROMIMAGE) { in qla82xx_get_fw_size()
1583 if (ha->fw_type == QLA82XX_UNIFIED_ROMIMAGE) { in qla82xx_get_fw_offs()
1812 qla82xx_validate_firmware_blob(scsi_qla_host_t *vha, uint8_t fw_type) in qla82xx_validate_firmware_blob() argument
1819 ha->fw_type = fw_type; in qla82xx_validate_firmware_blob()
1821 if (fw_type == QLA82XX_UNIFIED_ROMIMAGE) { in qla82xx_validate_firmware_blob()
/linux/drivers/net/wireless/st/cw1200/
H A Ddebug.c110 cw1200_fw_types[priv->wsm_caps.fw_type], in cw1200_status_show()
H A Dwsm.c819 priv->wsm_caps.fw_type = WSM_GET16(buf); in wsm_startup_indication()
829 if (WARN_ON(priv->wsm_caps.fw_type > 4)) in wsm_startup_indication()
840 cw1200_fw_types[priv->wsm_caps.fw_type], in wsm_startup_indication()
H A Dwsm.h618 u16 fw_type; member
/linux/include/uapi/drm/
H A Damdgpu_drm.h1280 __u32 fw_type; member
/linux/drivers/net/wireless/realtek/rtw89/
H A Dwow.c1262 enum rtw89_fw_type fw_type = wow ? RTW89_FW_WOWLAN : RTW89_FW_NORMAL; in rtw89_wow_swap_fw()
1293 ret = rtw89_fw_download(rtwdev, fw_type, include_bb); in rtw89_wow_swap_fw()

12