/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | nbio_v6_1.c | 189 WREG32_PCIE(smnCPM_CONTROL, data); in nbio_v6_1_update_medium_grain_clock_gating() 209 WREG32_PCIE(smnPCIE_CNTL2, data); in nbio_v6_1_update_medium_grain_light_sleep() 278 WREG32_PCIE(smnPCIE_CI_CNTL, data); in nbio_v6_1_init_registers() 295 WREG32_PCIE(smnRCC_BIF_STRAP2, data); in nbio_v6_1_program_ltr() 319 WREG32_PCIE(smnPCIE_LC_CNTL, data); in nbio_v6_1_program_aspm() 324 WREG32_PCIE(smnPCIE_LC_CNTL7, data); in nbio_v6_1_program_aspm() 334 WREG32_PCIE(smnPCIE_LC_CNTL3, data); in nbio_v6_1_program_aspm() 340 WREG32_PCIE(smnRCC_BIF_STRAP3, data); in nbio_v6_1_program_aspm() 365 WREG32_PCIE(smnPCIE_LC_CNTL6, data); in nbio_v6_1_program_aspm() 388 WREG32_PCIE(smnPCIE_LC_CNTL, data); in nbio_v6_1_program_aspm() [all …]
|
H A D | nbio_v7_4.c | 272 WREG32_PCIE(smnPCIE_CNTL2, data); in nbio_v7_4_update_medium_grain_light_sleep() 686 WREG32_PCIE(smnRCC_BIF_STRAP2, data); in nbio_v7_4_program_ltr() 713 WREG32_PCIE(smnPCIE_LC_CNTL, data); in nbio_v7_4_program_aspm() 718 WREG32_PCIE(smnPCIE_LC_CNTL7, data); in nbio_v7_4_program_aspm() 728 WREG32_PCIE(smnPCIE_LC_CNTL3, data); in nbio_v7_4_program_aspm() 734 WREG32_PCIE(smnRCC_BIF_STRAP3, data); in nbio_v7_4_program_aspm() 739 WREG32_PCIE(smnRCC_BIF_STRAP5, data); in nbio_v7_4_program_aspm() 759 WREG32_PCIE(smnPCIE_LC_CNTL6, data); in nbio_v7_4_program_aspm() 770 WREG32_PCIE(smnRCC_BIF_STRAP3, data); in nbio_v7_4_program_aspm() 782 WREG32_PCIE(smnPCIE_LC_CNTL, data); in nbio_v7_4_program_aspm() [all …]
|
H A D | nbio_v2_3.c | 255 WREG32_PCIE(smnCPM_CONTROL, data); in nbio_v2_3_update_medium_grain_clock_gating() 278 WREG32_PCIE(smnPCIE_CNTL2, data); in nbio_v2_3_update_medium_grain_light_sleep() 341 WREG32_PCIE(smnPCIE_CONFIG_CNTL, data); in nbio_v2_3_init_registers() 381 WREG32_PCIE(smnPCIE_LC_CNTL, data); in nbio_v2_3_enable_aspm() 418 WREG32_PCIE(smnPCIE_LC_CNTL, data); in nbio_v2_3_program_aspm() 423 WREG32_PCIE(smnPCIE_LC_CNTL7, data); in nbio_v2_3_program_aspm() 433 WREG32_PCIE(smnPCIE_LC_CNTL3, data); in nbio_v2_3_program_aspm() 464 WREG32_PCIE(smnPCIE_LC_CNTL6, data); in nbio_v2_3_program_aspm() 490 WREG32_PCIE(smnPCIE_LC_CNTL, data); in nbio_v2_3_program_aspm() 495 WREG32_PCIE(smnPCIE_LC_CNTL3, data); in nbio_v2_3_program_aspm() [all …]
|
H A D | umc_v6_1.c | 56 WREG32_PCIE(rsmu_umc_addr * 4, rsmu_umc_val); in umc_v6_1_enable_umc_index_mode() 71 WREG32_PCIE(rsmu_umc_addr * 4, rsmu_umc_val); in umc_v6_1_disable_umc_index_mode() 124 WREG32_PCIE((ecc_err_cnt_sel_addr + umc_reg_offset) * 4, in umc_v6_1_clear_error_count_per_channel() 128 WREG32_PCIE((ecc_err_cnt_addr + umc_reg_offset) * 4, in umc_v6_1_clear_error_count_per_channel() 137 WREG32_PCIE((ecc_err_cnt_sel_addr + umc_reg_offset) * 4, in umc_v6_1_clear_error_count_per_channel() 141 WREG32_PCIE((ecc_err_cnt_addr + umc_reg_offset) * 4, in umc_v6_1_clear_error_count_per_channel() 200 WREG32_PCIE((ecc_err_cnt_sel_addr + umc_reg_offset) * 4, ecc_err_cnt_sel); in umc_v6_1_query_correctable_error_count() 210 WREG32_PCIE((ecc_err_cnt_sel_addr + umc_reg_offset) * 4, ecc_err_cnt_sel); in umc_v6_1_query_correctable_error_count() 418 WREG32_PCIE((ecc_err_cnt_sel_addr + umc_reg_offset) * 4, ecc_err_cnt_sel); in umc_v6_1_err_cnt_init_per_channel() 420 WREG32_PCIE((ecc_err_cnt_addr + umc_reg_offset) * 4, UMC_V6_1_CE_CNT_INIT); in umc_v6_1_err_cnt_init_per_channel() [all …]
|
H A D | umc_v8_7.c | 197 WREG32_PCIE((ecc_err_cnt_sel_addr + umc_reg_offset) * 4, in umc_v8_7_clear_error_count_per_channel() 201 WREG32_PCIE((ecc_err_cnt_addr + umc_reg_offset) * 4, in umc_v8_7_clear_error_count_per_channel() 210 WREG32_PCIE((ecc_err_cnt_sel_addr + umc_reg_offset) * 4, in umc_v8_7_clear_error_count_per_channel() 214 WREG32_PCIE((ecc_err_cnt_addr + umc_reg_offset) * 4, in umc_v8_7_clear_error_count_per_channel() 255 WREG32_PCIE((ecc_err_cnt_sel_addr + umc_reg_offset) * 4, ecc_err_cnt_sel); in umc_v8_7_query_correctable_error_count() 265 WREG32_PCIE((ecc_err_cnt_sel_addr + umc_reg_offset) * 4, ecc_err_cnt_sel); in umc_v8_7_query_correctable_error_count() 408 WREG32_PCIE((ecc_err_cnt_sel_addr + umc_reg_offset) * 4, ecc_err_cnt_sel); in umc_v8_7_err_cnt_init_per_channel() 410 WREG32_PCIE((ecc_err_cnt_addr + umc_reg_offset) * 4, UMC_V8_7_CE_CNT_INIT); in umc_v8_7_err_cnt_init_per_channel() 415 WREG32_PCIE((ecc_err_cnt_sel_addr + umc_reg_offset) * 4, ecc_err_cnt_sel); in umc_v8_7_err_cnt_init_per_channel() 416 WREG32_PCIE((ecc_err_cnt_addr + umc_reg_offset) * 4, UMC_V8_7_CE_CNT_INIT); in umc_v8_7_err_cnt_init_per_channel()
|
H A D | cik.c | 1622 WREG32_PCIE(ixPCIE_LC_CNTL4, tmp); in cik_pcie_gen3_enable() 1626 WREG32_PCIE(ixPCIE_LC_CNTL4, tmp); in cik_pcie_gen3_enable() 1666 WREG32_PCIE(ixPCIE_LC_CNTL4, tmp); in cik_pcie_gen3_enable() 1721 WREG32_PCIE(ixPCIE_LC_N_FTS_CNTL, data); in cik_program_aspm() 1726 WREG32_PCIE(ixPCIE_LC_CNTL3, data); in cik_program_aspm() 1731 WREG32_PCIE(ixPCIE_P_CNTL, data); in cik_program_aspm() 1744 WREG32_PCIE(ixPCIE_LC_CNTL, data); in cik_program_aspm() 1804 WREG32_PCIE(ixPCIE_LC_CNTL2, data); in cik_program_aspm() 1841 WREG32_PCIE(ixPCIE_LC_CNTL, data); in cik_program_aspm() 1849 WREG32_PCIE(ixPCIE_CNTL2, data); in cik_program_aspm() [all …]
|
H A D | umc_v6_7.c | 284 WREG32_PCIE((ecc_err_cnt_sel_addr + umc_reg_offset) * 4, ecc_err_cnt_sel); in umc_v6_7_query_correctable_error_count() 294 WREG32_PCIE((ecc_err_cnt_sel_addr + umc_reg_offset) * 4, ecc_err_cnt_sel); in umc_v6_7_query_correctable_error_count() 383 WREG32_PCIE((ecc_err_cnt_sel_addr + umc_reg_offset) * 4, in umc_v6_7_reset_error_count_per_channel() 387 WREG32_PCIE((ecc_err_cnt_addr + umc_reg_offset) * 4, in umc_v6_7_reset_error_count_per_channel() 396 WREG32_PCIE((ecc_err_cnt_sel_addr + umc_reg_offset) * 4, in umc_v6_7_reset_error_count_per_channel() 400 WREG32_PCIE((ecc_err_cnt_addr + umc_reg_offset) * 4, in umc_v6_7_reset_error_count_per_channel()
|
H A D | vi.c | 1118 WREG32_PCIE(ixPCIE_LC_CNTL, data); in vi_enable_aspm() 1139 WREG32_PCIE(ixPCIE_LC_CNTL, data); in vi_program_aspm() 1151 WREG32_PCIE(ixPCIE_LC_CNTL3, data); in vi_program_aspm() 1156 WREG32_PCIE(ixPCIE_P_CNTL, data); in vi_program_aspm() 1176 WREG32_PCIE(ixPCIE_LC_CNTL6, data); in vi_program_aspm() 1224 WREG32_PCIE(ixCPM_CONTROL, data); in vi_program_aspm() 1240 WREG32_PCIE(ixPCIE_LC_CNTL7, data); in vi_program_aspm() 1245 WREG32_PCIE(ixPCIE_HW_DEBUG, data); in vi_program_aspm() 1253 WREG32_PCIE(ixPCIE_LC_CNTL2, data); in vi_program_aspm() 1267 WREG32_PCIE(ixPCIE_LC_CNTL, data); in vi_program_aspm() [all …]
|
H A D | nbio_v7_9.c | 503 WREG32_PCIE(smnPCIE_PERF_CNTL_TXCLK3, perfctrrx); in nbio_v7_9_get_pcie_usage() 504 WREG32_PCIE(smnPCIE_PERF_CNTL_TXCLK7, perfctrtx); in nbio_v7_9_get_pcie_usage() 511 WREG32_PCIE(smnPCIE_PERF_COUNT_CNTL, 0x00000006); in nbio_v7_9_get_pcie_usage() 517 WREG32_PCIE(smnPCIE_PERF_COUNT_CNTL, 0x00000001); in nbio_v7_9_get_pcie_usage() 526 WREG32_PCIE(smnPCIE_PERF_COUNT_CNTL, 0x00000006); in nbio_v7_9_get_pcie_usage()
|
H A D | umc_v8_10.c | 91 WREG32_PCIE((ecc_err_cnt_addr + umc_reg_offset) * 4, in umc_v8_10_clear_error_count_per_channel() 313 WREG32_PCIE((ecc_err_cnt_sel_addr + umc_reg_offset) * 4, ecc_err_cnt_sel); in umc_v8_10_err_cnt_init_per_channel() 315 WREG32_PCIE((ecc_err_cnt_addr + umc_reg_offset) * 4, UMC_V8_10_CE_CNT_INIT); in umc_v8_10_err_cnt_init_per_channel()
|
H A D | nbio_v7_0.c | 162 WREG32_PCIE(smnNBIF_MGCG_CTRL_LCLK, data); in nbio_v7_0_update_medium_grain_clock_gating() 204 WREG32_PCIE(smnPCIE_CNTL2, data); in nbio_v7_0_update_medium_grain_light_sleep()
|
H A D | soc15.c | 747 WREG32_PCIE(smnPCIE_PERF_CNTL_TXCLK, perfctr); in soc15_get_pcie_usage() 753 WREG32_PCIE(smnPCIE_PERF_COUNT_CNTL, 0x00000005); in soc15_get_pcie_usage() 762 WREG32_PCIE(smnPCIE_PERF_COUNT_CNTL, 0x00000002); in soc15_get_pcie_usage() 796 WREG32_PCIE(smnPCIE_PERF_CNTL_TXCLK3, perfctr); in vega20_get_pcie_usage() 802 WREG32_PCIE(smnPCIE_PERF_COUNT_CNTL, 0x00000005); in vega20_get_pcie_usage() 811 WREG32_PCIE(smnPCIE_PERF_COUNT_CNTL, 0x00000002); in vega20_get_pcie_usage()
|
H A D | si.c | 1599 WREG32_PCIE(ixPCIE_PERF_CNTL_TXCLK, perfctr); in si_get_pcie_usage() 1605 WREG32_PCIE(ixPCIE_PERF_COUNT_CNTL, 0x00000005); in si_get_pcie_usage() 1614 WREG32_PCIE(ixPCIE_PERF_COUNT_CNTL, 0x00000002); in si_get_pcie_usage() 2459 WREG32_PCIE(PCIE_P_CNTL, data); in si_program_aspm() 2622 WREG32_PCIE(PCIE_CNTL2, data); in si_program_aspm()
|
H A D | amdgpu_cgs.c | 92 return WREG32_PCIE(index, value); in amdgpu_cgs_write_ind_register()
|
H A D | amdgpu_xgmi.c | 905 WREG32_PCIE(pcs_status_reg, 0xFFFFFFFF); in pcs_clear_status() 906 WREG32_PCIE(pcs_status_reg, 0); in pcs_clear_status()
|
H A D | gmc_v7_0.c | 873 WREG32_PCIE(ixPCIE_CNTL2, data); in gmc_v7_0_enable_bif_mgls()
|
H A D | amdgpu.h | 1178 #define WREG32_PCIE(reg, v) adev->pcie_wreg(adev, (reg), (v)) macro
|
H A D | amdgpu_debugfs.c | 603 WREG32_PCIE(*pos, value); in amdgpu_debugfs_regs_pcie_write()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | r300.c | 96 WREG32_PCIE(RADEON_PCIE_TX_GART_CNTL, tmp); in rv370_pcie_gart_tlb_flush() 165 WREG32_PCIE(RADEON_PCIE_TX_GART_CNTL, tmp); in rv370_pcie_gart_enable() 168 WREG32_PCIE(RADEON_PCIE_TX_GART_END_LO, tmp); in rv370_pcie_gart_enable() 169 WREG32_PCIE(RADEON_PCIE_TX_GART_START_HI, 0); in rv370_pcie_gart_enable() 170 WREG32_PCIE(RADEON_PCIE_TX_GART_END_HI, 0); in rv370_pcie_gart_enable() 177 WREG32_PCIE(RADEON_PCIE_TX_GART_ERROR, 0); in rv370_pcie_gart_enable() 181 WREG32_PCIE(RADEON_PCIE_TX_GART_CNTL, tmp); in rv370_pcie_gart_enable() 194 WREG32_PCIE(RADEON_PCIE_TX_GART_START_LO, 0); in rv370_pcie_gart_disable() 195 WREG32_PCIE(RADEON_PCIE_TX_GART_END_LO, 0); in rv370_pcie_gart_disable() 196 WREG32_PCIE(RADEON_PCIE_TX_GART_START_HI, 0); in rv370_pcie_gart_disable() [all …]
|
H A D | si.c | 5581 WREG32_PCIE(PCIE_CNTL2, data); in si_enable_bif_mgls() 7279 WREG32_PCIE(PCIE_P_CNTL, data); in si_program_aspm() 7442 WREG32_PCIE(PCIE_CNTL2, data); in si_program_aspm()
|
H A D | rv6xx_dpm.c | 135 WREG32_PCIE(PCIE_P_CNTL, tmp); in rv6xx_enable_pll_sleep_in_l1()
|
H A D | rv770_dpm.c | 128 WREG32_PCIE(PCIE_P_CNTL, tmp); in rv770_enable_pll_sleep_in_l1()
|
H A D | radeon.h | 2516 #define WREG32_PCIE(reg, v) rv370_pcie_wreg(rdev, (reg), (v)) macro
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
H A D | smu_v11_0.c | 159 WREG32_PCIE(addr_start, src[i]); in smu_v11_0_load_microcode() 163 WREG32_PCIE(MP1_Public | (smnMP1_PUB_CTRL & 0xffffffff), in smu_v11_0_load_microcode() 165 WREG32_PCIE(MP1_Public | (smnMP1_PUB_CTRL & 0xffffffff), in smu_v11_0_load_microcode()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
H A D | smu_v13_0.c | 156 WREG32_PCIE(addr_start, src[i]); in smu_v13_0_load_microcode() 160 WREG32_PCIE(MP1_Public | (smnMP1_PUB_CTRL & 0xffffffff), in smu_v13_0_load_microcode() 162 WREG32_PCIE(MP1_Public | (smnMP1_PUB_CTRL & 0xffffffff), in smu_v13_0_load_microcode()
|