/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | vegam_smumgr.c | 1255 SMU75_Discrete_MCArbDramTimingTableEntry *arb_regs) in vegam_populate_memory_timing_parameters() argument 1277 arb_regs->McArbDramTiming = PP_HOST_TO_SMC_UL(dram_timing); in vegam_populate_memory_timing_parameters() 1278 arb_regs->McArbDramTiming2 = PP_HOST_TO_SMC_UL(dram_timing2); in vegam_populate_memory_timing_parameters() 1279 arb_regs->McArbBurstTime = PP_HOST_TO_SMC_UL(burst_time); in vegam_populate_memory_timing_parameters() 1280 arb_regs->McArbRfshRate = PP_HOST_TO_SMC_UL(rfsh_rate); in vegam_populate_memory_timing_parameters() 1281 arb_regs->McArbMisc3 = PP_HOST_TO_SMC_UL(misc3); in vegam_populate_memory_timing_parameters() 1290 struct SMU75_Discrete_MCArbDramTimingTable arb_regs; in vegam_program_memory_timing_parameters() local 1294 memset(&arb_regs, 0, sizeof(SMU75_Discrete_MCArbDramTimingTable)); in vegam_program_memory_timing_parameters() 1301 &arb_regs.entries[i][j]); in vegam_program_memory_timing_parameters() 1310 (uint8_t *)&arb_regs, in vegam_program_memory_timing_parameters()
|
D | fiji_smumgr.c | 1499 struct SMU73_Discrete_MCArbDramTimingTableEntry *arb_regs) in fiji_populate_memory_timing_parameters() argument 1520 arb_regs->McArbDramTiming = PP_HOST_TO_SMC_UL(dram_timing); in fiji_populate_memory_timing_parameters() 1521 arb_regs->McArbDramTiming2 = PP_HOST_TO_SMC_UL(dram_timing2); in fiji_populate_memory_timing_parameters() 1522 arb_regs->McArbBurstTime = (uint8_t)burstTime; in fiji_populate_memory_timing_parameters() 1523 arb_regs->TRRDS = (uint8_t)trrds; in fiji_populate_memory_timing_parameters() 1524 arb_regs->TRRDL = (uint8_t)trrdl; in fiji_populate_memory_timing_parameters() 1533 struct SMU73_Discrete_MCArbDramTimingTable arb_regs; in fiji_program_memory_timing_parameters() local 1542 &arb_regs.entries[i][j]); in fiji_program_memory_timing_parameters() 1552 (uint8_t *)&arb_regs, in fiji_program_memory_timing_parameters()
|
D | iceland_smumgr.c | 1586 struct SMU71_Discrete_MCArbDramTimingTableEntry *arb_regs in iceland_populate_memory_timing_parameters() argument 1604 arb_regs->McArbDramTiming = PP_HOST_TO_SMC_UL(dramTiming); in iceland_populate_memory_timing_parameters() 1605 arb_regs->McArbDramTiming2 = PP_HOST_TO_SMC_UL(dramTiming2); in iceland_populate_memory_timing_parameters() 1606 arb_regs->McArbBurstTime = (uint8_t)burstTime; in iceland_populate_memory_timing_parameters() 1616 SMU71_Discrete_MCArbDramTimingTable arb_regs; in iceland_program_memory_timing_parameters() local 1619 memset(&arb_regs, 0x00, sizeof(SMU71_Discrete_MCArbDramTimingTable)); in iceland_program_memory_timing_parameters() 1626 &arb_regs.entries[i][j]); in iceland_program_memory_timing_parameters() 1638 (uint8_t *)&arb_regs, in iceland_program_memory_timing_parameters()
|
D | ci_smumgr.c | 1623 struct SMU7_Discrete_MCArbDramTimingTableEntry *arb_regs in ci_populate_memory_timing_parameters() argument 1641 arb_regs->McArbDramTiming = PP_HOST_TO_SMC_UL(dramTiming); in ci_populate_memory_timing_parameters() 1642 arb_regs->McArbDramTiming2 = PP_HOST_TO_SMC_UL(dramTiming2); in ci_populate_memory_timing_parameters() 1643 arb_regs->McArbBurstTime = (uint8_t)burstTime; in ci_populate_memory_timing_parameters() 1653 SMU7_Discrete_MCArbDramTimingTable arb_regs; in ci_program_memory_timing_parameters() local 1656 memset(&arb_regs, 0x00, sizeof(SMU7_Discrete_MCArbDramTimingTable)); in ci_program_memory_timing_parameters() 1663 &arb_regs.entries[i][j]); in ci_program_memory_timing_parameters() 1674 (uint8_t *)&arb_regs, in ci_program_memory_timing_parameters()
|
D | tonga_smumgr.c | 1461 struct SMU72_Discrete_MCArbDramTimingTableEntry *arb_regs in tonga_populate_memory_timing_parameters() argument 1479 arb_regs->McArbDramTiming = PP_HOST_TO_SMC_UL(dramTiming); in tonga_populate_memory_timing_parameters() 1480 arb_regs->McArbDramTiming2 = PP_HOST_TO_SMC_UL(dramTiming2); in tonga_populate_memory_timing_parameters() 1481 arb_regs->McArbBurstTime = (uint8_t)burstTime; in tonga_populate_memory_timing_parameters() 1492 SMU72_Discrete_MCArbDramTimingTable arb_regs; in tonga_program_memory_timing_parameters() local 1495 memset(&arb_regs, 0x00, sizeof(SMU72_Discrete_MCArbDramTimingTable)); in tonga_program_memory_timing_parameters() 1502 &arb_regs.entries[i][j]); in tonga_program_memory_timing_parameters() 1513 (uint8_t *)&arb_regs, in tonga_program_memory_timing_parameters()
|
D | polaris10_smumgr.c | 1338 SMU74_Discrete_MCArbDramTimingTableEntry *arb_regs) in polaris10_populate_memory_timing_parameters() argument 1355 arb_regs->McArbDramTiming = PP_HOST_TO_SMC_UL(dram_timing); in polaris10_populate_memory_timing_parameters() 1356 arb_regs->McArbDramTiming2 = PP_HOST_TO_SMC_UL(dram_timing2); in polaris10_populate_memory_timing_parameters() 1357 arb_regs->McArbBurstTime = (uint8_t)burst_time; in polaris10_populate_memory_timing_parameters() 1366 struct SMU74_Discrete_MCArbDramTimingTable arb_regs; in polaris10_program_memory_timing_parameters() local 1375 &arb_regs.entries[i][j]); in polaris10_program_memory_timing_parameters() 1386 (uint8_t *)&arb_regs, in polaris10_program_memory_timing_parameters()
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | si_dpm.c | 4295 SMC_SIslands_MCArbDramTimingRegisterSet *arb_regs) in si_populate_memory_timing_parameters() argument 4301 arb_regs->mc_arb_rfsh_rate = in si_populate_memory_timing_parameters() 4312 arb_regs->mc_arb_dram_timing = cpu_to_be32(dram_timing); in si_populate_memory_timing_parameters() 4313 arb_regs->mc_arb_dram_timing2 = cpu_to_be32(dram_timing2); in si_populate_memory_timing_parameters() 4314 arb_regs->mc_arb_burst_time = (u8)burst_time; in si_populate_memory_timing_parameters() 4325 SMC_SIslands_MCArbDramTimingRegisterSet arb_regs = { 0 }; in si_do_program_memory_timing_parameters() local 4329 ret = si_populate_memory_timing_parameters(rdev, &state->performance_levels[i], &arb_regs); in si_do_program_memory_timing_parameters() 4336 (u8 *)&arb_regs, in si_do_program_memory_timing_parameters() 4665 SMC_SIslands_MCArbDramTimingRegisterSet arb_regs = { 0 }; in si_program_ulv_memory_timing_parameters() local 4669 &arb_regs); in si_program_ulv_memory_timing_parameters() [all …]
|
D | ni_dpm.c | 1617 SMC_NIslands_MCArbDramTimingRegisterSet *arb_regs) in ni_populate_memory_timing_parameters() argument 1622 arb_regs->mc_arb_rfsh_rate = in ni_populate_memory_timing_parameters() 1631 arb_regs->mc_arb_dram_timing = cpu_to_be32(dram_timing); in ni_populate_memory_timing_parameters() 1632 arb_regs->mc_arb_dram_timing2 = cpu_to_be32(dram_timing2); in ni_populate_memory_timing_parameters() 1644 SMC_NIslands_MCArbDramTimingRegisterSet arb_regs = { 0 }; in ni_do_program_memory_timing_parameters() local 1648 ret = ni_populate_memory_timing_parameters(rdev, &state->performance_levels[i], &arb_regs); in ni_do_program_memory_timing_parameters() 1656 (u8 *)&arb_regs, in ni_do_program_memory_timing_parameters()
|
D | ci_dpm.c | 2525 SMU7_Discrete_MCArbDramTimingTableEntry *arb_regs) in ci_populate_memory_timing_parameters() argument 2539 arb_regs->McArbDramTiming = cpu_to_be32(dram_timing); in ci_populate_memory_timing_parameters() 2540 arb_regs->McArbDramTiming2 = cpu_to_be32(dram_timing2); in ci_populate_memory_timing_parameters() 2541 arb_regs->McArbBurstTime = (u8)burst_time; in ci_populate_memory_timing_parameters() 2549 SMU7_Discrete_MCArbDramTimingTable arb_regs; in ci_do_program_memory_timing_parameters() local 2553 memset(&arb_regs, 0, sizeof(SMU7_Discrete_MCArbDramTimingTable)); in ci_do_program_memory_timing_parameters() 2560 &arb_regs.entries[i][j]); in ci_do_program_memory_timing_parameters() 2569 (u8 *)&arb_regs, in ci_do_program_memory_timing_parameters()
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | si_dpm.c | 4759 SMC_SIslands_MCArbDramTimingRegisterSet *arb_regs) in si_populate_memory_timing_parameters() argument 4765 arb_regs->mc_arb_rfsh_rate = in si_populate_memory_timing_parameters() 4776 arb_regs->mc_arb_dram_timing = cpu_to_be32(dram_timing); in si_populate_memory_timing_parameters() 4777 arb_regs->mc_arb_dram_timing2 = cpu_to_be32(dram_timing2); in si_populate_memory_timing_parameters() 4778 arb_regs->mc_arb_burst_time = (u8)burst_time; in si_populate_memory_timing_parameters() 4789 SMC_SIslands_MCArbDramTimingRegisterSet arb_regs = { 0 }; in si_do_program_memory_timing_parameters() local 4793 ret = si_populate_memory_timing_parameters(adev, &state->performance_levels[i], &arb_regs); in si_do_program_memory_timing_parameters() 4800 (u8 *)&arb_regs, in si_do_program_memory_timing_parameters() 5128 SMC_SIslands_MCArbDramTimingRegisterSet arb_regs = { 0 }; in si_program_ulv_memory_timing_parameters() local 5132 &arb_regs); in si_program_ulv_memory_timing_parameters() [all …]
|