Searched refs:ss_assign (Results 1 – 2 of 2) sorted by relevance
873 union asic_ss_assignment *ss_assign; in amdgpu_atombios_get_asic_ss_info() local898 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info.asSpreadSpectrum[0]); in amdgpu_atombios_get_asic_ss_info()900 if ((ss_assign->v1.ucClockIndication == id) && in amdgpu_atombios_get_asic_ss_info()901 (clock <= le32_to_cpu(ss_assign->v1.ulTargetClockRange))) { in amdgpu_atombios_get_asic_ss_info()903 le16_to_cpu(ss_assign->v1.usSpreadSpectrumPercentage); in amdgpu_atombios_get_asic_ss_info()904 ss->type = ss_assign->v1.ucSpreadSpectrumMode; in amdgpu_atombios_get_asic_ss_info()905 ss->rate = le16_to_cpu(ss_assign->v1.usSpreadRateInKhz); in amdgpu_atombios_get_asic_ss_info()909 ss_assign = (union asic_ss_assignment *) in amdgpu_atombios_get_asic_ss_info()910 ((u8 *)ss_assign + sizeof(ATOM_ASIC_SS_ASSIGNMENT)); in amdgpu_atombios_get_asic_ss_info()916 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info_2.asSpreadSpectrum[0]); in amdgpu_atombios_get_asic_ss_info()[all …]
1394 struct _ATOM_SPREAD_SPECTRUM_ASSIGNMENT *ss_assign; in radeon_atombios_get_ppll_ss_info() local1406 ss_assign = (struct _ATOM_SPREAD_SPECTRUM_ASSIGNMENT*) in radeon_atombios_get_ppll_ss_info()1409 if (ss_assign->ucSS_Id == id) { in radeon_atombios_get_ppll_ss_info()1411 le16_to_cpu(ss_assign->usSpreadSpectrumPercentage); in radeon_atombios_get_ppll_ss_info()1412 ss->type = ss_assign->ucSpreadSpectrumType; in radeon_atombios_get_ppll_ss_info()1413 ss->step = ss_assign->ucSS_Step; in radeon_atombios_get_ppll_ss_info()1414 ss->delay = ss_assign->ucSS_Delay; in radeon_atombios_get_ppll_ss_info()1415 ss->range = ss_assign->ucSS_Range; in radeon_atombios_get_ppll_ss_info()1416 ss->refdiv = ss_assign->ucRecommendedRef_Div; in radeon_atombios_get_ppll_ss_info()1419 ss_assign = (struct _ATOM_SPREAD_SPECTRUM_ASSIGNMENT*) in radeon_atombios_get_ppll_ss_info()[all …]