asic_type 784 drivers/gpu/drm/amd/amdgpu/amdgpu.h enum amd_asic_type asic_type; asic_type 1046 drivers/gpu/drm/amd/amdgpu/amdgpu.h bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type); asic_type 251 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c switch (adev->asic_type) { asic_type 263 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c switch (adev->asic_type) { asic_type 280 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c switch (adev->asic_type) { asic_type 321 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c adev->acp.acp_cell[0].platform_data = &adev->asic_type; asic_type 322 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c adev->acp.acp_cell[0].pdata_size = sizeof(adev->asic_type); asic_type 68 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c switch (adev->asic_type) { asic_type 198 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c if (adev->asic_type >= CHIP_VEGA10) { asic_type 325 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c if (get_amdgpu_device(kgd)->asic_type != CHIP_TONGA) { asic_type 680 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c adev->asic_type == CHIP_VEGA20) asic_type 804 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c if (adev->asic_type == CHIP_ARCTURUS) { asic_type 1065 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c if (adev->asic_type < CHIP_VEGA10) asic_type 1140 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c adev->asic_type != CHIP_FIJI && asic_type 1141 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c adev->asic_type != CHIP_POLARIS10 && asic_type 1142 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c adev->asic_type != CHIP_POLARIS11 && asic_type 1143 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c adev->asic_type != CHIP_POLARIS12 && asic_type 1144 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c adev->asic_type != CHIP_VEGAM) ? asic_type 1035 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c if (adev->asic_type >= CHIP_TAHITI) asic_type 440 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c adev->is_atom_fw = (adev->asic_type >= CHIP_VEGA10) ? true : false; asic_type 142 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c if (adev->asic_type >= CHIP_TOPAZ) asic_type 251 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c switch (adev->asic_type) { asic_type 245 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->asic_type >= CHIP_VEGA10 && reg == 0) { asic_type 263 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->asic_type >= CHIP_VEGA10 && reg == 1 && adev->last_mm_index == 0x5702C) { asic_type 297 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->asic_type >= CHIP_VEGA10 && reg == 0) { asic_type 308 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->asic_type >= CHIP_VEGA10 && reg == 1 && adev->last_mm_index == 0x5702C) { asic_type 593 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->asic_type < CHIP_BONAIRE) { asic_type 621 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->asic_type >= CHIP_VEGA10) asic_type 788 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->asic_type >= CHIP_BONAIRE) asic_type 838 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->asic_type == CHIP_FIJI) { asic_type 858 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->asic_type >= CHIP_BONAIRE) asic_type 1388 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c switch (adev->asic_type) { asic_type 1535 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c switch (adev->asic_type) { asic_type 1545 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->asic_type == CHIP_CARRIZO || adev->asic_type == CHIP_STONEY) asic_type 1572 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if ((adev->asic_type == CHIP_BONAIRE) || (adev->asic_type == CHIP_HAWAII)) asic_type 1588 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->asic_type == CHIP_RAVEN || asic_type 1589 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->asic_type == CHIP_RENOIR) asic_type 1722 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->asic_type >= CHIP_VEGA10) { asic_type 2486 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type) asic_type 2488 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c switch (asic_type) { asic_type 2544 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c return amdgpu_device_asic_has_dc_support(adev->asic_type); asic_type 2586 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->asic_type = flags & AMD_ASIC_MASK; asic_type 2619 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_asic_name[adev->asic_type], pdev->vendor, pdev->device, asic_type 2671 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (adev->asic_type >= CHIP_BONAIRE) { asic_type 2713 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (amdgpu_mes && adev->asic_type >= CHIP_NAVI10) asic_type 2716 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (amdgpu_discovery && adev->asic_type >= CHIP_NAVI10) { asic_type 2993 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c if (amdgpu_discovery && adev->asic_type >= CHIP_NAVI10) asic_type 3523 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c switch (adev->asic_type) { asic_type 513 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c if (adev->asic_type >= CHIP_CARRIZO && asic_type 514 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c adev->asic_type < CHIP_RAVEN && asic_type 518 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c amdgpu_device_asic_has_dc_support(adev->asic_type)) asic_type 188 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c if (adev->asic_type == CHIP_POLARIS11) asic_type 392 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c if (adev->asic_type >= CHIP_NAVI10 && amdgpu_async_gfx_ring) { asic_type 440 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c if (adev->asic_type >= CHIP_NAVI10 && amdgpu_async_gfx_ring) { asic_type 459 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c if (adev->asic_type >= CHIP_NAVI10 && amdgpu_async_gfx_ring) asic_type 73 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c if (adev->asic_type >= CHIP_VEGA10) { asic_type 370 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c if (needs_flush && (adev->asic_type < CHIP_VEGA10 || asic_type 371 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c adev->asic_type == CHIP_NAVI10 || asic_type 372 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c adev->asic_type == CHIP_NAVI14)) asic_type 813 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (adev->asic_type < CHIP_POLARIS10) { asic_type 1324 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c if (adev->asic_type == CHIP_KAVERI || asic_type 1325 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c (adev->asic_type > CHIP_TOPAZ && adev->asic_type != CHIP_STONEY)) { asic_type 2399 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c adev->asic_type < CHIP_VEGA10) && asic_type 2677 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->asic_type == CHIP_STONEY && asic_type 2834 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->asic_type >= CHIP_VEGA10) { asic_type 2840 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->asic_type != CHIP_ARCTURUS) { asic_type 2848 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->asic_type >= CHIP_VEGA20) { asic_type 2855 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->asic_type != CHIP_ARCTURUS) { asic_type 2898 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (adev->asic_type != CHIP_VEGA10)) { asic_type 2927 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if ((adev->asic_type >= CHIP_VEGA10) && asic_type 2962 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->asic_type >= CHIP_VEGA10) { asic_type 2964 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->asic_type != CHIP_ARCTURUS) asic_type 2967 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->asic_type != CHIP_ARCTURUS) asic_type 2969 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->asic_type >= CHIP_VEGA20) asic_type 2981 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c (adev->asic_type != CHIP_VEGA10)) asic_type 2987 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if ((adev->asic_type >= CHIP_VEGA10) && asic_type 3090 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c if (adev->asic_type > CHIP_VEGA20) { asic_type 251 drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c switch (adev->asic_type) { asic_type 46 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c switch (adev->asic_type) { asic_type 1077 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c if (adev->asic_type == CHIP_RENOIR && asic_type 1415 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c adev->asic_type != CHIP_VEGA20) asic_type 120 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c switch (adev->asic_type) { asic_type 172 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c switch (adev->asic_type) { asic_type 349 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c if (adev->asic_type != CHIP_VEGA20) asic_type 332 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c switch (adev->asic_type) { asic_type 133 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c switch (adev->asic_type) { asic_type 210 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c if (adev->asic_type < CHIP_VEGA20) { asic_type 231 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c if ((adev->asic_type == CHIP_POLARIS10 || asic_type 232 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c adev->asic_type == CHIP_POLARIS11) && asic_type 276 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c switch (adev->asic_type) { asic_type 290 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c adev->uvd.use_ctx_buf = adev->asic_type >= CHIP_POLARIS10; asic_type 353 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c if (adev->asic_type < CHIP_POLARIS10) { asic_type 1050 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c if (adev->asic_type >= CHIP_VEGA10) { asic_type 98 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c switch (adev->asic_type) { asic_type 840 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c switch (p->adev->asic_type) { asic_type 76 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c switch (adev->asic_type) { asic_type 324 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c if (adev->asic_type < CHIP_ARCTURUS && adev->pm.dpm_enabled) asic_type 341 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c if (adev->asic_type < CHIP_ARCTURUS && adev->pm.dpm_enabled) asic_type 790 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (adev->asic_type >= CHIP_VEGA10) { asic_type 1293 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c } else if (params->adev->asic_type >= CHIP_VEGA10 && asic_type 1344 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (params->adev->asic_type < CHIP_VEGA10) asic_type 1415 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (adev->asic_type < CHIP_VEGA10 && asic_type 1581 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (adev->asic_type >= CHIP_NAVI10) { asic_type 1590 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c (adev->asic_type >= CHIP_VEGA10)) { asic_type 1592 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (adev->asic_type >= CHIP_NAVI10) { asic_type 2703 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c if (adev->asic_type == CHIP_RAVEN) asic_type 2827 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c bool pte_support_ats = (adev->asic_type == CHIP_RAVEN); asic_type 71 drivers/gpu/drm/amd/amdgpu/athub_v1_0.c switch (adev->asic_type) { asic_type 75 drivers/gpu/drm/amd/amdgpu/athub_v2_0.c switch (adev->asic_type) { asic_type 501 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c if (adev->asic_type == CHIP_TAHITI || asic_type 502 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c adev->asic_type == CHIP_PITCAIRN || asic_type 503 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c adev->asic_type == CHIP_VERDE || asic_type 504 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c adev->asic_type == CHIP_OLAND) asic_type 756 drivers/gpu/drm/amd/amdgpu/cik.c switch (adev->asic_type) { asic_type 1864 drivers/gpu/drm/amd/amdgpu/cik.c switch (adev->asic_type) { asic_type 1968 drivers/gpu/drm/amd/amdgpu/cik.c if (adev->asic_type == CHIP_KABINI) { asic_type 2087 drivers/gpu/drm/amd/amdgpu/cik.c switch (adev->asic_type) { asic_type 116 drivers/gpu/drm/amd/amdgpu/cik_sdma.c switch (adev->asic_type) { asic_type 152 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c switch (adev->asic_type) { asic_type 463 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c switch (adev->asic_type) { asic_type 2734 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c switch (adev->asic_type) { asic_type 161 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c switch (adev->asic_type) { asic_type 479 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c switch (adev->asic_type) { asic_type 1454 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c switch (adev->asic_type) { asic_type 2272 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if ((adev->asic_type == CHIP_POLARIS10) || asic_type 2273 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c (adev->asic_type == CHIP_POLARIS11) || asic_type 2274 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c (adev->asic_type == CHIP_POLARIS12) || asic_type 2275 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c (adev->asic_type == CHIP_VEGAM)) { asic_type 2327 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (adev->asic_type == CHIP_CARRIZO || adev->asic_type == CHIP_STONEY) { asic_type 2692 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if ((adev->asic_type == CHIP_POLARIS10) || asic_type 2693 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c (adev->asic_type == CHIP_POLARIS11) || asic_type 2694 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c (adev->asic_type == CHIP_POLARIS12) || asic_type 2695 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c (adev->asic_type == CHIP_VEGAM)) { asic_type 2842 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c switch (adev->asic_type) { asic_type 2970 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if ((adev->asic_type == CHIP_POLARIS10) || asic_type 2971 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c (adev->asic_type == CHIP_POLARIS11) || asic_type 2972 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c (adev->asic_type == CHIP_POLARIS12) || asic_type 2973 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c (adev->asic_type == CHIP_VEGAM)) { asic_type 359 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c switch (adev->asic_type) { asic_type 1332 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c switch (adev->asic_type) { asic_type 2602 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c switch (adev->asic_type) { asic_type 396 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c switch (adev->asic_type) { asic_type 1381 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (adev->asic_type == CHIP_KAVERI) /* KV: 4 streams, 7 endpoints */ asic_type 1383 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c else if ((adev->asic_type == CHIP_KABINI) || asic_type 1384 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c (adev->asic_type == CHIP_MULLINS)) /* KB/ML: 2 streams, 3 endpoints */ asic_type 1386 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c else if ((adev->asic_type == CHIP_BONAIRE) || asic_type 1387 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c (adev->asic_type == CHIP_HAWAII))/* BN/HW: 6 streams, 7 endpoints */ asic_type 2146 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if ((adev->asic_type == CHIP_KABINI) || asic_type 2147 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c (adev->asic_type == CHIP_MULLINS)) { asic_type 2483 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if ((adev->asic_type == CHIP_KAVERI) || asic_type 2484 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c (adev->asic_type == CHIP_BONAIRE) || asic_type 2485 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c (adev->asic_type == CHIP_HAWAII)) asic_type 2622 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c switch (adev->asic_type) { asic_type 422 drivers/gpu/drm/amd/amdgpu/dce_virtual.c switch (adev->asic_type) { asic_type 449 drivers/gpu/drm/amd/amdgpu/df_v3_6.c switch (adev->asic_type) { asic_type 485 drivers/gpu/drm/amd/amdgpu/df_v3_6.c switch (adev->asic_type) { asic_type 517 drivers/gpu/drm/amd/amdgpu/df_v3_6.c switch (adev->asic_type) { asic_type 363 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c switch (adev->asic_type) { asic_type 571 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c switch (adev->asic_type) { asic_type 616 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c switch (adev->asic_type) { asic_type 643 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c switch (adev->asic_type) { asic_type 1200 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c switch (adev->asic_type) { asic_type 1309 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c switch (adev->asic_type) { asic_type 1678 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (adev->asic_type == CHIP_NAVI10 || asic_type 1679 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->asic_type == CHIP_NAVI14 || asic_type 1680 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->asic_type == CHIP_NAVI12) { asic_type 4290 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c switch (adev->asic_type) { asic_type 4306 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c switch (adev->asic_type) { asic_type 5361 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c switch (adev->asic_type) { asic_type 5375 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c switch (adev->asic_type) { asic_type 321 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c switch (adev->asic_type) { asic_type 418 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c if (adev->asic_type == CHIP_VERDE) { asic_type 642 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c } else if (adev->asic_type == CHIP_OLAND) { asic_type 848 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c } else if (adev->asic_type == CHIP_HAINAN) { asic_type 1072 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c } else if ((adev->asic_type == CHIP_TAHITI) || (adev->asic_type == CHIP_PITCAIRN)) { asic_type 1297 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c DRM_ERROR("unknown asic: 0x%x\n", adev->asic_type); asic_type 1343 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c switch (adev->asic_type) { asic_type 1368 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c DRM_ERROR("unknown asic: 0x%x\n", adev->asic_type); asic_type 1584 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c switch (adev->asic_type) { asic_type 910 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c switch (adev->asic_type) { asic_type 961 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (adev->asic_type == CHIP_KAVERI) { asic_type 1053 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c switch (adev->asic_type) { asic_type 1640 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c switch (adev->asic_type) { asic_type 1664 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c DRM_ERROR("unknown asic: 0x%x\n", adev->asic_type); asic_type 2608 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (adev->asic_type != CHIP_HAWAII) asic_type 2750 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (adev->asic_type == CHIP_KAVERI) { asic_type 3309 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (adev->asic_type == CHIP_KAVERI) { asic_type 3565 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (adev->asic_type == CHIP_BONAIRE) asic_type 3772 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c if (adev->asic_type == CHIP_KAVERI) asic_type 4003 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c switch (adev->asic_type) { asic_type 4265 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c switch (adev->asic_type) { asic_type 4435 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c switch (adev->asic_type) { asic_type 734 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c switch (adev->asic_type) { asic_type 941 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if ((adev->asic_type != CHIP_STONEY) && asic_type 942 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c (adev->asic_type != CHIP_TOPAZ)) asic_type 962 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c switch (adev->asic_type) { asic_type 994 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->asic_type >= CHIP_POLARIS10 && adev->asic_type <= CHIP_POLARIS12) { asic_type 1014 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->asic_type >= CHIP_POLARIS10 && adev->asic_type <= CHIP_POLARIS12) { asic_type 1035 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->asic_type >= CHIP_POLARIS10 && adev->asic_type <= CHIP_POLARIS12) { asic_type 1115 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->asic_type >= CHIP_POLARIS10 && adev->asic_type <= CHIP_POLARIS12) { asic_type 1135 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if ((adev->asic_type != CHIP_STONEY) && asic_type 1136 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c (adev->asic_type != CHIP_TOPAZ)) { asic_type 1137 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->asic_type >= CHIP_POLARIS10 && adev->asic_type <= CHIP_POLARIS12) { asic_type 1291 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->asic_type == CHIP_CARRIZO) asic_type 1313 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if ((adev->asic_type == CHIP_CARRIZO) || asic_type 1314 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c (adev->asic_type == CHIP_STONEY)) { asic_type 1558 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->asic_type != CHIP_CARRIZO) asic_type 1718 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c switch (adev->asic_type) { asic_type 1958 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c switch (adev->asic_type) { asic_type 2039 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->asic_type != CHIP_TOPAZ) { asic_type 2114 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if ((adev->asic_type == CHIP_CARRIZO) || asic_type 2115 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c (adev->asic_type == CHIP_STONEY)) { asic_type 2141 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c switch (adev->asic_type) { asic_type 3271 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->asic_type); asic_type 3495 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c switch (adev->asic_type) { asic_type 3528 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c DRM_ERROR("unknown asic: 0x%x\n", adev->asic_type); asic_type 3773 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c switch (adev->asic_type) { asic_type 4083 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if ((adev->asic_type == CHIP_CARRIZO) || asic_type 4084 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c (adev->asic_type == CHIP_STONEY)) { asic_type 4091 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c } else if ((adev->asic_type == CHIP_POLARIS11) || asic_type 4092 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c (adev->asic_type == CHIP_POLARIS12) || asic_type 4093 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c (adev->asic_type == CHIP_VEGAM)) { asic_type 4261 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->asic_type == CHIP_TOPAZ) asic_type 4621 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->asic_type != CHIP_TONGA) { asic_type 4709 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->asic_type > CHIP_TONGA) { asic_type 5361 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (((adev->asic_type == CHIP_POLARIS11) || asic_type 5362 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c (adev->asic_type == CHIP_POLARIS12) || asic_type 5363 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c (adev->asic_type == CHIP_VEGAM)) && asic_type 5426 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c switch (adev->asic_type) { asic_type 5536 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c if (adev->asic_type == CHIP_STONEY) asic_type 6019 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c switch (adev->asic_type) { asic_type 742 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c switch (adev->asic_type) { asic_type 793 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type != CHIP_ARCTURUS) asic_type 983 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c switch (adev->asic_type) { asic_type 1037 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c switch (adev->asic_type) { asic_type 1340 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type != CHIP_ARCTURUS) { asic_type 1373 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c switch (adev->asic_type) { asic_type 1402 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type != CHIP_ARCTURUS) { asic_type 1498 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c else if (adev->asic_type == CHIP_VEGA12) asic_type 1656 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type == CHIP_RAVEN || adev->asic_type == CHIP_RENOIR) { asic_type 1664 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c switch (adev->asic_type) { asic_type 1864 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c switch (adev->asic_type) { asic_type 2198 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c switch (adev->asic_type) { asic_type 2362 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type == CHIP_RAVEN || adev->asic_type == CHIP_RENOIR) { asic_type 2928 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type == CHIP_VEGA12 || asic_type 2929 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c (adev->asic_type == CHIP_RAVEN && asic_type 3042 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c switch (adev->asic_type) { asic_type 3831 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type != CHIP_ARCTURUS) { asic_type 3847 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type != CHIP_ARCTURUS) { asic_type 3857 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type != CHIP_ARCTURUS) { asic_type 3876 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type != CHIP_ARCTURUS) asic_type 3903 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type != CHIP_ARCTURUS) { asic_type 4055 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type != CHIP_ARCTURUS) asic_type 4402 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type == CHIP_ARCTURUS) asic_type 4628 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type != CHIP_VEGA12) asic_type 4662 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type != CHIP_VEGA12) asic_type 4696 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type == CHIP_ARCTURUS) asic_type 4764 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type == CHIP_ARCTURUS) asic_type 4839 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c switch (adev->asic_type) { asic_type 4887 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c switch (adev->asic_type) { asic_type 4935 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type != CHIP_ARCTURUS) { asic_type 6055 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type != CHIP_VEGA20) asic_type 6103 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c if (adev->asic_type != CHIP_VEGA20) asic_type 6362 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c switch (adev->asic_type) { asic_type 6379 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c switch (adev->asic_type) { asic_type 6394 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c switch (adev->asic_type) { asic_type 82 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c if (adev->asic_type == CHIP_RAVEN && adev->rev_id >= 0x8) asic_type 627 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c switch (adev->asic_type) { asic_type 705 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c switch (adev->asic_type) { asic_type 808 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c switch (adev->asic_type) { asic_type 118 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c switch (adev->asic_type) { asic_type 344 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c switch (adev->asic_type) { asic_type 76 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c switch (adev->asic_type) { asic_type 140 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c switch (adev->asic_type) { asic_type 397 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c switch (adev->asic_type) { asic_type 674 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c if (adev->asic_type == CHIP_KAVERI) { asic_type 131 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c switch (adev->asic_type) { asic_type 228 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c switch (adev->asic_type) { asic_type 599 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c switch (adev->asic_type) { asic_type 1091 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c if ((adev->asic_type == CHIP_FIJI) || asic_type 1092 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c (adev->asic_type == CHIP_VEGAM)) asic_type 1201 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c if (adev->asic_type == CHIP_TONGA) { asic_type 1207 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c } else if (adev->asic_type == CHIP_POLARIS11 || asic_type 1208 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c adev->asic_type == CHIP_POLARIS10 || asic_type 1209 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c adev->asic_type == CHIP_POLARIS12) { asic_type 1651 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c switch (adev->asic_type) { asic_type 464 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c (!(adev->asic_type == CHIP_RAVEN && asic_type 739 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c switch (adev->asic_type) { asic_type 755 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c switch (adev->asic_type) { asic_type 795 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c switch (adev->asic_type) { asic_type 981 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c switch (adev->asic_type) { asic_type 1017 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (adev->asic_type == CHIP_ARCTURUS) asic_type 1096 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c switch (adev->asic_type) { asic_type 1154 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c switch (adev->asic_type) { asic_type 1188 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (adev->asic_type == CHIP_ARCTURUS) asic_type 1196 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c switch (adev->asic_type) { asic_type 1243 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (adev->asic_type == CHIP_ARCTURUS) { asic_type 1359 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c switch (adev->asic_type) { asic_type 1394 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (adev->asic_type == CHIP_RAVEN) asic_type 1421 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c switch (adev->asic_type) { asic_type 1434 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (adev->asic_type == CHIP_ARCTURUS) asic_type 1458 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (adev->asic_type == CHIP_ARCTURUS) asic_type 1504 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (adev->asic_type == CHIP_RAVEN) asic_type 1518 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (adev->asic_type == CHIP_ARCTURUS) asic_type 1594 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (adev->asic_type == CHIP_ARCTURUS) asic_type 1608 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (adev->asic_type == CHIP_ARCTURUS) asic_type 774 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) asic_type 1381 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (adev->asic_type == CHIP_MULLINS) asic_type 1755 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) asic_type 1936 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) { asic_type 1962 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (adev->asic_type == CHIP_MULLINS) asic_type 2016 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) { asic_type 2121 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) asic_type 2141 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) asic_type 2297 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) { asic_type 2358 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) { asic_type 2503 drivers/gpu/drm/amd/amdgpu/kv_dpm.c if (adev->asic_type == CHIP_KABINI || adev->asic_type == CHIP_MULLINS) asic_type 72 drivers/gpu/drm/amd/amdgpu/mes_v10_1.c switch (adev->asic_type) { asic_type 103 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c if (adev->asic_type == CHIP_RAVEN && adev->rev_id >= 0x8) asic_type 443 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c if (adev->asic_type != CHIP_RAVEN) { asic_type 459 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c if (adev->asic_type != CHIP_RAVEN) asic_type 476 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c if (adev->asic_type != CHIP_RAVEN) asic_type 489 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c if (adev->asic_type != CHIP_RAVEN) asic_type 495 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c if (adev->asic_type != CHIP_RAVEN && def2 != data2) asic_type 521 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c switch (adev->asic_type) { asic_type 418 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c switch (adev->asic_type) { asic_type 617 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c switch (adev->asic_type) { asic_type 279 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c switch (adev->asic_type) { asic_type 400 drivers/gpu/drm/amd/amdgpu/nv.c switch (adev->asic_type) { asic_type 430 drivers/gpu/drm/amd/amdgpu/nv.c switch (adev->asic_type) { asic_type 604 drivers/gpu/drm/amd/amdgpu/nv.c switch (adev->asic_type) { asic_type 861 drivers/gpu/drm/amd/amdgpu/nv.c switch (adev->asic_type) { asic_type 54 drivers/gpu/drm/amd/amdgpu/psp_v10_0.c switch (adev->asic_type) { asic_type 75 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c switch (adev->asic_type) { asic_type 156 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c switch (adev->asic_type) { asic_type 613 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c if (adev->asic_type < CHIP_NAVI10) { asic_type 624 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c if (adev->asic_type < CHIP_NAVI10) { asic_type 54 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c switch (adev->asic_type) { asic_type 69 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c switch (adev->asic_type) { asic_type 99 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c switch (adev->asic_type) { asic_type 142 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c switch (adev->asic_type) { asic_type 200 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c switch (adev->asic_type) { asic_type 279 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c switch (adev->asic_type) { asic_type 1099 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c switch (adev->asic_type) { asic_type 1512 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c switch (adev->asic_type) { asic_type 338 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c switch (adev->asic_type) { asic_type 423 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if (adev->asic_type == CHIP_ARCTURUS) asic_type 453 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c switch (adev->asic_type) { asic_type 492 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if (adev->asic_type == CHIP_ARCTURUS) { asic_type 1208 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c switch (adev->asic_type) { asic_type 1648 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c switch (adev->asic_type) { asic_type 1666 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if (adev->asic_type == CHIP_RAVEN || adev->asic_type == CHIP_RENOIR) asic_type 1668 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c else if (adev->asic_type == CHIP_ARCTURUS) asic_type 1680 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if ((adev->asic_type == CHIP_VEGA10) && amdgpu_sriov_vf((adev))) asic_type 1893 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if ((adev->asic_type == CHIP_RAVEN && adev->powerplay.pp_funcs && asic_type 1895 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c adev->asic_type == CHIP_RENOIR) asic_type 1922 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if ((adev->asic_type == CHIP_RAVEN && adev->powerplay.pp_funcs asic_type 1924 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c adev->asic_type == CHIP_RENOIR) asic_type 2013 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if (adev->asic_type == CHIP_VEGA20) asic_type 2020 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if (adev->asic_type != CHIP_VEGA20) asic_type 2182 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c switch (adev->asic_type) { asic_type 2205 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c switch (adev->asic_type) { asic_type 2391 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if (adev->asic_type == CHIP_ARCTURUS && i >= 5) asic_type 2399 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c if (adev->asic_type == CHIP_ARCTURUS && i >= 5) asic_type 126 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c switch (adev->asic_type) { asic_type 179 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c switch (adev->asic_type) { asic_type 1545 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c switch (adev->asic_type) { asic_type 1444 drivers/gpu/drm/amd/amdgpu/si.c switch (adev->asic_type) { asic_type 1564 drivers/gpu/drm/amd/amdgpu/si.c switch (adev->asic_type) { asic_type 1891 drivers/gpu/drm/amd/amdgpu/si.c if ((adev->asic_type != CHIP_OLAND) && (adev->asic_type != CHIP_HAINAN)) { asic_type 1940 drivers/gpu/drm/amd/amdgpu/si.c if ((adev->asic_type == CHIP_OLAND) || (adev->asic_type == CHIP_HAINAN)) asic_type 1947 drivers/gpu/drm/amd/amdgpu/si.c if ((adev->asic_type == CHIP_OLAND) || (adev->asic_type == CHIP_HAINAN)) asic_type 2128 drivers/gpu/drm/amd/amdgpu/si.c switch (adev->asic_type) { asic_type 1986 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->asic_type == CHIP_TAHITI) { asic_type 2020 drivers/gpu/drm/amd/amdgpu/si_dpm.c } else if (adev->asic_type == CHIP_PITCAIRN) { asic_type 2046 drivers/gpu/drm/amd/amdgpu/si_dpm.c } else if (adev->asic_type == CHIP_VERDE) { asic_type 2098 drivers/gpu/drm/amd/amdgpu/si_dpm.c } else if (adev->asic_type == CHIP_OLAND) { asic_type 2137 drivers/gpu/drm/amd/amdgpu/si_dpm.c } else if (adev->asic_type == CHIP_HAINAN) { asic_type 3440 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->asic_type == CHIP_HAINAN) { asic_type 3454 drivers/gpu/drm/amd/amdgpu/si_dpm.c } else if (adev->asic_type == CHIP_OLAND) { asic_type 4135 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->asic_type == CHIP_TAHITI && adev->rev_id == 0x0) asic_type 6285 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->asic_type == CHIP_VERDE) { asic_type 7615 drivers/gpu/drm/amd/amdgpu/si_dpm.c switch (adev->asic_type) { asic_type 7908 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (adev->asic_type >= CHIP_TAHITI) asic_type 279 drivers/gpu/drm/amd/amdgpu/soc15.c if (adev->asic_type == CHIP_RAVEN) asic_type 328 drivers/gpu/drm/amd/amdgpu/soc15.c switch (adev->asic_type) { asic_type 552 drivers/gpu/drm/amd/amdgpu/soc15.c switch (adev->asic_type) { asic_type 676 drivers/gpu/drm/amd/amdgpu/soc15.c switch (adev->asic_type) { asic_type 693 drivers/gpu/drm/amd/amdgpu/soc15.c if (adev->asic_type == CHIP_VEGA20 || adev->asic_type == CHIP_ARCTURUS) asic_type 698 drivers/gpu/drm/amd/amdgpu/soc15.c else if (adev->asic_type == CHIP_VEGA20 || asic_type 699 drivers/gpu/drm/amd/amdgpu/soc15.c adev->asic_type == CHIP_ARCTURUS) asic_type 704 drivers/gpu/drm/amd/amdgpu/soc15.c if (adev->asic_type == CHIP_VEGA20 || adev->asic_type == CHIP_ARCTURUS) asic_type 715 drivers/gpu/drm/amd/amdgpu/soc15.c switch (adev->asic_type) { asic_type 725 drivers/gpu/drm/amd/amdgpu/soc15.c if (adev->asic_type == CHIP_VEGA20) asic_type 734 drivers/gpu/drm/amd/amdgpu/soc15.c if (adev->asic_type == CHIP_VEGA20) asic_type 754 drivers/gpu/drm/amd/amdgpu/soc15.c if (!(adev->asic_type == CHIP_VEGA20 && amdgpu_sriov_vf(adev))) { asic_type 1029 drivers/gpu/drm/amd/amdgpu/soc15.c switch (adev->asic_type) { asic_type 1349 drivers/gpu/drm/amd/amdgpu/soc15.c if (adev->asic_type == CHIP_VEGA20 || asic_type 1350 drivers/gpu/drm/amd/amdgpu/soc15.c adev->asic_type == CHIP_ARCTURUS) { asic_type 1449 drivers/gpu/drm/amd/amdgpu/soc15.c switch (adev->asic_type) { asic_type 65 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c return ((adev->asic_type >= CHIP_POLARIS10) && asic_type 66 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c (adev->asic_type <= CHIP_VEGAM) && asic_type 1599 drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c if (adev->asic_type >= CHIP_POLARIS10) { asic_type 373 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c if (adev->asic_type == CHIP_VEGA20) { asic_type 305 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c if (adev->asic_type >= CHIP_STONEY) asic_type 342 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c if (adev->asic_type >= CHIP_STONEY) asic_type 368 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c if ((adev->asic_type == CHIP_FIJI) || asic_type 369 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c (adev->asic_type == CHIP_STONEY)) asic_type 389 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c if ((adev->asic_type == CHIP_POLARIS10) || asic_type 390 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c (adev->asic_type == CHIP_POLARIS11) || asic_type 391 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c (adev->asic_type == CHIP_POLARIS12) || asic_type 392 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c (adev->asic_type == CHIP_VEGAM)) asic_type 540 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c if (adev->asic_type >= CHIP_STONEY) { asic_type 947 drivers/gpu/drm/amd/amdgpu/vce_v3_0.c if (adev->asic_type >= CHIP_STONEY) { asic_type 893 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c if ((adev->asic_type == CHIP_POLARIS10) || asic_type 894 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c (adev->asic_type == CHIP_TONGA) || asic_type 895 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c (adev->asic_type == CHIP_FIJI)) asic_type 75 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c if (adev->asic_type == CHIP_ARCTURUS) { asic_type 256 drivers/gpu/drm/amd/amdgpu/vega10_ih.c if ((adev->asic_type == CHIP_ARCTURUS asic_type 258 drivers/gpu/drm/amd/amdgpu/vega10_ih.c || adev->asic_type == CHIP_RENOIR) asic_type 283 drivers/gpu/drm/amd/amdgpu/vi.c switch (adev->asic_type) { asic_type 455 drivers/gpu/drm/amd/amdgpu/vi.c if (adev->asic_type == CHIP_TONGA || asic_type 456 drivers/gpu/drm/amd/amdgpu/vi.c adev->asic_type == CHIP_FIJI) { asic_type 932 drivers/gpu/drm/amd/amdgpu/vi.c switch (adev->asic_type) { asic_type 1074 drivers/gpu/drm/amd/amdgpu/vi.c switch (adev->asic_type) { asic_type 1576 drivers/gpu/drm/amd/amdgpu/vi.c switch (adev->asic_type) { asic_type 1680 drivers/gpu/drm/amd/amdgpu/vi.c switch (adev->asic_type) { asic_type 690 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->asic_type >= CHIP_CARRIZO && asic_type 691 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->asic_type < CHIP_RAVEN) asic_type 797 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c switch(adev->asic_type) { asic_type 828 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c DRM_ERROR("Unsupported ASIC type: 0x%X\n", adev->asic_type); asic_type 949 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (adev->asic_type <= CHIP_RAVEN) { asic_type 1693 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (adev->asic_type >= CHIP_VEGA10) asic_type 2353 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c switch (adev->asic_type) { asic_type 2392 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c DRM_ERROR("Unsupported ASIC type: 0x%X\n", adev->asic_type); asic_type 2396 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (adev->asic_type != CHIP_CARRIZO && adev->asic_type != CHIP_STONEY) asic_type 2477 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c switch (adev->asic_type) { asic_type 2558 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c DRM_ERROR("Unsupported ASIC type: 0x%X\n", adev->asic_type); asic_type 2851 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (adev->asic_type == CHIP_VEGA10 || asic_type 2852 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->asic_type == CHIP_VEGA12 || asic_type 2853 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->asic_type == CHIP_VEGA20 || asic_type 2855 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->asic_type == CHIP_NAVI10 || asic_type 2856 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->asic_type == CHIP_NAVI14 || asic_type 2857 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->asic_type == CHIP_NAVI12 || asic_type 2860 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->asic_type == CHIP_RENOIR || asic_type 2862 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->asic_type == CHIP_RAVEN) { asic_type 3094 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c force_disable_dcc = adev->asic_type == CHIP_RAVEN && adev->in_suspend; asic_type 4559 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c force_disable_dcc = adev->asic_type == CHIP_RAVEN && adev->in_suspend; asic_type 304 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c bool has_rom = adev->asic_type <= CHIP_RAVEN; asic_type 55 drivers/gpu/drm/amd/powerplay/amd_powerplay.c hwmgr->chip_id = adev->asic_type; asic_type 476 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (adev->asic_type == CHIP_VEGA20) asic_type 478 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c else if (adev->asic_type >= CHIP_ARCTURUS) asic_type 489 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (adev->asic_type == CHIP_VEGA20) asic_type 710 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c switch (adev->asic_type) { asic_type 1033 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (adev->asic_type != CHIP_ARCTURUS) { asic_type 1109 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (adev->asic_type != CHIP_ARCTURUS) { asic_type 1237 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (adev->asic_type < CHIP_NAVI10) { asic_type 1367 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c if (adev->asic_type >= CHIP_NAVI10 && asic_type 1278 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c if ((adev->asic_type == CHIP_RAVEN) && asic_type 3495 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if ((adev->asic_type != CHIP_HAWAII) && asic_type 3496 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (adev->asic_type != CHIP_BONAIRE) && asic_type 3497 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (adev->asic_type != CHIP_FIJI) && asic_type 3498 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (adev->asic_type != CHIP_TONGA)) { asic_type 378 drivers/gpu/drm/amd/powerplay/navi10_ppt.c if ((adev->asic_type == CHIP_NAVI10) && asic_type 1499 drivers/gpu/drm/amd/powerplay/navi10_ppt.c if (adev->asic_type != CHIP_NAVI10) asic_type 157 drivers/gpu/drm/amd/powerplay/smu_v11_0.c switch (adev->asic_type) { asic_type 277 drivers/gpu/drm/amd/powerplay/smu_v11_0.c switch (smu->adev->asic_type) { asic_type 291 drivers/gpu/drm/amd/powerplay/smu_v11_0.c pr_err("smu unsupported asic type:%d.\n", smu->adev->asic_type); asic_type 1360 drivers/gpu/drm/amd/powerplay/smu_v11_0.c switch (adev->asic_type) { asic_type 1819 drivers/gpu/drm/amd/powerplay/smu_v11_0.c switch (adev->asic_type) { asic_type 405 drivers/gpu/drm/amd/powerplay/smu_v12_0.c switch (adev->asic_type) { asic_type 256 drivers/misc/habanalabs/device.c switch (hdev->asic_type) { asic_type 263 drivers/misc/habanalabs/device.c hdev->asic_type); asic_type 1265 drivers/misc/habanalabs/habanalabs.h enum hl_asic_type asic_type; asic_type 1430 drivers/misc/habanalabs/habanalabs.h enum hl_asic_type asic_type, int minor); asic_type 60 drivers/misc/habanalabs/habanalabs_drv.c enum hl_asic_type asic_type; asic_type 64 drivers/misc/habanalabs/habanalabs_drv.c asic_type = ASIC_GOYA; asic_type 67 drivers/misc/habanalabs/habanalabs_drv.c asic_type = ASIC_INVALID; asic_type 71 drivers/misc/habanalabs/habanalabs_drv.c return asic_type; asic_type 246 drivers/misc/habanalabs/habanalabs_drv.c enum hl_asic_type asic_type, int minor) asic_type 261 drivers/misc/habanalabs/habanalabs_drv.c hdev->asic_type = get_asic_type(pdev->device); asic_type 262 drivers/misc/habanalabs/habanalabs_drv.c if (hdev->asic_type == ASIC_INVALID) { asic_type 268 drivers/misc/habanalabs/habanalabs_drv.c hdev->asic_type = asic_type; asic_type 219 drivers/misc/habanalabs/sysfs.c switch (hdev->asic_type) { asic_type 225 drivers/misc/habanalabs/sysfs.c hdev->asic_type); asic_type 515 drivers/net/ethernet/cisco/enic/vnic_devcmd.h u16 asic_type; asic_type 18 drivers/net/ethernet/pensando/ionic/ionic_dev.c idev->dev_info.asic_type = ioread8(&idev->dev_info_regs->asic_type); asic_type 116 drivers/net/ethernet/pensando/ionic/ionic_dev.h u8 asic_type; asic_type 30 drivers/net/ethernet/pensando/ionic/ionic_devlink.c snprintf(buf, sizeof(buf), "0x%x", idev->dev_info.asic_type); asic_type 2349 drivers/net/ethernet/pensando/ionic/ionic_if.h u8 asic_type; asic_type 206 sound/soc/amd/acp-pcm-dma.c u32 asic_type) asic_type 218 sound/soc/amd/acp-pcm-dma.c switch (asic_type) { asic_type 235 sound/soc/amd/acp-pcm-dma.c switch (asic_type) { asic_type 264 sound/soc/amd/acp-pcm-dma.c u16 dma_dscr_idx, u32 asic_type) asic_type 332 sound/soc/amd/acp-pcm-dma.c u32 asic_type) asic_type 350 sound/soc/amd/acp-pcm-dma.c rtd->dma_dscr_idx_1, asic_type); asic_type 355 sound/soc/amd/acp-pcm-dma.c rtd->dma_dscr_idx_2, asic_type); asic_type 551 sound/soc/amd/acp-pcm-dma.c static int acp_init(void __iomem *acp_mmio, u32 asic_type) asic_type 637 sound/soc/amd/acp-pcm-dma.c if (asic_type != CHIP_STONEY) { asic_type 777 sound/soc/amd/acp-pcm-dma.c switch (intr_data->asic_type) { asic_type 785 sound/soc/amd/acp-pcm-dma.c switch (intr_data->asic_type) { asic_type 821 sound/soc/amd/acp-pcm-dma.c if (intr_data->asic_type != CHIP_STONEY) { asic_type 827 sound/soc/amd/acp-pcm-dma.c if (intr_data->asic_type != CHIP_STONEY) { asic_type 866 sound/soc/amd/acp-pcm-dma.c if (adata->asic_type == CHIP_STONEY) { asic_type 910 sound/soc/amd/acp-pcm-dma.c switch (adata->asic_type) { asic_type 951 sound/soc/amd/acp-pcm-dma.c switch (adata->asic_type) { asic_type 990 sound/soc/amd/acp-pcm-dma.c config_acp_dma(rtd->acp_mmio, rtd, adata->asic_type); asic_type 1142 sound/soc/amd/acp-pcm-dma.c switch (adata->asic_type) { asic_type 1186 sound/soc/amd/acp-pcm-dma.c if (adata->asic_type != CHIP_STONEY) { asic_type 1200 sound/soc/amd/acp-pcm-dma.c if (adata->asic_type != CHIP_STONEY) { asic_type 1269 sound/soc/amd/acp-pcm-dma.c audio_drv_data->asic_type = *pdata; asic_type 1287 sound/soc/amd/acp-pcm-dma.c status = acp_init(audio_drv_data->acp_mmio, audio_drv_data->asic_type); asic_type 1327 sound/soc/amd/acp-pcm-dma.c status = acp_init(adata->acp_mmio, adata->asic_type); asic_type 1339 sound/soc/amd/acp-pcm-dma.c if (adata->asic_type != CHIP_STONEY) { asic_type 1345 sound/soc/amd/acp-pcm-dma.c config_acp_dma(adata->acp_mmio, rtd, adata->asic_type); asic_type 1349 sound/soc/amd/acp-pcm-dma.c if (adata->asic_type != CHIP_STONEY) { asic_type 1355 sound/soc/amd/acp-pcm-dma.c config_acp_dma(adata->acp_mmio, rtd, adata->asic_type); asic_type 1357 sound/soc/amd/acp-pcm-dma.c if (adata->asic_type != CHIP_CARRIZO) { asic_type 1361 sound/soc/amd/acp-pcm-dma.c config_acp_dma(adata->acp_mmio, rtd, adata->asic_type); asic_type 1366 sound/soc/amd/acp-pcm-dma.c config_acp_dma(adata->acp_mmio, rtd, adata->asic_type); asic_type 1390 sound/soc/amd/acp-pcm-dma.c status = acp_init(adata->acp_mmio, adata->asic_type); asic_type 153 sound/soc/amd/acp.h u32 asic_type;