Lines Matching refs:ss_assign

1380 	struct _ATOM_SPREAD_SPECTRUM_ASSIGNMENT *ss_assign;  in radeon_atombios_get_ppll_ss_info()  local
1392 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()
1406 ((u8 *)ss_assign + sizeof(struct _ATOM_SPREAD_SPECTRUM_ASSIGNMENT)); in radeon_atombios_get_ppll_ss_info()
1508 union asic_ss_assignment *ss_assign; in radeon_atombios_get_asic_ss_info() local
1533 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info.asSpreadSpectrum[0]); in radeon_atombios_get_asic_ss_info()
1535 if ((ss_assign->v1.ucClockIndication == id) && in radeon_atombios_get_asic_ss_info()
1536 (clock <= le32_to_cpu(ss_assign->v1.ulTargetClockRange))) { in radeon_atombios_get_asic_ss_info()
1538 le16_to_cpu(ss_assign->v1.usSpreadSpectrumPercentage); in radeon_atombios_get_asic_ss_info()
1539 ss->type = ss_assign->v1.ucSpreadSpectrumMode; in radeon_atombios_get_asic_ss_info()
1540 ss->rate = le16_to_cpu(ss_assign->v1.usSpreadRateInKhz); in radeon_atombios_get_asic_ss_info()
1544 ss_assign = (union asic_ss_assignment *) in radeon_atombios_get_asic_ss_info()
1545 ((u8 *)ss_assign + sizeof(ATOM_ASIC_SS_ASSIGNMENT)); in radeon_atombios_get_asic_ss_info()
1551 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info_2.asSpreadSpectrum[0]); in radeon_atombios_get_asic_ss_info()
1553 if ((ss_assign->v2.ucClockIndication == id) && in radeon_atombios_get_asic_ss_info()
1554 (clock <= le32_to_cpu(ss_assign->v2.ulTargetClockRange))) { in radeon_atombios_get_asic_ss_info()
1556 le16_to_cpu(ss_assign->v2.usSpreadSpectrumPercentage); in radeon_atombios_get_asic_ss_info()
1557 ss->type = ss_assign->v2.ucSpreadSpectrumMode; in radeon_atombios_get_asic_ss_info()
1558 ss->rate = le16_to_cpu(ss_assign->v2.usSpreadRateIn10Hz); in radeon_atombios_get_asic_ss_info()
1566 ss_assign = (union asic_ss_assignment *) in radeon_atombios_get_asic_ss_info()
1567 ((u8 *)ss_assign + sizeof(ATOM_ASIC_SS_ASSIGNMENT_V2)); in radeon_atombios_get_asic_ss_info()
1573 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info_3.asSpreadSpectrum[0]); in radeon_atombios_get_asic_ss_info()
1575 if ((ss_assign->v3.ucClockIndication == id) && in radeon_atombios_get_asic_ss_info()
1576 (clock <= le32_to_cpu(ss_assign->v3.ulTargetClockRange))) { in radeon_atombios_get_asic_ss_info()
1578 le16_to_cpu(ss_assign->v3.usSpreadSpectrumPercentage); in radeon_atombios_get_asic_ss_info()
1579 ss->type = ss_assign->v3.ucSpreadSpectrumMode; in radeon_atombios_get_asic_ss_info()
1580 ss->rate = le16_to_cpu(ss_assign->v3.usSpreadRateIn10Hz); in radeon_atombios_get_asic_ss_info()
1581 if (ss_assign->v3.ucSpreadSpectrumMode & in radeon_atombios_get_asic_ss_info()
1593 ss_assign = (union asic_ss_assignment *) in radeon_atombios_get_asic_ss_info()
1594 ((u8 *)ss_assign + sizeof(ATOM_ASIC_SS_ASSIGNMENT_V3)); in radeon_atombios_get_asic_ss_info()