/openbsd/sys/dev/pci/drm/amd/amdgpu/ |
H A D | nbio_v7_2.c | 128 WREG32_PCIE_PORT(reg, doorbell_range); in nbio_v7_2_sdma_doorbell_range() 148 WREG32_PCIE_PORT(reg, doorbell_range); in nbio_v7_2_vcn_doorbell_range() 207 WREG32_PCIE_PORT(SOC15_REG_OFFSET(NBIO, 0, regGDC0_BIF_IH_DOORBELL_RANGE), in nbio_v7_2_ih_doorbell_range() 257 WREG32_PCIE_PORT(SOC15_REG_OFFSET(NBIO, 0, regCPM_CONTROL), data); in nbio_v7_2_update_medium_grain_clock_gating() 276 WREG32_PCIE_PORT(SOC15_REG_OFFSET(NBIO, 0, regPCIE_CNTL2), data); in nbio_v7_2_update_medium_grain_light_sleep() 288 WREG32_PCIE_PORT(SOC15_REG_OFFSET(NBIO, 0, regBIF1_PCIE_TX_POWER_CTRL_1), in nbio_v7_2_update_medium_grain_light_sleep() 303 WREG32_PCIE_PORT(SOC15_REG_OFFSET(NBIO, 0, regPCIE_CNTL2), data); in nbio_v7_2_update_medium_grain_light_sleep() 383 WREG32_PCIE_PORT(SOC15_REG_OFFSET(NBIO, 0, regBIF1_PCIE_MST_CTRL_3), data); in nbio_v7_2_init_registers() 393 WREG32_PCIE_PORT(SOC15_REG_OFFSET(NBIO, 0, regPCIE_CONFIG_CNTL), data); in nbio_v7_2_init_registers()
|
H A D | amdgpu_si.c | 2317 WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); in si_pcie_gen3_enable() 2321 WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); in si_pcie_gen3_enable() 2359 WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); in si_pcie_gen3_enable() 2366 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in si_pcie_gen3_enable() 2381 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in si_pcie_gen3_enable() 2449 WREG32_PCIE_PORT(PCIE_LC_N_FTS_CNTL, data); in si_program_aspm() 2454 WREG32_PCIE_PORT(PCIE_LC_CNTL3, data); in si_program_aspm() 2471 WREG32_PCIE_PORT(PCIE_LC_CNTL, data); in si_program_aspm() 2578 WREG32_PCIE_PORT(PCIE_LC_CNTL2, data); in si_program_aspm() 2616 WREG32_PCIE_PORT(PCIE_LC_CNTL, data); in si_program_aspm() [all …]
|
H A D | nbio_v7_7.c | 85 WREG32_PCIE_PORT(reg, doorbell_range); in nbio_v7_7_sdma_doorbell_range() 105 WREG32_PCIE_PORT(reg, doorbell_range); in nbio_v7_7_vcn_doorbell_range()
|
H A D | amdgpu.h | 1211 #define WREG32_PCIE_PORT(reg, v) adev->pciep_wreg(adev, (reg), (v)) macro
|
/openbsd/sys/dev/pci/drm/radeon/ |
H A D | rv770.c | 2049 WREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL, link_width_cntl); in rv770_pcie_gen2_enable() 2057 WREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL, link_width_cntl); in rv770_pcie_gen2_enable() 2060 WREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL, link_width_cntl); in rv770_pcie_gen2_enable() 2078 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in rv770_pcie_gen2_enable() 2082 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in rv770_pcie_gen2_enable() 2086 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in rv770_pcie_gen2_enable() 2090 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in rv770_pcie_gen2_enable() 2099 WREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL, link_width_cntl); in rv770_pcie_gen2_enable()
|
H A D | rv6xx_dpm.c | 57 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in rv6xx_force_pcie_gen1() 61 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in rv6xx_force_pcie_gen1() 71 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in rv6xx_force_pcie_gen1() 83 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in rv6xx_enable_pcie_gen2_support() 97 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in rv6xx_enable_bif_dynamic_pcie_gen2() 106 WREG32_PCIE_PORT(PCIE_LC_CNTL, tmp); in rv6xx_enable_l0s() 118 WREG32_PCIE_PORT(PCIE_LC_CNTL, tmp); in rv6xx_enable_l1() 127 WREG32_PCIE_PORT(PCIE_LC_CNTL, tmp); in rv6xx_enable_pll_sleep_in_l1()
|
H A D | cik.c | 6243 WREG32_PCIE_PORT(PCIE_CNTL2, data); in cik_enable_bif_mgls() 9578 WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); in cik_pcie_gen3_enable() 9582 WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); in cik_pcie_gen3_enable() 9622 WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); in cik_pcie_gen3_enable() 9679 WREG32_PCIE_PORT(PCIE_LC_CNTL3, data); in cik_program_aspm() 9684 WREG32_PCIE_PORT(PCIE_P_CNTL, data); in cik_program_aspm() 9696 WREG32_PCIE_PORT(PCIE_LC_CNTL, data); in cik_program_aspm() 9748 WREG32_PCIE_PORT(PCIE_LC_CNTL2, data); in cik_program_aspm() 9781 WREG32_PCIE_PORT(PCIE_LC_CNTL, data); in cik_program_aspm() 9787 WREG32_PCIE_PORT(PCIE_CNTL2, data); in cik_program_aspm() [all …]
|
H A D | si.c | 7179 WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); in si_pcie_gen3_enable() 7183 WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); in si_pcie_gen3_enable() 7223 WREG32_PCIE_PORT(PCIE_LC_CNTL4, tmp); in si_pcie_gen3_enable() 7231 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in si_pcie_gen3_enable() 7245 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in si_pcie_gen3_enable() 7271 WREG32_PCIE_PORT(PCIE_LC_N_FTS_CNTL, data); in si_program_aspm() 7276 WREG32_PCIE_PORT(PCIE_LC_CNTL3, data); in si_program_aspm() 7293 WREG32_PCIE_PORT(PCIE_LC_CNTL, data); in si_program_aspm() 7400 WREG32_PCIE_PORT(PCIE_LC_CNTL2, data); in si_program_aspm() 7438 WREG32_PCIE_PORT(PCIE_LC_CNTL, data); in si_program_aspm() [all …]
|
H A D | r600.c | 4447 WREG32_PCIE_PORT(RADEON_PCIE_LC_LINK_WIDTH_CNTL, link_width_cntl); in r600_set_pcie_lanes() 4530 WREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL, link_width_cntl); in r600_pcie_gen2_enable() 4537 WREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL, link_width_cntl); in r600_pcie_gen2_enable() 4540 WREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL, link_width_cntl); in r600_pcie_gen2_enable() 4565 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in r600_pcie_gen2_enable() 4581 WREG32_PCIE_PORT(PCIE_LC_TRAINING_CNTL, training_cntl); in r600_pcie_gen2_enable() 4585 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in r600_pcie_gen2_enable() 4590 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in r600_pcie_gen2_enable() 4599 WREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL, link_width_cntl); in r600_pcie_gen2_enable()
|
H A D | evergreen.c | 5364 WREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL, link_width_cntl); in evergreen_pcie_gen2_enable() 5368 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in evergreen_pcie_gen2_enable() 5372 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in evergreen_pcie_gen2_enable() 5376 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in evergreen_pcie_gen2_enable() 5380 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, speed_cntl); in evergreen_pcie_gen2_enable() 5389 WREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL, link_width_cntl); in evergreen_pcie_gen2_enable() 5517 WREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL, data); in evergreen_program_aspm() 5540 WREG32_PCIE_PORT(PCIE_LC_CNTL, pcie_lc_cntl); in evergreen_program_aspm()
|
H A D | btc_dpm.c | 1351 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in btc_enable_bif_dynamic_pcie_gen2() 1354 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in btc_enable_bif_dynamic_pcie_gen2() 1368 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in btc_enable_bif_dynamic_pcie_gen2()
|
H A D | rv770_dpm.c | 89 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in rv770_enable_bif_dynamic_pcie_gen2() 99 WREG32_PCIE_PORT(PCIE_LC_CNTL, tmp); in rv770_enable_l0s() 111 WREG32_PCIE_PORT(PCIE_LC_CNTL, tmp); in rv770_enable_l1() 120 WREG32_PCIE_PORT(PCIE_LC_CNTL, tmp); in rv770_enable_pll_sleep_in_l1()
|
H A D | cypress_dpm.c | 68 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in cypress_enable_bif_dynamic_pcie_gen2() 71 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in cypress_enable_bif_dynamic_pcie_gen2() 81 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in cypress_enable_bif_dynamic_pcie_gen2()
|
H A D | ni_dpm.c | 3482 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in ni_enable_bif_dynamic_pcie_gen2() 3485 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in ni_enable_bif_dynamic_pcie_gen2() 3495 WREG32_PCIE_PORT(PCIE_LC_SPEED_CNTL, tmp); in ni_enable_bif_dynamic_pcie_gen2()
|
H A D | radeon.h | 2569 #define WREG32_PCIE_PORT(reg, v) rdev->pciep_wreg(rdev, (reg), (v)) macro
|