Home
last modified time | relevance | path

Searched refs:def2 (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dmmhub_v2_3.c529 uint32_t def, data, def1, data1, def2, data2; in mmhub_v2_3_update_medium_grain_light_sleep() local
533 def2 = data2 = RREG32_SOC15(MMHUB, 0, mmDAGB0_RD_CGTT_CLK_CTRL); in mmhub_v2_3_update_medium_grain_light_sleep()
565 if (def2 != data2) in mmhub_v2_3_update_medium_grain_light_sleep()
H A Dmmhub_v3_0.c548 uint32_t def1, data1, def2 = 0, data2 = 0; in mmhub_v3_0_update_medium_grain_clock_gating()
554 def2 = data2 = RREG32_SOC15(MMHUB, 0, regDAGB1_CNTL_MISC2); in mmhub_v3_0_update_medium_grain_clock_gating()
599 if (def2 != data2) in mmhub_v3_0_update_medium_grain_clock_gating()
H A Dmmhub_v1_0.c452 uint32_t def, data, def1, data1, def2 = 0, data2 = 0; in mmhub_v1_0_update_medium_grain_clock_gating() local
458 def2 = data2 = RREG32_SOC15(MMHUB, 0, mmDAGB1_CNTL_MISC2); in mmhub_v1_0_update_medium_grain_clock_gating()
508 if (adev->asic_type != CHIP_RAVEN && def2 != data2) in mmhub_v1_0_update_medium_grain_clock_gating()
H A Dmmhub_v1_7.c459 uint32_t def, data, def1, data1, def2 = 0, data2 = 0; in mmhub_v1_7_update_medium_grain_clock_gating() local
464 def2 = data2 = RREG32_SOC15(MMHUB, 0, regDAGB1_CNTL_MISC2); in mmhub_v1_7_update_medium_grain_clock_gating()
506 if (def2 != data2) in mmhub_v1_7_update_medium_grain_clock_gating()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Diceland_smumgr.c1857 const uint16_t *def1, *def2; in iceland_populate_bapm_parameters_in_dpm_table() local
1891 def2 = defaults->bapmti_rc; in iceland_populate_bapm_parameters_in_dpm_table()
1897 dpm_table->BAPMTI_RC[i][j][k] = PP_HOST_TO_SMC_US(*def2); in iceland_populate_bapm_parameters_in_dpm_table()
1899 def2++; in iceland_populate_bapm_parameters_in_dpm_table()
H A Dci_smumgr.c723 const uint16_t *def1, *def2; in ci_populate_bapm_parameters_in_dpm_table() local
748 def2 = defaults->bapmti_rc; in ci_populate_bapm_parameters_in_dpm_table()
754 dpm_table->BAPMTI_RC[i][j][k] = PP_HOST_TO_SMC_US(*def2); in ci_populate_bapm_parameters_in_dpm_table()
756 def2++; in ci_populate_bapm_parameters_in_dpm_table()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dci_dpm.c416 const u16 *def2; in ci_populate_bapm_parameters_in_dpm_table() local
438 def2 = pt_defaults->bapmti_rc; in ci_populate_bapm_parameters_in_dpm_table()
444 dpm_table->BAPMTI_RC[i][j][k] = cpu_to_be16(*def2); in ci_populate_bapm_parameters_in_dpm_table()
446 def2++; in ci_populate_bapm_parameters_in_dpm_table()