Home
last modified time | relevance | path

Searched refs:asic_type (Results 1 – 25 of 92) sorted by relevance

1234

/Linux-v5.4/sound/soc/amd/
Dacp-pcm-dma.c206 u32 asic_type) in set_acp_sysmem_dma_descriptors() argument
218 switch (asic_type) { in set_acp_sysmem_dma_descriptors()
235 switch (asic_type) { in set_acp_sysmem_dma_descriptors()
264 u16 dma_dscr_idx, u32 asic_type) in set_acp_to_i2s_dma_descriptors() argument
332 u32 asic_type) in config_acp_dma() argument
350 rtd->dma_dscr_idx_1, asic_type); in config_acp_dma()
355 rtd->dma_dscr_idx_2, asic_type); in config_acp_dma()
551 static int acp_init(void __iomem *acp_mmio, u32 asic_type) in acp_init() argument
637 if (asic_type != CHIP_STONEY) { in acp_init()
777 switch (intr_data->asic_type) { in acp_dma_open()
[all …]
/Linux-v5.4/drivers/misc/habanalabs/
Dhabanalabs_drv.c60 enum hl_asic_type asic_type; in get_asic_type() local
64 asic_type = ASIC_GOYA; in get_asic_type()
67 asic_type = ASIC_INVALID; in get_asic_type()
71 return asic_type; in get_asic_type()
246 enum hl_asic_type asic_type, int minor) in create_hdev() argument
261 hdev->asic_type = get_asic_type(pdev->device); in create_hdev()
262 if (hdev->asic_type == ASIC_INVALID) { in create_hdev()
268 hdev->asic_type = asic_type; in create_hdev()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Dgmc_v9_0.c666 switch (adev->asic_type) { in gmc_v9_0_set_umc_funcs()
682 switch (adev->asic_type) { in gmc_v9_0_set_mmhub_funcs()
722 switch (adev->asic_type) { in gmc_v9_0_keep_stolen_memory()
908 switch (adev->asic_type) { in gmc_v9_0_late_init()
944 if (adev->asic_type == CHIP_ARCTURUS) in gmc_v9_0_vram_gtt_location()
1023 switch (adev->asic_type) { in gmc_v9_0_mc_init()
1081 switch (adev->asic_type) { in gmc_v9_0_get_vbios_fb_size()
1115 if (adev->asic_type == CHIP_ARCTURUS) in gmc_v9_0_sw_init()
1123 switch (adev->asic_type) { in gmc_v9_0_sw_init()
1170 if (adev->asic_type == CHIP_ARCTURUS) { in gmc_v9_0_sw_init()
[all …]
Dsoc15.c526 switch (adev->asic_type) { in soc15_asic_reset_method()
650 switch (adev->asic_type) { in soc15_set_ip_blocks()
667 if (adev->asic_type == CHIP_VEGA20 || adev->asic_type == CHIP_ARCTURUS) in soc15_set_ip_blocks()
672 else if (adev->asic_type == CHIP_VEGA20 || in soc15_set_ip_blocks()
673 adev->asic_type == CHIP_ARCTURUS) in soc15_set_ip_blocks()
678 if (adev->asic_type == CHIP_VEGA20 || adev->asic_type == CHIP_ARCTURUS) in soc15_set_ip_blocks()
689 switch (adev->asic_type) { in soc15_set_ip_blocks()
699 if (adev->asic_type == CHIP_VEGA20) in soc15_set_ip_blocks()
708 if (adev->asic_type == CHIP_VEGA20) in soc15_set_ip_blocks()
728 if (!(adev->asic_type == CHIP_VEGA20 && amdgpu_sriov_vf(adev))) { in soc15_set_ip_blocks()
[all …]
Dvce_v3_0.c305 if (adev->asic_type >= CHIP_STONEY) in vce_v3_0_start()
342 if (adev->asic_type >= CHIP_STONEY) in vce_v3_0_stop()
368 if ((adev->asic_type == CHIP_FIJI) || in vce_v3_0_get_harvest_config()
369 (adev->asic_type == CHIP_STONEY)) in vce_v3_0_get_harvest_config()
389 if ((adev->asic_type == CHIP_POLARIS10) || in vce_v3_0_get_harvest_config()
390 (adev->asic_type == CHIP_POLARIS11) || in vce_v3_0_get_harvest_config()
391 (adev->asic_type == CHIP_POLARIS12) || in vce_v3_0_get_harvest_config()
392 (adev->asic_type == CHIP_VEGAM)) in vce_v3_0_get_harvest_config()
540 if (adev->asic_type >= CHIP_STONEY) { in vce_v3_0_mc_resume()
947 if (adev->asic_type >= CHIP_STONEY) { in vce_v3_0_set_ring_funcs()
Dmmhub_v1_0.c103 if (adev->asic_type == CHIP_RAVEN && adev->rev_id >= 0x8) in mmhub_v1_0_init_system_aperture_regs()
441 if (adev->asic_type != CHIP_RAVEN) { in mmhub_v1_0_update_medium_grain_clock_gating()
457 if (adev->asic_type != CHIP_RAVEN) in mmhub_v1_0_update_medium_grain_clock_gating()
474 if (adev->asic_type != CHIP_RAVEN) in mmhub_v1_0_update_medium_grain_clock_gating()
487 if (adev->asic_type != CHIP_RAVEN) in mmhub_v1_0_update_medium_grain_clock_gating()
493 if (adev->asic_type != CHIP_RAVEN && def2 != data2) in mmhub_v1_0_update_medium_grain_clock_gating()
519 switch (adev->asic_type) { in mmhub_v1_0_set_clockgating()
Damdgpu_device.c245 if (adev->asic_type >= CHIP_VEGA10 && reg == 0) { in amdgpu_mm_wreg()
263 if (adev->asic_type >= CHIP_VEGA10 && reg == 1 && adev->last_mm_index == 0x5702C) { in amdgpu_mm_wreg()
297 if (adev->asic_type >= CHIP_VEGA10 && reg == 0) { in amdgpu_io_wreg()
308 if (adev->asic_type >= CHIP_VEGA10 && reg == 1 && adev->last_mm_index == 0x5702C) { in amdgpu_io_wreg()
593 if (adev->asic_type < CHIP_BONAIRE) { in amdgpu_device_doorbell_init()
621 if (adev->asic_type >= CHIP_VEGA10) in amdgpu_device_doorbell_init()
788 if (adev->asic_type >= CHIP_BONAIRE) in amdgpu_device_resize_fb_bar()
838 if (adev->asic_type == CHIP_FIJI) { in amdgpu_device_need_post()
858 if (adev->asic_type >= CHIP_BONAIRE) in amdgpu_device_need_post()
1388 switch (adev->asic_type) { in amdgpu_device_parse_gpu_info_fw()
[all …]
Dsdma_v4_0.c338 switch (adev->asic_type) { in sdma_v4_0_init_golden_registers()
423 if (adev->asic_type == CHIP_ARCTURUS) in sdma_v4_0_destroy_inst_ctx()
453 switch (adev->asic_type) { in sdma_v4_0_init_microcode()
492 if (adev->asic_type == CHIP_ARCTURUS) { in sdma_v4_0_init_microcode()
1208 switch (adev->asic_type) { in sdma_v4_0_init_pg()
1648 switch (adev->asic_type) { in sdma_v4_0_fw_support_paging_queue()
1666 if (adev->asic_type == CHIP_RAVEN || adev->asic_type == CHIP_RENOIR) in sdma_v4_0_early_init()
1668 else if (adev->asic_type == CHIP_ARCTURUS) in sdma_v4_0_early_init()
1680 if ((adev->asic_type == CHIP_VEGA10) && amdgpu_sriov_vf((adev))) in sdma_v4_0_early_init()
1893 if ((adev->asic_type == CHIP_RAVEN && adev->powerplay.pp_funcs && in sdma_v4_0_hw_init()
[all …]
Damdgpu_acp.c251 switch (adev->asic_type) { in acp_hw_init()
263 switch (adev->asic_type) { in acp_hw_init()
280 switch (adev->asic_type) { in acp_hw_init()
321 adev->acp.acp_cell[0].platform_data = &adev->asic_type; in acp_hw_init()
322 adev->acp.acp_cell[0].pdata_size = sizeof(adev->asic_type); in acp_hw_init()
Damdgpu_uvd.c133 switch (adev->asic_type) { in amdgpu_uvd_sw_init()
210 if (adev->asic_type < CHIP_VEGA20) { in amdgpu_uvd_sw_init()
231 if ((adev->asic_type == CHIP_POLARIS10 || in amdgpu_uvd_sw_init()
232 adev->asic_type == CHIP_POLARIS11) && in amdgpu_uvd_sw_init()
276 switch (adev->asic_type) { in amdgpu_uvd_sw_init()
290 adev->uvd.use_ctx_buf = adev->asic_type >= CHIP_POLARIS10; in amdgpu_uvd_sw_init()
353 if (adev->asic_type < CHIP_POLARIS10) { in amdgpu_uvd_suspend()
1050 if (adev->asic_type >= CHIP_VEGA10) { in amdgpu_uvd_send_msg()
Dgmc_v8_0.c131 switch (adev->asic_type) { in gmc_v8_0_init_golden_registers()
228 switch (adev->asic_type) { in gmc_v8_0_init_microcode()
599 switch (adev->asic_type) { in gmc_v8_0_mc_init()
1091 if ((adev->asic_type == CHIP_FIJI) || in gmc_v8_0_sw_init()
1092 (adev->asic_type == CHIP_VEGAM)) in gmc_v8_0_sw_init()
1201 if (adev->asic_type == CHIP_TONGA) { in gmc_v8_0_hw_init()
1207 } else if (adev->asic_type == CHIP_POLARIS11 || in gmc_v8_0_hw_init()
1208 adev->asic_type == CHIP_POLARIS10 || in gmc_v8_0_hw_init()
1209 adev->asic_type == CHIP_POLARIS12) { in gmc_v8_0_hw_init()
1651 switch (adev->asic_type) { in gmc_v8_0_set_clockgating_state()
Dsi.c1444 switch (adev->asic_type) { in si_common_early_init()
1564 switch (adev->asic_type) { in si_init_golden_registers()
1891 if ((adev->asic_type != CHIP_OLAND) && (adev->asic_type != CHIP_HAINAN)) { in si_program_aspm()
1940 if ((adev->asic_type == CHIP_OLAND) || (adev->asic_type == CHIP_HAINAN)) in si_program_aspm()
1947 if ((adev->asic_type == CHIP_OLAND) || (adev->asic_type == CHIP_HAINAN)) in si_program_aspm()
2128 switch (adev->asic_type) { in si_set_ip_blocks()
Dgfx_v8_0.c734 switch (adev->asic_type) { in gfx_v8_0_init_golden_registers()
941 if ((adev->asic_type != CHIP_STONEY) && in gfx_v8_0_free_microcode()
942 (adev->asic_type != CHIP_TOPAZ)) in gfx_v8_0_free_microcode()
962 switch (adev->asic_type) { in gfx_v8_0_init_microcode()
994 if (adev->asic_type >= CHIP_POLARIS10 && adev->asic_type <= CHIP_POLARIS12) { in gfx_v8_0_init_microcode()
1014 if (adev->asic_type >= CHIP_POLARIS10 && adev->asic_type <= CHIP_POLARIS12) { in gfx_v8_0_init_microcode()
1035 if (adev->asic_type >= CHIP_POLARIS10 && adev->asic_type <= CHIP_POLARIS12) { in gfx_v8_0_init_microcode()
1115 if (adev->asic_type >= CHIP_POLARIS10 && adev->asic_type <= CHIP_POLARIS12) { in gfx_v8_0_init_microcode()
1135 if ((adev->asic_type != CHIP_STONEY) && in gfx_v8_0_init_microcode()
1136 (adev->asic_type != CHIP_TOPAZ)) { in gfx_v8_0_init_microcode()
[all …]
Damdgpu_ras_eeprom.c120 switch (adev->asic_type) { in amdgpu_ras_eeprom_init()
172 switch (adev->asic_type) { in amdgpu_ras_eeprom_fini()
349 if (adev->asic_type != CHIP_VEGA20) in amdgpu_ras_eeprom_process_recods()
Dkv_dpm.c774 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) in kv_unforce_levels()
1381 if (adev->asic_type == CHIP_MULLINS) in kv_dpm_disable()
1755 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) in kv_dpm_powergate_acp()
1936 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) { in kv_dpm_set_power_state()
1962 if (adev->asic_type == CHIP_MULLINS) in kv_dpm_set_power_state()
2016 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) {
2121 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) in kv_force_dpm_highest()
2141 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) in kv_force_dpm_lowest()
2297 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) { in kv_apply_state_adjust_rules()
2358 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) { in kv_calculate_nbps_level_settings()
[all …]
Damdgpu_gfx.c188 if (adev->asic_type == CHIP_POLARIS11) in amdgpu_gfx_is_multipipe_capable()
392 if (adev->asic_type >= CHIP_NAVI10 && amdgpu_async_gfx_ring) { in amdgpu_gfx_mqd_sw_init()
440 if (adev->asic_type >= CHIP_NAVI10 && amdgpu_async_gfx_ring) { in amdgpu_gfx_mqd_sw_fini()
459 if (adev->asic_type >= CHIP_NAVI10 && amdgpu_async_gfx_ring) in amdgpu_gfx_mqd_sw_fini()
Dathub_v2_0.c75 switch (adev->asic_type) { in athub_v2_0_set_clockgating()
Dathub_v1_0.c71 switch (adev->asic_type) { in athub_v1_0_set_clockgating()
Ddf_v3_6.c443 switch (adev->asic_type) { in df_v3_6_pmc_start()
479 switch (adev->asic_type) { in df_v3_6_pmc_stop()
511 switch (adev->asic_type) { in df_v3_6_pmc_get_count()
Dgfx_v9_0.c742 switch (adev->asic_type) { in gfx_v9_0_init_golden_registers()
793 if (adev->asic_type != CHIP_ARCTURUS) in gfx_v9_0_init_golden_registers()
983 switch (adev->asic_type) { in gfx_v9_0_check_fw_write_wait()
1035 switch (adev->asic_type) { in gfx_v9_0_check_if_need_gfxoff()
1345 if (adev->asic_type != CHIP_ARCTURUS) { in gfx_v9_0_init_cp_compute_microcode()
1378 switch (adev->asic_type) { in gfx_v9_0_init_microcode()
1407 if (adev->asic_type != CHIP_ARCTURUS) { in gfx_v9_0_init_microcode()
1503 else if (adev->asic_type == CHIP_VEGA12) in gfx_v9_0_init_always_on_cu_mask()
1661 if (adev->asic_type == CHIP_RAVEN || adev->asic_type == CHIP_RENOIR) { in gfx_v9_0_rlc_init()
1669 switch (adev->asic_type) { in gfx_v9_0_rlc_init()
[all …]
Damdgpu_ids.c370 if (needs_flush && (adev->asic_type < CHIP_VEGA10 || in amdgpu_vmid_grab_used()
371 adev->asic_type == CHIP_NAVI10 || in amdgpu_vmid_grab_used()
372 adev->asic_type == CHIP_NAVI14)) in amdgpu_vmid_grab_used()
Ddce_v11_0.c161 switch (adev->asic_type) { in dce_v11_0_init_golden_registers()
479 switch (adev->asic_type) { in dce_v11_0_get_num_crtc()
1454 switch (adev->asic_type) { in dce_v11_0_audio_init()
2272 if ((adev->asic_type == CHIP_POLARIS10) || in dce_v11_0_pick_pll()
2273 (adev->asic_type == CHIP_POLARIS11) || in dce_v11_0_pick_pll()
2274 (adev->asic_type == CHIP_POLARIS12) || in dce_v11_0_pick_pll()
2275 (adev->asic_type == CHIP_VEGAM)) { in dce_v11_0_pick_pll()
2327 if (adev->asic_type == CHIP_CARRIZO || adev->asic_type == CHIP_STONEY) { in dce_v11_0_pick_pll()
2692 if ((adev->asic_type == CHIP_POLARIS10) || in dce_v11_0_crtc_mode_set()
2693 (adev->asic_type == CHIP_POLARIS11) || in dce_v11_0_crtc_mode_set()
[all …]
Damdgpu_pm.c2398 adev->asic_type < CHIP_VEGA10) && in hwmon_attributes_visible()
2676 if (adev->asic_type == CHIP_STONEY && in amdgpu_dpm_enable_uvd()
2833 if (adev->asic_type >= CHIP_VEGA10) { in amdgpu_pm_sysfs_init()
2839 if (adev->asic_type != CHIP_ARCTURUS) { in amdgpu_pm_sysfs_init()
2847 if (adev->asic_type >= CHIP_VEGA20) { in amdgpu_pm_sysfs_init()
2854 if (adev->asic_type != CHIP_ARCTURUS) { in amdgpu_pm_sysfs_init()
2897 (adev->asic_type != CHIP_VEGA10)) { in amdgpu_pm_sysfs_init()
2926 if ((adev->asic_type >= CHIP_VEGA10) && in amdgpu_pm_sysfs_init()
2961 if (adev->asic_type >= CHIP_VEGA10) { in amdgpu_pm_sysfs_fini()
2963 if (adev->asic_type != CHIP_ARCTURUS) in amdgpu_pm_sysfs_fini()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/
Damdgpu_smu.c476 if (adev->asic_type == CHIP_VEGA20) in is_support_sw_smu()
478 else if (adev->asic_type >= CHIP_ARCTURUS) in is_support_sw_smu()
489 if (adev->asic_type == CHIP_VEGA20) in is_support_sw_smu_xgmi()
710 switch (adev->asic_type) { in smu_set_funcs()
1032 if (adev->asic_type != CHIP_ARCTURUS) { in smu_smc_table_hw_init()
1108 if (adev->asic_type != CHIP_ARCTURUS) { in smu_smc_table_hw_init()
1236 if (adev->asic_type < CHIP_NAVI10) { in smu_hw_init()
1363 if (adev->asic_type >= CHIP_NAVI10 && in smu_suspend()
/Linux-v5.4/drivers/net/ethernet/pensando/ionic/
Dionic_devlink.c30 snprintf(buf, sizeof(buf), "0x%x", idev->dev_info.asic_type); in ionic_dl_info_get()

1234