| /OK3568_Linux_fs/kernel/drivers/media/platform/mtk-vpu/ |
| H A D | mtk_vpu.c | 477 u8 fw_type) in load_requested_vpu() argument 479 size_t tcm_size = fw_type ? VPU_DTCM_SIZE : VPU_PTCM_SIZE; in load_requested_vpu() 480 size_t fw_size = fw_type ? VPU_D_FW_SIZE : VPU_P_FW_SIZE; in load_requested_vpu() 481 char *fw_name = fw_type ? VPU_D_FW : VPU_P_FW; in load_requested_vpu() 482 char *fw_new_name = fw_type ? VPU_D_FW_NEW : VPU_P_FW_NEW; in load_requested_vpu() 523 if (fw_type == D_FW) in load_requested_vpu() 528 dest = vpu->extmem[fw_type].va; in load_requested_vpu() 530 fw_type); in load_requested_vpu() 672 static void vpu_free_ext_mem(struct mtk_vpu *vpu, u8 fw_type) in vpu_free_ext_mem() argument 675 size_t fw_ext_size = fw_type ? VPU_EXT_D_SIZE : VPU_EXT_P_SIZE; in vpu_free_ext_mem() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/rtl8852b/ |
| H A D | rtl8852b_halinit.c | 177 u32 _hal_cfg_rom_fw_8852b(enum rtw_fw_type fw_type, struct rtw_fw_info_t *fw_info, in _hal_cfg_rom_fw_8852b() argument 183 switch (fw_type) { in _hal_cfg_rom_fw_8852b() 214 u32 _hal_cfg_intnal_fw_8852b(struct rtw_phl_com_t *phl_com,enum rtw_fw_type fw_type,struct rtw_fw_i… in _hal_cfg_intnal_fw_8852b() argument 220 static u32 _hal_read_fw_8852b(enum rtw_fw_type fw_type, in _hal_read_fw_8852b() argument 230 switch (fw_type) { in _hal_read_fw_8852b() 263 enum rtw_fw_type fw_type, struct rtw_fw_info_t *fw_info, char *ic_name) in _hal_cfg_extnal_fw_8852b() argument 269 switch (fw_type) { in _hal_cfg_extnal_fw_8852b() 310 return _hal_read_fw_8852b(fw_type, fw_info->ram_buff, in _hal_cfg_extnal_fw_8852b() 319 enum rtw_fw_type fw_type) in hal_cfg_fw_8852b() argument 334 fw_type); in hal_cfg_fw_8852b() [all …]
|
| H A D | rtl8852b_hal.h | 47 enum rtw_fw_type fw_type);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/rtl8852b/ |
| H A D | rtl8852b_halinit.c | 177 u32 _hal_cfg_rom_fw_8852b(enum rtw_fw_type fw_type, struct rtw_fw_info_t *fw_info, in _hal_cfg_rom_fw_8852b() argument 183 switch (fw_type) { in _hal_cfg_rom_fw_8852b() 214 u32 _hal_cfg_intnal_fw_8852b(struct rtw_phl_com_t *phl_com,enum rtw_fw_type fw_type,struct rtw_fw_i… in _hal_cfg_intnal_fw_8852b() argument 220 static u32 _hal_read_fw_8852b(enum rtw_fw_type fw_type, in _hal_read_fw_8852b() argument 230 switch (fw_type) { in _hal_read_fw_8852b() 263 enum rtw_fw_type fw_type, struct rtw_fw_info_t *fw_info, char *ic_name) in _hal_cfg_extnal_fw_8852b() argument 269 switch (fw_type) { in _hal_cfg_extnal_fw_8852b() 310 return _hal_read_fw_8852b(fw_type, fw_info->ram_buff, in _hal_cfg_extnal_fw_8852b() 319 enum rtw_fw_type fw_type) in hal_cfg_fw_8852b() argument 334 fw_type); in hal_cfg_fw_8852b() [all …]
|
| H A D | rtl8852b_hal.h | 47 enum rtw_fw_type fw_type);
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/netxen/ |
| H A D | netxen_nic_init.c | 789 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) in nx_get_bootld_offs() 802 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) in nx_get_fw_offs() 813 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) in nx_get_fw_size() 831 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) { in nx_get_fw_version() 861 if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) { in nx_get_bios_version() 877 u8 fw_type; in netxen_need_fw_reset() local 925 adapter->fw_type != NX_UNIFIED_ROMIMAGE) { in netxen_need_fw_reset() 928 fw_type = (val & 0x4) ? in netxen_need_fw_reset() 931 if (adapter->fw_type != fw_type) in netxen_need_fw_reset() 985 fw_name[adapter->fw_type]); in netxen_load_firmware() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_init.c | 970 if (adapter->ahw->fw_type == QLCNIC_UNIFIED_ROMIMAGE) in qlcnic_get_bootld_offs() 984 if (adapter->ahw->fw_type == QLCNIC_UNIFIED_ROMIMAGE) in qlcnic_get_fw_offs() 998 if (adapter->ahw->fw_type == QLCNIC_UNIFIED_ROMIMAGE) in qlcnic_get_fw_size() 1013 if (adapter->ahw->fw_type != QLCNIC_UNIFIED_ROMIMAGE) { in qlcnic_get_fw_version() 1044 if (adapter->ahw->fw_type != QLCNIC_UNIFIED_ROMIMAGE) { in qlcnic_get_bios_version() 1117 fw_name[adapter->ahw->fw_type]); in qlcnic_load_firmware() 1209 u8 fw_type = adapter->ahw->fw_type; in qlcnic_validate_firmware() local 1211 if (fw_type == QLCNIC_UNIFIED_ROMIMAGE) { in qlcnic_validate_firmware() 1233 fw_name[fw_type], _major(ver), _minor(ver), _build(ver)); in qlcnic_validate_firmware() 1241 fw_name[fw_type]); in qlcnic_validate_firmware() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
| H A D | smu7_smumgr.c | 213 enum cgs_ucode_id smu7_convert_fw_type_to_cgs(uint32_t fw_type) in smu7_convert_fw_type_to_cgs() argument 217 switch (fw_type) { in smu7_convert_fw_type_to_cgs() 288 uint32_t fw_type, in smu7_populate_single_firmware_entry() argument 295 smu7_convert_fw_type_to_cgs(fw_type), in smu7_populate_single_firmware_entry() 300 entry->id = (uint16_t)fw_type; in smu7_populate_single_firmware_entry() 313 if ((fw_type == UCODE_ID_RLC_G) in smu7_populate_single_firmware_entry() 314 || (fw_type == UCODE_ID_CP_MEC)) in smu7_populate_single_firmware_entry() 434 int smu7_check_fw_load_finish(struct pp_hwmgr *hwmgr, uint32_t fw_type) in smu7_check_fw_load_finish() argument 442 fw_type, fw_type); in smu7_check_fw_load_finish()
|
| H A D | smu7_smumgr.h | 68 enum cgs_ucode_id smu7_convert_fw_type_to_cgs(uint32_t fw_type); 75 int smu7_check_fw_load_finish(struct pp_hwmgr *hwmgr, uint32_t fw_type);
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_kms.c | 225 switch (query_fw->fw_type) { in amdgpu_firmware_info() 1283 query_fw.fw_type = AMDGPU_INFO_FW_VCE; in amdgpu_debugfs_firmware_info() 1291 query_fw.fw_type = AMDGPU_INFO_FW_UVD; in amdgpu_debugfs_firmware_info() 1299 query_fw.fw_type = AMDGPU_INFO_FW_GMC; in amdgpu_debugfs_firmware_info() 1307 query_fw.fw_type = AMDGPU_INFO_FW_GFX_ME; in amdgpu_debugfs_firmware_info() 1315 query_fw.fw_type = AMDGPU_INFO_FW_GFX_PFP; in amdgpu_debugfs_firmware_info() 1323 query_fw.fw_type = AMDGPU_INFO_FW_GFX_CE; in amdgpu_debugfs_firmware_info() 1331 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC; in amdgpu_debugfs_firmware_info() 1339 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_CNTL; in amdgpu_debugfs_firmware_info() 1347 query_fw.fw_type = AMDGPU_INFO_FW_GFX_RLC_RESTORE_LIST_GPM_MEM; in amdgpu_debugfs_firmware_info() [all …]
|
| H A D | psp_gfx_if.h | 246 enum psp_gfx_fw_type fw_type; /* FW type */ member 257 enum psp_gfx_fw_type fw_type; /* FW type */ member
|
| H A D | amdgpu_cgs.c | 112 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()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_common/ |
| H A D | icp_qat_uclo.h | 372 unsigned int fw_type; member 387 char fw_type; member 431 unsigned int fw_type; member 444 char fw_type; member 463 char fw_type; member
|
| H A D | qat_uclo.c | 108 if (suof_hdr->fw_type != 0) { in qat_uclo_check_suof_format() 1001 suof_handle->fw_type = suof_ptr->fw_type; in qat_uclo_map_suof_file_hdr() 1032 suof_img_hdr->fw_type = ae_mode->fw_type; in qat_uclo_map_simg() 1234 length = (css_hdr->fw_type == CSS_AE_FIRMWARE) ? in qat_uclo_map_auth_fw() 1302 if (((struct icp_qat_css_hdr *)(uintptr_t)virt_addr)->fw_type == in qat_uclo_map_auth_fw()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/mtk-vcodec/ |
| H A D | mtk_vcodec_dec_drv.c | 217 enum mtk_vcodec_fw_type fw_type; in mtk_vcodec_probe() local 229 fw_type = VPU; in mtk_vcodec_probe() 232 fw_type = SCP; in mtk_vcodec_probe() 246 dev->fw_handler = mtk_vcodec_fw_select(dev, fw_type, DECODER); in mtk_vcodec_probe()
|
| H A D | mtk_vcodec_enc_drv.c | 267 enum mtk_vcodec_fw_type fw_type; in mtk_vcodec_probe() local 279 fw_type = VPU; in mtk_vcodec_probe() 282 fw_type = SCP; in mtk_vcodec_probe() 296 dev->fw_handler = mtk_vcodec_fw_select(dev, fw_type, ENCODER); in mtk_vcodec_probe()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_config.c | 366 int fw_type, fw_type_new; in dhd_conf_set_fw_name_by_mac() local 389 fw_type = FW_TYPE_APSTA; in dhd_conf_set_fw_name_by_mac() 391 fw_type = FW_TYPE_P2P; in dhd_conf_set_fw_name_by_mac() 393 fw_type = FW_TYPE_MESH; in dhd_conf_set_fw_name_by_mac() 395 fw_type = FW_TYPE_EZMESH; in dhd_conf_set_fw_name_by_mac() 397 fw_type = FW_TYPE_ES; in dhd_conf_set_fw_name_by_mac() 399 fw_type = FW_TYPE_MFG; in dhd_conf_set_fw_name_by_mac() 401 fw_type = FW_TYPE_STA; in dhd_conf_set_fw_name_by_mac() 420 if (fw_type != fw_type_new) { in dhd_conf_set_fw_name_by_mac() 421 CONFIG_MSG("fw_typ=%d != fw_type_new=%d\n", fw_type, fw_type_new); in dhd_conf_set_fw_name_by_mac() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_config.c | 268 int fw_type, fw_type_new; in dhd_conf_set_fw_name_by_mac() local 291 fw_type = FW_TYPE_APSTA; in dhd_conf_set_fw_name_by_mac() 293 fw_type = FW_TYPE_P2P; in dhd_conf_set_fw_name_by_mac() 295 fw_type = FW_TYPE_MESH; in dhd_conf_set_fw_name_by_mac() 297 fw_type = FW_TYPE_ES; in dhd_conf_set_fw_name_by_mac() 299 fw_type = FW_TYPE_MFG; in dhd_conf_set_fw_name_by_mac() 301 fw_type = FW_TYPE_STA; in dhd_conf_set_fw_name_by_mac() 318 if (fw_type != fw_type_new) { in dhd_conf_set_fw_name_by_mac() 319 CONFIG_MSG("fw_typ=%d != fw_type_new=%d\n", fw_type, fw_type_new); in dhd_conf_set_fw_name_by_mac() 416 int fw_type, ag_type; in dhd_conf_set_fw_name_by_chip() local [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_config.c | 454 int fw_type, fw_type_new; in dhd_conf_set_fw_name_by_mac() local 477 fw_type = FW_TYPE_APSTA; in dhd_conf_set_fw_name_by_mac() 479 fw_type = FW_TYPE_P2P; in dhd_conf_set_fw_name_by_mac() 481 fw_type = FW_TYPE_MESH; in dhd_conf_set_fw_name_by_mac() 483 fw_type = FW_TYPE_EZMESH; in dhd_conf_set_fw_name_by_mac() 485 fw_type = FW_TYPE_ES; in dhd_conf_set_fw_name_by_mac() 487 fw_type = FW_TYPE_MFG; in dhd_conf_set_fw_name_by_mac() 489 fw_type = FW_TYPE_STA; in dhd_conf_set_fw_name_by_mac() 508 if (fw_type != fw_type_new) { in dhd_conf_set_fw_name_by_mac() 509 CONFIG_MSG("fw_typ=%d != fw_type_new=%d\n", fw_type, fw_type_new); in dhd_conf_set_fw_name_by_mac() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/ |
| H A D | halbb_ul_tb_ctrl.c | 86 if (phl->fw_info.fw_type != RTW_FW_NIC) { in halbb_ul_tb_ctrl() 87 BB_DBG(bb, DBG_UL_TB_CTRL, "Not STA mode, fw_type = %d\n", phl->fw_info.fw_type); in halbb_ul_tb_ctrl()
|
| /OK3568_Linux_fs/kernel/drivers/firmware/efi/ |
| H A D | esrt.c | 33 u32 fw_type; member 132 esre_attr_decl(fw_type, 32, "%u");
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/ |
| H A D | halbb_ul_tb_ctrl.c | 86 if (phl->fw_info.fw_type != RTW_FW_NIC) { in halbb_ul_tb_ctrl() 87 BB_DBG(bb, DBG_UL_TB_CTRL, "Not STA mode, fw_type = %d\n", phl->fw_info.fw_type); in halbb_ul_tb_ctrl()
|
| /OK3568_Linux_fs/kernel/drivers/misc/mei/ |
| H A D | hw-me.c | 1420 u32 fw_type; in mei_me_fw_type_sps() local 1426 fw_type = (reg & PCI_CFG_HFS_3_FW_SKU_MSK); in mei_me_fw_type_sps() 1428 dev_dbg(&pdev->dev, "fw type is %d\n", fw_type); in mei_me_fw_type_sps() 1430 return fw_type == PCI_CFG_HFS_3_FW_SKU_SPS; in mei_me_fw_type_sps()
|
| /OK3568_Linux_fs/kernel/drivers/net/can/usb/peak_usb/ |
| H A D | pcan_usb_pro.h | 56 __le32 fw_type; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/ |
| H A D | hal_fw.c | 222 hal_status = rtw_hal_mac_enable_fw(hal_info, fw_info->fw_type); in rtw_hal_redownload_fw()
|