/Linux-v4.19/net/sched/ |
D | sch_pie.c | 53 psched_time_t burst_time; member 96 vars->burst_time = PSCHED_NS2TICKS(100 * NSEC_PER_MSEC); in pie_vars_init() 107 if (q->vars.burst_time > 0) in drop_early() 304 if (q->vars.burst_time > 0) { in pie_process_dequeue() 305 if (q->vars.burst_time > dtime) in pie_process_dequeue() 306 q->vars.burst_time -= dtime; in pie_process_dequeue() 308 q->vars.burst_time = 0; in pie_process_dequeue()
|
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | cypress_dpm.c | 909 u32 burst_time; in cypress_calculate_burst_time() local 912 burst_time = 0; in cypress_calculate_burst_time() 914 burst_time = result - 4; in cypress_calculate_burst_time() 916 burst_time = result / 2 ; in cypress_calculate_burst_time() 917 if (burst_time > 18) in cypress_calculate_burst_time() 918 burst_time = 18; in cypress_calculate_burst_time() 921 return burst_time; in cypress_calculate_burst_time()
|
D | ni_dpm.c | 1509 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()
|
D | si_dpm.c | 4296 u32 burst_time; in si_populate_memory_timing_parameters() local 4307 burst_time = RREG32(MC_ARB_BURST_TIME) & STATE0_MASK; in si_populate_memory_timing_parameters() 4311 arb_regs->mc_arb_burst_time = (u8)burst_time; in si_populate_memory_timing_parameters()
|
D | ci_dpm.c | 2527 u32 burst_time; in ci_populate_memory_timing_parameters() local 2533 burst_time = RREG32(MC_ARB_BURST_TIME) & STATE0_MASK; in ci_populate_memory_timing_parameters() 2539 arb_regs->McArbBurstTime = (u8)burst_time; in ci_populate_memory_timing_parameters()
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | si_dpm.c | 3084 u32 burst_time; in ni_copy_and_switch_arb_sets() local 3091 burst_time = (RREG32(MC_ARB_BURST_TIME) & STATE0_MASK) >> STATE0_SHIFT; in ni_copy_and_switch_arb_sets() 3096 burst_time = (RREG32(MC_ARB_BURST_TIME) & STATE1_MASK) >> STATE1_SHIFT; in ni_copy_and_switch_arb_sets() 3101 burst_time = (RREG32(MC_ARB_BURST_TIME) & STATE2_MASK) >> STATE2_SHIFT; in ni_copy_and_switch_arb_sets() 3106 burst_time = (RREG32(MC_ARB_BURST_TIME) & STATE3_MASK) >> STATE3_SHIFT; in ni_copy_and_switch_arb_sets() 3116 WREG32_P(MC_ARB_BURST_TIME, STATE0(burst_time), ~STATE0_MASK); in ni_copy_and_switch_arb_sets() 3121 WREG32_P(MC_ARB_BURST_TIME, STATE1(burst_time), ~STATE1_MASK); in ni_copy_and_switch_arb_sets() 3126 WREG32_P(MC_ARB_BURST_TIME, STATE2(burst_time), ~STATE2_MASK); in ni_copy_and_switch_arb_sets() 3131 WREG32_P(MC_ARB_BURST_TIME, STATE3(burst_time), ~STATE3_MASK); in ni_copy_and_switch_arb_sets() 4762 u32 burst_time; in si_populate_memory_timing_parameters() local [all …]
|
D | ci_dpm.c | 208 u32 burst_time; in ci_copy_and_switch_arb_sets() local 215 burst_time = (RREG32(mmMC_ARB_BURST_TIME) & MC_ARB_BURST_TIME__STATE0_MASK) >> in ci_copy_and_switch_arb_sets() 221 burst_time = (RREG32(mmMC_ARB_BURST_TIME) & MC_ARB_BURST_TIME__STATE1_MASK) >> in ci_copy_and_switch_arb_sets() 232 WREG32_P(mmMC_ARB_BURST_TIME, (burst_time << MC_ARB_BURST_TIME__STATE0__SHIFT), in ci_copy_and_switch_arb_sets() 238 WREG32_P(mmMC_ARB_BURST_TIME, (burst_time << MC_ARB_BURST_TIME__STATE1__SHIFT), in ci_copy_and_switch_arb_sets() 2665 u32 burst_time; in ci_populate_memory_timing_parameters() local 2671 burst_time = RREG32(mmMC_ARB_BURST_TIME) & MC_ARB_BURST_TIME__STATE0_MASK; in ci_populate_memory_timing_parameters() 2677 arb_regs->McArbBurstTime = (u8)burst_time; in ci_populate_memory_timing_parameters()
|
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | vegam_smumgr.c | 1259 uint32_t burst_time; in vegam_populate_memory_timing_parameters() local 1273 burst_time = cgs_read_register(hwmgr->device, mmMC_ARB_BURST_TIME); in vegam_populate_memory_timing_parameters() 1279 arb_regs->McArbBurstTime = PP_HOST_TO_SMC_UL(burst_time); in vegam_populate_memory_timing_parameters()
|
D | polaris10_smumgr.c | 1340 uint32_t burst_time; in polaris10_populate_memory_timing_parameters() local 1350 burst_time = PHM_READ_FIELD(hwmgr->device, MC_ARB_BURST_TIME, STATE0); in polaris10_populate_memory_timing_parameters() 1355 arb_regs->McArbBurstTime = (uint8_t)burst_time; in polaris10_populate_memory_timing_parameters()
|
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | smu7_hwmgr.c | 450 uint32_t burst_time; in smu7_copy_and_switch_arb_sets() local 457 burst_time = PHM_READ_FIELD(hwmgr->device, MC_ARB_BURST_TIME, STATE0); in smu7_copy_and_switch_arb_sets() 462 burst_time = PHM_READ_FIELD(hwmgr->device, MC_ARB_BURST_TIME, STATE1); in smu7_copy_and_switch_arb_sets() 472 PHM_WRITE_FIELD(hwmgr->device, MC_ARB_BURST_TIME, STATE0, burst_time); in smu7_copy_and_switch_arb_sets() 477 PHM_WRITE_FIELD(hwmgr->device, MC_ARB_BURST_TIME, STATE1, burst_time); in smu7_copy_and_switch_arb_sets()
|