Searched refs:ss_assign (Results 1 – 2 of 2) sorted by relevance
888 union asic_ss_assignment *ss_assign; in amdgpu_atombios_get_asic_ss_info() local913 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 …]
1380 struct _ATOM_SPREAD_SPECTRUM_ASSIGNMENT *ss_assign; in radeon_atombios_get_ppll_ss_info() local1392 ss_assign = (struct _ATOM_SPREAD_SPECTRUM_ASSIGNMENT*) in radeon_atombios_get_ppll_ss_info()1395 if (ss_assign->ucSS_Id == id) { in radeon_atombios_get_ppll_ss_info()1397 le16_to_cpu(ss_assign->usSpreadSpectrumPercentage); in radeon_atombios_get_ppll_ss_info()1398 ss->type = ss_assign->ucSpreadSpectrumType; in radeon_atombios_get_ppll_ss_info()1399 ss->step = ss_assign->ucSS_Step; in radeon_atombios_get_ppll_ss_info()1400 ss->delay = ss_assign->ucSS_Delay; in radeon_atombios_get_ppll_ss_info()1401 ss->range = ss_assign->ucSS_Range; in radeon_atombios_get_ppll_ss_info()1402 ss->refdiv = ss_assign->ucRecommendedRef_Div; in radeon_atombios_get_ppll_ss_info()1405 ss_assign = (struct _ATOM_SPREAD_SPECTRUM_ASSIGNMENT*) in radeon_atombios_get_ppll_ss_info()[all …]