/Linux-v4.19/sound/soc/amd/ |
D | acp-pcm-dma.c | 214 u32 asic_type) in set_acp_sysmem_dma_descriptors() argument 226 switch (asic_type) { in set_acp_sysmem_dma_descriptors() 243 switch (asic_type) { in set_acp_sysmem_dma_descriptors() 272 u16 dma_dscr_idx, u32 asic_type) in set_acp_to_i2s_dma_descriptors() argument 342 u32 asic_type) in config_acp_dma() argument 360 rtd->dma_dscr_idx_1, asic_type); in config_acp_dma() 365 rtd->dma_dscr_idx_2, asic_type); in config_acp_dma() 561 static int acp_init(void __iomem *acp_mmio, u32 asic_type) in acp_init() argument 647 if (asic_type != CHIP_STONEY) { in acp_init() 787 switch (intr_data->asic_type) { in acp_dma_open() [all …]
|
D | acp.h | 153 u32 asic_type; member
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | vce_v3_0.c | 306 if (adev->asic_type >= CHIP_STONEY) in vce_v3_0_start() 343 if (adev->asic_type >= CHIP_STONEY) in vce_v3_0_stop() 369 if ((adev->asic_type == CHIP_FIJI) || in vce_v3_0_get_harvest_config() 370 (adev->asic_type == CHIP_STONEY)) in vce_v3_0_get_harvest_config() 390 if ((adev->asic_type == CHIP_POLARIS10) || in vce_v3_0_get_harvest_config() 391 (adev->asic_type == CHIP_POLARIS11) || in vce_v3_0_get_harvest_config() 392 (adev->asic_type == CHIP_POLARIS12) || in vce_v3_0_get_harvest_config() 393 (adev->asic_type == CHIP_VEGAM)) in vce_v3_0_get_harvest_config() 546 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()
|
D | amdgpu_acp.c | 302 if (adev->asic_type != CHIP_STONEY) { in acp_hw_init() 336 switch (adev->asic_type) { in acp_hw_init() 348 switch (adev->asic_type) { in acp_hw_init() 365 switch (adev->asic_type) { in acp_hw_init() 406 adev->acp.acp_cell[0].platform_data = &adev->asic_type; in acp_hw_init() 407 adev->acp.acp_cell[0].pdata_size = sizeof(adev->asic_type); in acp_hw_init() 432 if (adev->asic_type != CHIP_STONEY) { in acp_hw_init()
|
D | nbio_v7_0.c | 45 if (adev->asic_type == CHIP_VEGA20) in nbio_v7_0_get_rev_id() 89 if (adev->asic_type == CHIP_VEGA20) in nbio_v7_0_sdma_doorbell_range() 149 if (adev->asic_type == CHIP_VEGA20) in nbio_v7_0_update_medium_grain_clock_gating()
|
D | amdgpu_device.c | 205 if (adev->asic_type >= CHIP_VEGA10 && reg == 0) { in amdgpu_mm_wreg() 223 if (adev->asic_type >= CHIP_VEGA10 && reg == 1 && adev->last_mm_index == 0x5702C) { in amdgpu_mm_wreg() 257 if (adev->asic_type >= CHIP_VEGA10 && reg == 0) { in amdgpu_io_wreg() 268 if (adev->asic_type >= CHIP_VEGA10 && reg == 1 && adev->last_mm_index == 0x5702C) { in amdgpu_io_wreg() 515 if (adev->asic_type < CHIP_BONAIRE) { in amdgpu_device_doorbell_init() 764 if (adev->asic_type >= CHIP_BONAIRE) in amdgpu_device_resize_fb_bar() 814 if (adev->asic_type == CHIP_FIJI) { in amdgpu_device_need_post() 834 if (adev->asic_type >= CHIP_BONAIRE) in amdgpu_device_need_post() 1366 switch (adev->asic_type) { in amdgpu_device_parse_gpu_info_fw() 1476 switch (adev->asic_type) { in amdgpu_device_ip_early_init() [all …]
|
D | mmhub_v1_0.c | 623 if (adev->asic_type != CHIP_RAVEN) { in mmhub_v1_0_update_medium_grain_clock_gating() 639 if (adev->asic_type != CHIP_RAVEN) in mmhub_v1_0_update_medium_grain_clock_gating() 656 if (adev->asic_type != CHIP_RAVEN) in mmhub_v1_0_update_medium_grain_clock_gating() 669 if (adev->asic_type != CHIP_RAVEN) in mmhub_v1_0_update_medium_grain_clock_gating() 675 if (adev->asic_type != CHIP_RAVEN && def2 != data2) in mmhub_v1_0_update_medium_grain_clock_gating() 734 switch (adev->asic_type) { in mmhub_v1_0_set_clockgating()
|
D | soc15.c | 485 switch (adev->asic_type) { in soc15_set_ip_blocks() 500 else if (adev->asic_type == CHIP_VEGA20) in soc15_set_ip_blocks() 505 if (adev->asic_type == CHIP_VEGA20) in soc15_set_ip_blocks() 514 switch (adev->asic_type) { in soc15_set_ip_blocks() 521 if (adev->asic_type != CHIP_VEGA20) { in soc15_set_ip_blocks() 627 switch (adev->asic_type) { in soc15_common_early_init() 906 switch (adev->asic_type) { in soc15_common_set_clockgating_state()
|
D | amdgpu_uvd.c | 133 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() 1048 if (adev->asic_type >= CHIP_VEGA10) { in amdgpu_uvd_send_msg()
|
D | gmc_v9_0.c | 679 if (adev->asic_type == CHIP_VEGA10 && !amdgpu_sriov_vf(adev)) { in gmc_v9_0_late_init() 760 switch (adev->asic_type) { in gmc_v9_0_mc_init() 817 switch (adev->asic_type) { in gmc_v9_0_get_vbios_fb_size() 856 switch (adev->asic_type) { in gmc_v9_0_sw_init() 973 switch (adev->asic_type) { in gmc_v9_0_init_golden_registers() 1018 switch (adev->asic_type) { in gmc_v9_0_gart_enable()
|
D | gmc_v8_0.c | 124 switch (adev->asic_type) { in gmc_v8_0_init_golden_registers() 221 switch (adev->asic_type) { in gmc_v8_0_init_microcode() 573 switch (adev->asic_type) { in gmc_v8_0_mc_init() 1084 if ((adev->asic_type == CHIP_FIJI) || in gmc_v8_0_sw_init() 1085 (adev->asic_type == CHIP_VEGAM)) in gmc_v8_0_sw_init() 1207 if (adev->asic_type == CHIP_TONGA) { in gmc_v8_0_hw_init() 1213 } else if (adev->asic_type == CHIP_POLARIS11 || in gmc_v8_0_hw_init() 1214 adev->asic_type == CHIP_POLARIS10 || in gmc_v8_0_hw_init() 1215 adev->asic_type == CHIP_POLARIS12) { in gmc_v8_0_hw_init() 1656 switch (adev->asic_type) { in gmc_v8_0_set_clockgating_state()
|
D | gfx_v8_0.c | 731 switch (adev->asic_type) { in gfx_v8_0_init_golden_registers() 953 if ((adev->asic_type != CHIP_STONEY) && in gfx_v8_0_free_microcode() 954 (adev->asic_type != CHIP_TOPAZ)) in gfx_v8_0_free_microcode() 974 switch (adev->asic_type) { in gfx_v8_0_init_microcode() 1006 if (adev->asic_type >= CHIP_POLARIS10 && adev->asic_type <= CHIP_POLARIS12) { in gfx_v8_0_init_microcode() 1026 if (adev->asic_type >= CHIP_POLARIS10 && adev->asic_type <= CHIP_POLARIS12) { in gfx_v8_0_init_microcode() 1047 if (adev->asic_type >= CHIP_POLARIS10 && adev->asic_type <= CHIP_POLARIS12) { in gfx_v8_0_init_microcode() 1127 if (adev->asic_type >= CHIP_POLARIS10 && adev->asic_type <= CHIP_POLARIS12) { in gfx_v8_0_init_microcode() 1147 if ((adev->asic_type != CHIP_STONEY) && in gfx_v8_0_init_microcode() 1148 (adev->asic_type != CHIP_TOPAZ)) { in gfx_v8_0_init_microcode() [all …]
|
D | kv_dpm.c | 775 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) in kv_unforce_levels() 1382 if (adev->asic_type == CHIP_MULLINS) in kv_dpm_disable() 1756 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) in kv_dpm_powergate_acp() 1937 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) { in kv_dpm_set_power_state() 1963 if (adev->asic_type == CHIP_MULLINS) in kv_dpm_set_power_state() 2017 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) { 2122 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) in kv_force_dpm_highest() 2142 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) in kv_force_dpm_lowest() 2298 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) { in kv_apply_state_adjust_rules() 2359 if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) { in kv_calculate_nbps_level_settings() [all …]
|
D | vi.c | 282 switch (adev->asic_type) { in vi_init_golden_registers() 454 if (adev->asic_type == CHIP_TONGA || in vi_detect_hw_virtualization() 455 adev->asic_type == CHIP_FIJI) { in vi_detect_hw_virtualization() 925 switch (adev->asic_type) { in vi_need_full_reset() 987 switch (adev->asic_type) { in vi_common_early_init() 1489 switch (adev->asic_type) { in vi_common_set_clockgating_state() 1593 switch (adev->asic_type) { in vi_set_ip_blocks()
|
D | dce_v11_0.c | 157 switch (adev->asic_type) { in dce_v11_0_init_golden_registers() 471 switch (adev->asic_type) { in dce_v11_0_get_num_crtc() 1446 switch (adev->asic_type) { in dce_v11_0_audio_init() 2253 if ((adev->asic_type == CHIP_POLARIS10) || in dce_v11_0_pick_pll() 2254 (adev->asic_type == CHIP_POLARIS11) || in dce_v11_0_pick_pll() 2255 (adev->asic_type == CHIP_POLARIS12) || in dce_v11_0_pick_pll() 2256 (adev->asic_type == CHIP_VEGAM)) { in dce_v11_0_pick_pll() 2308 if (adev->asic_type == CHIP_CARRIZO || adev->asic_type == CHIP_STONEY) { in dce_v11_0_pick_pll() 2673 if ((adev->asic_type == CHIP_POLARIS10) || in dce_v11_0_crtc_mode_set() 2674 (adev->asic_type == CHIP_POLARIS11) || in dce_v11_0_crtc_mode_set() [all …]
|
D | dce_v8_0.c | 388 switch (adev->asic_type) { in dce_v8_0_get_num_crtc() 1373 if (adev->asic_type == CHIP_KAVERI) /* KV: 4 streams, 7 endpoints */ in dce_v8_0_audio_init() 1375 else if ((adev->asic_type == CHIP_KABINI) || in dce_v8_0_audio_init() 1376 (adev->asic_type == CHIP_MULLINS)) /* KB/ML: 2 streams, 3 endpoints */ in dce_v8_0_audio_init() 1378 else if ((adev->asic_type == CHIP_BONAIRE) || in dce_v8_0_audio_init() 1379 (adev->asic_type == CHIP_HAWAII))/* BN/HW: 6 streams, 7 endpoints */ in dce_v8_0_audio_init() 2128 if ((adev->asic_type == CHIP_KABINI) || in dce_v8_0_pick_pll() 2129 (adev->asic_type == CHIP_MULLINS)) { in dce_v8_0_pick_pll() 2465 if ((adev->asic_type == CHIP_KAVERI) || in dce_v8_0_crtc_disable() 2466 (adev->asic_type == CHIP_BONAIRE) || in dce_v8_0_crtc_disable() [all …]
|
D | amdgpu_display.c | 497 if (adev->asic_type >= CHIP_CARRIZO && adev->asic_type < CHIP_RAVEN && in amdgpu_display_supported_domains() 499 amdgpu_device_asic_has_dc_support(adev->asic_type)) in amdgpu_display_supported_domains()
|
D | amdgpu_cgs.c | 141 if (adev->asic_type >= CHIP_TOPAZ) in fw_type_convert() 250 switch (adev->asic_type) { in amdgpu_cgs_get_firmware_info()
|
D | atombios_crtc.c | 501 if (adev->asic_type == CHIP_TAHITI || in amdgpu_atombios_crtc_set_disp_eng_pll() 502 adev->asic_type == CHIP_PITCAIRN || in amdgpu_atombios_crtc_set_disp_eng_pll() 503 adev->asic_type == CHIP_VERDE || in amdgpu_atombios_crtc_set_disp_eng_pll() 504 adev->asic_type == CHIP_OLAND) in amdgpu_atombios_crtc_set_disp_eng_pll()
|
D | amdgpu_amdkfd.c | 87 switch (adev->asic_type) { in amdgpu_amdkfd_device_probe() 188 if (adev->asic_type >= CHIP_VEGA10) { in amdgpu_amdkfd_device_init()
|
D | amdgpu_kms.c | 718 if (adev->asic_type < CHIP_POLARIS10) { in amdgpu_info_ioctl() 944 if (adev->asic_type != CHIP_RAVEN) { in amdgpu_driver_postclose_kms() 1211 if (adev->asic_type == CHIP_KAVERI || in amdgpu_debugfs_firmware_info() 1212 (adev->asic_type > CHIP_TOPAZ && adev->asic_type != CHIP_STONEY)) { in amdgpu_debugfs_firmware_info()
|
D | sdma_v4_0.c | 155 switch (adev->asic_type) { in sdma_v4_0_init_golden_registers() 213 switch (adev->asic_type) { in sdma_v4_0_init_microcode() 804 switch (adev->asic_type) { in sdma_v4_0_init_pg() 1213 if (adev->asic_type == CHIP_RAVEN) in sdma_v4_0_early_init() 1551 switch (adev->asic_type) { in sdma_v4_0_set_clockgating_state() 1572 switch (adev->asic_type) { in sdma_v4_0_set_powergating_state()
|
D | cik.c | 755 switch (adev->asic_type) { in cik_init_golden_registers() 1777 switch (adev->asic_type) { in cik_common_early_init() 1881 if (adev->asic_type == CHIP_KABINI) { in cik_common_early_init() 2000 switch (adev->asic_type) { in cik_set_ip_blocks()
|
/Linux-v4.19/drivers/pci/hotplug/ |
D | sgi_hotplug.c | 132 u32 asic_type; in sn_pci_bus_valid() local 137 asic_type = pcibus_info->pbi_buscommon.bs_asic_type; in sn_pci_bus_valid() 138 if (asic_type == PCIIO_ASIC_TYPE_TIOCA) in sn_pci_bus_valid()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 440 adev->asic_type >= CHIP_CARRIZO && in amdgpu_dm_init() 441 adev->asic_type < CHIP_RAVEN) in amdgpu_dm_init() 1238 if (adev->asic_type == CHIP_VEGA10 || in dce110_register_irq_handlers() 1239 adev->asic_type == CHIP_VEGA12 || in dce110_register_irq_handlers() 1240 adev->asic_type == CHIP_VEGA20 || in dce110_register_irq_handlers() 1241 adev->asic_type == CHIP_RAVEN) in dce110_register_irq_handlers() 1640 switch (adev->asic_type) { in amdgpu_dm_initialize_drm_device() 1671 DRM_ERROR("Unsupported ASIC type: 0x%X\n", adev->asic_type); in amdgpu_dm_initialize_drm_device() 1675 if (adev->asic_type != CHIP_CARRIZO && adev->asic_type != CHIP_STONEY) in amdgpu_dm_initialize_drm_device() 1784 switch (adev->asic_type) { in dm_early_init() [all …]
|