Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dnbio_v6_1.c189 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 Dnbio_v7_4.c272 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 Dnbio_v2_3.c255 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 Dumc_v6_1.c56 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 Dumc_v8_7.c197 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 Dcik.c1622 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 Dumc_v6_7.c284 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 Dvi.c1118 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 Dnbio_v7_9.c503 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 Dumc_v8_10.c91 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 Dnbio_v7_0.c162 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 Dsoc15.c747 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 Dsi.c1599 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 Damdgpu_cgs.c92 return WREG32_PCIE(index, value); in amdgpu_cgs_write_ind_register()
H A Damdgpu_xgmi.c905 WREG32_PCIE(pcs_status_reg, 0xFFFFFFFF); in pcs_clear_status()
906 WREG32_PCIE(pcs_status_reg, 0); in pcs_clear_status()
H A Dgmc_v7_0.c873 WREG32_PCIE(ixPCIE_CNTL2, data); in gmc_v7_0_enable_bif_mgls()
H A Damdgpu.h1178 #define WREG32_PCIE(reg, v) adev->pcie_wreg(adev, (reg), (v)) macro
H A Damdgpu_debugfs.c603 WREG32_PCIE(*pos, value); in amdgpu_debugfs_regs_pcie_write()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dr300.c96 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 Dsi.c5581 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 Drv6xx_dpm.c135 WREG32_PCIE(PCIE_P_CNTL, tmp); in rv6xx_enable_pll_sleep_in_l1()
H A Drv770_dpm.c128 WREG32_PCIE(PCIE_P_CNTL, tmp); in rv770_enable_pll_sleep_in_l1()
H A Dradeon.h2516 #define WREG32_PCIE(reg, v) rv370_pcie_wreg(rdev, (reg), (v)) macro
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c159 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 Dsmu_v13_0.c156 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()