Home
last modified time | relevance | path

Searched refs:ss_assign (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.c888 union asic_ss_assignment *ss_assign; in amdgpu_atombios_get_asic_ss_info() local
913 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info.asSpreadSpectrum[0]); in amdgpu_atombios_get_asic_ss_info()
915 if ((ss_assign->v1.ucClockIndication == id) && in amdgpu_atombios_get_asic_ss_info()
916 (clock <= le32_to_cpu(ss_assign->v1.ulTargetClockRange))) { in amdgpu_atombios_get_asic_ss_info()
918 le16_to_cpu(ss_assign->v1.usSpreadSpectrumPercentage); in amdgpu_atombios_get_asic_ss_info()
919 ss->type = ss_assign->v1.ucSpreadSpectrumMode; in amdgpu_atombios_get_asic_ss_info()
920 ss->rate = le16_to_cpu(ss_assign->v1.usSpreadRateInKhz); in amdgpu_atombios_get_asic_ss_info()
924 ss_assign = (union asic_ss_assignment *) in amdgpu_atombios_get_asic_ss_info()
925 ((u8 *)ss_assign + sizeof(ATOM_ASIC_SS_ASSIGNMENT)); in amdgpu_atombios_get_asic_ss_info()
931 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info_2.asSpreadSpectrum[0]); in amdgpu_atombios_get_asic_ss_info()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_atombios.c1388 struct _ATOM_SPREAD_SPECTRUM_ASSIGNMENT *ss_assign; in radeon_atombios_get_ppll_ss_info() local
1400 ss_assign = (struct _ATOM_SPREAD_SPECTRUM_ASSIGNMENT*) in radeon_atombios_get_ppll_ss_info()
1403 if (ss_assign->ucSS_Id == id) { in radeon_atombios_get_ppll_ss_info()
1405 le16_to_cpu(ss_assign->usSpreadSpectrumPercentage); in radeon_atombios_get_ppll_ss_info()
1406 ss->type = ss_assign->ucSpreadSpectrumType; in radeon_atombios_get_ppll_ss_info()
1407 ss->step = ss_assign->ucSS_Step; in radeon_atombios_get_ppll_ss_info()
1408 ss->delay = ss_assign->ucSS_Delay; in radeon_atombios_get_ppll_ss_info()
1409 ss->range = ss_assign->ucSS_Range; in radeon_atombios_get_ppll_ss_info()
1410 ss->refdiv = ss_assign->ucRecommendedRef_Div; in radeon_atombios_get_ppll_ss_info()
1413 ss_assign = (struct _ATOM_SPREAD_SPECTRUM_ASSIGNMENT*) in radeon_atombios_get_ppll_ss_info()
[all …]