/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | vce_v4_0.c | 249 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_sriov_start() 287 offset = (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) ? offset + size : 0; in vce_v4_0_sriov_start() 438 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) in vce_v4_0_sw_init() 445 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_sw_init() 509 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_sw_fini() 570 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_suspend() 617 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_resume() 653 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vce_v4_0_mc_resume() 674 offset = (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) ? offset + size : 0; in vce_v4_0_mc_resume()
|
H A D | amdgpu_sdma.c | 243 adev->firmware.load_type == AMDGPU_FW_LOAD_PSP ? "true" : "false"); in amdgpu_sdma_init_microcode() 245 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in amdgpu_sdma_init_microcode() 255 adev->firmware.load_type == AMDGPU_FW_LOAD_PSP && in amdgpu_sdma_init_microcode()
|
H A D | amdgpu_rlc.c | 331 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in amdgpu_gfx_rlc_init_microcode_v2_0() 366 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in amdgpu_gfx_rlc_init_microcode_v2_1() 404 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in amdgpu_gfx_rlc_init_microcode_v2_2() 439 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in amdgpu_gfx_rlc_init_microcode_v2_3() 475 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in amdgpu_gfx_rlc_init_microcode_v2_4()
|
H A D | amdgpu_ucode.c | 521 amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type) in amdgpu_ucode_get_load_type() argument 551 if (!(load_type && in amdgpu_ucode_get_load_type() 557 if (!load_type) in amdgpu_ucode_get_load_type() 772 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in amdgpu_ucode_init_single_fw() 996 if (adev->firmware.load_type != AMDGPU_FW_LOAD_DIRECT) { in amdgpu_ucode_create_bo() 1032 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in amdgpu_ucode_init_bo() 1047 adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in amdgpu_ucode_init_bo()
|
H A D | ih_v6_1.c | 308 if (unlikely((adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) || in ih_v6_1_irq_init() 309 (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO))) { in ih_v6_1_irq_init() 545 (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) ? false : true; in ih_v6_1_sw_init()
|
H A D | ih_v6_0.c | 336 if (unlikely((adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) || in ih_v6_0_irq_init() 337 (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO))) { in ih_v6_0_irq_init() 572 (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) ? false : true; in ih_v6_0_sw_init()
|
H A D | amdgpu_ucode.h | 523 enum amdgpu_firmware_load_type load_type; member 560 amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type);
|
H A D | navi10_ih.c | 331 if (unlikely(adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT)) { in navi10_ih_irq_init() 570 (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) in navi10_ih_sw_init()
|
H A D | amdgpu_vcn.c | 116 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && in amdgpu_vcn_sw_init() 173 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) in amdgpu_vcn_sw_init() 344 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in amdgpu_vcn_resume() 1036 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in amdgpu_vcn_setup_ucode()
|
H A D | mes_v10_1.c | 1025 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in mes_v10_1_kiq_hw_init() 1060 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in mes_v10_1_hw_init() 1111 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in mes_v10_1_hw_fini()
|
H A D | gfx_v11_0.c | 565 if (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO) in gfx_v11_0_init_microcode() 1454 if (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO) { in gfx_v11_0_sw_init() 1523 if (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO) in gfx_v11_0_sw_fini() 1985 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in gfx_v11_0_rlc_resume() 2004 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in gfx_v11_0_rlc_resume() 4109 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in gfx_v11_0_cp_resume() 4278 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in gfx_v11_0_hw_init() 4294 (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) { in gfx_v11_0_hw_init() 4307 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP && in gfx_v11_0_hw_init() 4318 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) || in gfx_v11_0_hw_init() [all …]
|
H A D | mes_v11_0.c | 1096 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in mes_v11_0_sw_fini() 1168 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in mes_v11_0_kiq_hw_init() 1222 if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT) { in mes_v11_0_hw_init()
|
H A D | amdgpu_cgs.c | 424 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in amdgpu_cgs_get_firmware_info()
|
H A D | imu_v11_0.c | 60 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in imu_v11_0_init_microcode()
|
H A D | vcn_v4_0_3.c | 340 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v4_0_3_mc_resume() 414 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v4_0_3_mc_resume_dpg_mode() 899 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v4_0_3_start_sriov()
|
H A D | amdgpu_uvd.c | 319 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) in amdgpu_uvd_sw_init() 497 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in amdgpu_uvd_resume()
|
H A D | amdgpu_discovery.c | 2592 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) { in amdgpu_discovery_set_ip_blocks() 2599 if (likely(adev->firmware.load_type == AMDGPU_FW_LOAD_PSP)) { in amdgpu_discovery_set_ip_blocks() 2617 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT && in amdgpu_discovery_set_ip_blocks() 2619 (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO && amdgpu_dpm == 1)) { in amdgpu_discovery_set_ip_blocks()
|
H A D | uvd_v7_0.c | 425 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in uvd_v7_0_sw_init() 679 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in uvd_v7_0_mc_resume() 823 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in uvd_v7_0_sriov_start()
|
H A D | vcn_v2_0.c | 340 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v2_0_mc_resume() 393 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v2_0_mc_resume_dpg_mode() 1888 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v2_0_start_sriov()
|
H A D | vcn_v4_0.c | 384 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v4_0_mc_resume() 444 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v4_0_mc_resume_dpg_mode() 1270 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) { in vcn_v4_0_start_sriov()
|
H A D | sdma_v4_4_2.c | 582 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) in sdma_v4_4_2_inst_enable() 875 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP && in sdma_v4_4_2_inst_start() 906 if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) { in sdma_v4_4_2_inst_start()
|
/openbmc/linux/drivers/misc/bcm-vk/ |
H A D | bcm_vk_dev.c | 544 static int bcm_vk_load_image_by_type(struct bcm_vk *vk, u32 load_type, in bcm_vk_load_image_by_type() argument 558 if (load_type == VK_IMAGE_TYPE_BOOT1) { in bcm_vk_load_image_by_type() 590 } else if (load_type == VK_IMAGE_TYPE_BOOT2) { in bcm_vk_load_image_by_type() 615 dev_err(dev, "Error invalid image type 0x%x\n", load_type); in bcm_vk_load_image_by_type() 629 if (load_type == VK_IMAGE_TYPE_BOOT1) in bcm_vk_load_image_by_type() 637 if (load_type == VK_IMAGE_TYPE_BOOT1) { in bcm_vk_load_image_by_type() 669 } else if (load_type == VK_IMAGE_TYPE_BOOT2) { in bcm_vk_load_image_by_type() 784 u32 load_type = 0; /* default for unknown */ in bcm_vk_next_boot_image() local 790 load_type = VK_IMAGE_TYPE_BOOT1; in bcm_vk_next_boot_image() 792 load_type = VK_IMAGE_TYPE_BOOT2; in bcm_vk_next_boot_image() [all …]
|
/openbmc/linux/sound/soc/intel/skylake/ |
H A D | skl-sst-utils.c | 43 u32 load_type : 4; member 296 module->is_loadable = mod_entry->type.load_type; in snd_skl_parse_uuids()
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | messages.h | 487 u32 load_type:4; member 540 return mentry->type.load_type == AVS_MODULE_LOAD_TYPE_BUILTIN || in avs_module_entry_is_loaded()
|
H A D | dsp.c | 289 if (!ret && mentry.type.load_type == AVS_MODULE_LOAD_TYPE_LOADABLE) { in avs_dsp_delete_module()
|