• Home
  • Raw
  • Download

Lines Matching refs:ss_assign

873 	union asic_ss_assignment *ss_assign;  in amdgpu_atombios_get_asic_ss_info()  local
898 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()
918 if ((ss_assign->v2.ucClockIndication == id) && in amdgpu_atombios_get_asic_ss_info()
919 (clock <= le32_to_cpu(ss_assign->v2.ulTargetClockRange))) { in amdgpu_atombios_get_asic_ss_info()
921 le16_to_cpu(ss_assign->v2.usSpreadSpectrumPercentage); in amdgpu_atombios_get_asic_ss_info()
922 ss->type = ss_assign->v2.ucSpreadSpectrumMode; in amdgpu_atombios_get_asic_ss_info()
923 ss->rate = le16_to_cpu(ss_assign->v2.usSpreadRateIn10Hz); in amdgpu_atombios_get_asic_ss_info()
931 ss_assign = (union asic_ss_assignment *) in amdgpu_atombios_get_asic_ss_info()
932 ((u8 *)ss_assign + sizeof(ATOM_ASIC_SS_ASSIGNMENT_V2)); in amdgpu_atombios_get_asic_ss_info()
938 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info_3.asSpreadSpectrum[0]); in amdgpu_atombios_get_asic_ss_info()
940 if ((ss_assign->v3.ucClockIndication == id) && in amdgpu_atombios_get_asic_ss_info()
941 (clock <= le32_to_cpu(ss_assign->v3.ulTargetClockRange))) { in amdgpu_atombios_get_asic_ss_info()
943 le16_to_cpu(ss_assign->v3.usSpreadSpectrumPercentage); in amdgpu_atombios_get_asic_ss_info()
944 ss->type = ss_assign->v3.ucSpreadSpectrumMode; in amdgpu_atombios_get_asic_ss_info()
945 ss->rate = le16_to_cpu(ss_assign->v3.usSpreadRateIn10Hz); in amdgpu_atombios_get_asic_ss_info()
946 if (ss_assign->v3.ucSpreadSpectrumMode & in amdgpu_atombios_get_asic_ss_info()
958 ss_assign = (union asic_ss_assignment *) in amdgpu_atombios_get_asic_ss_info()
959 ((u8 *)ss_assign + sizeof(ATOM_ASIC_SS_ASSIGNMENT_V3)); in amdgpu_atombios_get_asic_ss_info()