Home
last modified time | relevance | path

Searched refs:burst_time (Results 1 – 8 of 8) sorted by relevance

/openbsd/sys/dev/pci/drm/radeon/
H A Dcypress_dpm.c912 u32 burst_time; in cypress_calculate_burst_time() local
915 burst_time = 0; in cypress_calculate_burst_time()
917 burst_time = result - 4; in cypress_calculate_burst_time()
919 burst_time = result / 2 ; in cypress_calculate_burst_time()
920 if (burst_time > 18) in cypress_calculate_burst_time()
921 burst_time = 18; in cypress_calculate_burst_time()
924 return burst_time; in cypress_calculate_burst_time()
H A Dni_dpm.c1509 u32 burst_time; in ni_copy_and_switch_arb_sets() local
1516 burst_time = (RREG32(MC_ARB_BURST_TIME) & STATE0_MASK) >> STATE0_SHIFT; in ni_copy_and_switch_arb_sets()
1521 burst_time = (RREG32(MC_ARB_BURST_TIME) & STATE1_MASK) >> STATE1_SHIFT; in ni_copy_and_switch_arb_sets()
1526 burst_time = (RREG32(MC_ARB_BURST_TIME) & STATE2_MASK) >> STATE2_SHIFT; in ni_copy_and_switch_arb_sets()
1531 burst_time = (RREG32(MC_ARB_BURST_TIME) & STATE3_MASK) >> STATE3_SHIFT; in ni_copy_and_switch_arb_sets()
1541 WREG32_P(MC_ARB_BURST_TIME, STATE0(burst_time), ~STATE0_MASK); in ni_copy_and_switch_arb_sets()
1546 WREG32_P(MC_ARB_BURST_TIME, STATE1(burst_time), ~STATE1_MASK); in ni_copy_and_switch_arb_sets()
1551 WREG32_P(MC_ARB_BURST_TIME, STATE2(burst_time), ~STATE2_MASK); in ni_copy_and_switch_arb_sets()
1556 WREG32_P(MC_ARB_BURST_TIME, STATE3(burst_time), ~STATE3_MASK); in ni_copy_and_switch_arb_sets()
H A Dsi_dpm.c4278 u32 burst_time; in si_populate_memory_timing_parameters() local
4289 burst_time = RREG32(MC_ARB_BURST_TIME) & STATE0_MASK; in si_populate_memory_timing_parameters()
4293 arb_regs->mc_arb_burst_time = (u8)burst_time; in si_populate_memory_timing_parameters()
H A Dci_dpm.c2490 u32 burst_time; in ci_populate_memory_timing_parameters() local
2496 burst_time = RREG32(MC_ARB_BURST_TIME) & STATE0_MASK; in ci_populate_memory_timing_parameters()
2502 arb_regs->McArbBurstTime = (u8)burst_time; in ci_populate_memory_timing_parameters()
/openbsd/sys/dev/pci/drm/amd/pm/legacy-dpm/
H A Damdgpu_si_dpm.c3081 u32 burst_time; in ni_copy_and_switch_arb_sets() local
3088 burst_time = (RREG32(MC_ARB_BURST_TIME) & STATE0_MASK) >> STATE0_SHIFT; in ni_copy_and_switch_arb_sets()
3093 burst_time = (RREG32(MC_ARB_BURST_TIME) & STATE1_MASK) >> STATE1_SHIFT; in ni_copy_and_switch_arb_sets()
3098 burst_time = (RREG32(MC_ARB_BURST_TIME) & STATE2_MASK) >> STATE2_SHIFT; in ni_copy_and_switch_arb_sets()
3113 WREG32_P(MC_ARB_BURST_TIME, STATE0(burst_time), ~STATE0_MASK); in ni_copy_and_switch_arb_sets()
3118 WREG32_P(MC_ARB_BURST_TIME, STATE1(burst_time), ~STATE1_MASK); in ni_copy_and_switch_arb_sets()
3123 WREG32_P(MC_ARB_BURST_TIME, STATE2(burst_time), ~STATE2_MASK); in ni_copy_and_switch_arb_sets()
3128 WREG32_P(MC_ARB_BURST_TIME, STATE3(burst_time), ~STATE3_MASK); in ni_copy_and_switch_arb_sets()
4757 u32 burst_time; in si_populate_memory_timing_parameters() local
4768 burst_time = RREG32(MC_ARB_BURST_TIME) & STATE0_MASK; in si_populate_memory_timing_parameters()
[all …]
/openbsd/sys/dev/pci/drm/amd/pm/powerplay/smumgr/
H A Dvegam_smumgr.c1250 uint32_t burst_time; in vegam_populate_memory_timing_parameters() local
1264 burst_time = cgs_read_register(hwmgr->device, mmMC_ARB_BURST_TIME); in vegam_populate_memory_timing_parameters()
1270 arb_regs->McArbBurstTime = PP_HOST_TO_SMC_UL(burst_time); in vegam_populate_memory_timing_parameters()
H A Dpolaris10_smumgr.c1470 uint32_t burst_time; in polaris10_populate_memory_timing_parameters() local
1480 burst_time = PHM_READ_FIELD(hwmgr->device, MC_ARB_BURST_TIME, STATE0); in polaris10_populate_memory_timing_parameters()
1485 arb_regs->McArbBurstTime = (uint8_t)burst_time; in polaris10_populate_memory_timing_parameters()
/openbsd/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_hwmgr.c518 uint32_t burst_time; in smu7_copy_and_switch_arb_sets() local
525 burst_time = PHM_READ_FIELD(hwmgr->device, MC_ARB_BURST_TIME, STATE0); in smu7_copy_and_switch_arb_sets()
530 burst_time = PHM_READ_FIELD(hwmgr->device, MC_ARB_BURST_TIME, STATE1); in smu7_copy_and_switch_arb_sets()
540 PHM_WRITE_FIELD(hwmgr->device, MC_ARB_BURST_TIME, STATE0, burst_time); in smu7_copy_and_switch_arb_sets()
545 PHM_WRITE_FIELD(hwmgr->device, MC_ARB_BURST_TIME, STATE1, burst_time); in smu7_copy_and_switch_arb_sets()