Home
last modified time | relevance | path

Searched refs:ss_info (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/display/dc/bios/
H A Dbios_parser2.c813 if (!ss_info) in get_ss_info_v4_1()
834 ss_info->spread_spectrum_range = in get_ss_info_v4_1()
844 ss_info->spread_spectrum_range = in get_ss_info_v4_1()
855 ss_info->spread_spectrum_range = in get_ss_info_v4_1()
877 ss_info->spread_spectrum_range = in get_ss_info_v4_1()
901 if (!ss_info) in get_ss_info_v4_2()
929 ss_info->spread_spectrum_range = in get_ss_info_v4_2()
939 ss_info->spread_spectrum_range = in get_ss_info_v4_2()
950 ss_info->spread_spectrum_range = in get_ss_info_v4_2()
980 if (!ss_info) in get_ss_info_v4_5()
[all …]
H A Dbios_parser.c661 if (!ss_info) in get_ss_info_v3_1()
704 ss_info->type.EXTERNAL = true; in get_ss_info_v3_1()
707 ss_info->type.CENTER_MODE = true; in get_ss_info_v3_1()
720 ss_info->target_clock_range = in get_ss_info_v3_1()
724 ss_info->spread_spectrum_range = in get_ss_info_v3_1()
946 ss_info); in bios_parser_get_spread_spectrum_info()
960 ss_info); in bios_parser_get_spread_spectrum_info()
1011 ss_info); in get_ss_info_from_tbl()
1156 ss_info->type.EXTERNAL = true; in get_ss_info_from_ss_info_table()
1160 ss_info->type.CENTER_MODE = true; in get_ss_info_from_ss_info_table()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_clock_source.c1330 struct spread_spectrum_info *ss_info; in get_ss_info_from_atombios() local
1357 ss_info = kcalloc(*ss_entries_num, in get_ss_info_from_atombios()
1360 ss_info_cur = ss_info; in get_ss_info_from_atombios()
1361 if (ss_info == NULL) in get_ss_info_from_atombios()
1370 for (i = 0, ss_info_cur = ss_info; in get_ss_info_from_atombios()
1384 for (i = 0, ss_info_cur = ss_info, ss_data_cur = ss_data; in get_ss_info_from_atombios()
1434 kfree(ss_info); in get_ss_info_from_atombios()
1441 kfree(ss_info); in get_ss_info_from_atombios()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_bios_types.h68 struct spread_spectrum_info *ss_info);
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Diceland_smumgr.c840 pp_atomctrl_internal_ss_info ss_info; in iceland_calculate_sclk_params() local
843 if (0 == atomctrl_get_engine_clock_spread_spectrum(hwmgr, vcoFreq, &ss_info)) { in iceland_calculate_sclk_params()
849 uint32_t clkS = reference_clock * 5 / (reference_divider * ss_info.speed_spectrum_rate); in iceland_calculate_sclk_params()
852 uint32_t clkV = 4 * ss_info.speed_spectrum_percentage * fbdiv / (clkS * 10000); in iceland_calculate_sclk_params()
1112 pp_atomctrl_internal_ss_info ss_info; in iceland_calculate_mclk_params() local
1127 if (0 == atomctrl_get_memory_clock_spread_spectrum(hwmgr, freq_nom, &ss_info)) { in iceland_calculate_mclk_params()
1132 uint32_t clks = reference_clock * 5 / ss_info.speed_spectrum_rate; in iceland_calculate_mclk_params()
1137 (uint32_t)((((131 * ss_info.speed_spectrum_percentage * in iceland_calculate_mclk_params()
1138 ss_info.speed_spectrum_rate) / 100) * tmp) / freq_nom); in iceland_calculate_mclk_params()
H A Dtonga_smumgr.c583 pp_atomctrl_internal_ss_info ss_info; in tonga_calculate_sclk_params() local
586 if (0 == atomctrl_get_engine_clock_spread_spectrum(hwmgr, vcoFreq, &ss_info)) { in tonga_calculate_sclk_params()
592 uint32_t clkS = reference_clock * 5 / (reference_divider * ss_info.speed_spectrum_rate); in tonga_calculate_sclk_params()
595 uint32_t clkV = 4 * ss_info.speed_spectrum_percentage * fbdiv / (clkS * 10000); in tonga_calculate_sclk_params()
864 pp_atomctrl_internal_ss_info ss_info; in tonga_calculate_mclk_params() local
879 if (0 == atomctrl_get_memory_clock_spread_spectrum(hwmgr, freq_nom, &ss_info)) { in tonga_calculate_mclk_params()
884 uint32_t clks = reference_clock * 5 / ss_info.speed_spectrum_rate; in tonga_calculate_mclk_params()
889 (uint32_t)((((131 * ss_info.speed_spectrum_percentage * in tonga_calculate_mclk_params()
890 ss_info.speed_spectrum_rate) / 100) * tmp) / freq_nom); in tonga_calculate_mclk_params()
H A Dci_smumgr.c342 struct pp_atomctrl_internal_ss_info ss_info; in ci_calculate_sclk_params() local
346 vco_freq, &ss_info)) { in ci_calculate_sclk_params()
348 (ref_divider * ss_info.speed_spectrum_rate); in ci_calculate_sclk_params()
349 uint32_t clk_v = 4 * ss_info.speed_spectrum_percentage * in ci_calculate_sclk_params()
1071 pp_atomctrl_internal_ss_info ss_info; in ci_calculate_mclk_params() local
1086 if (0 == atomctrl_get_memory_clock_spread_spectrum(hwmgr, freq_nom, &ss_info)) { in ci_calculate_mclk_params()
1087 uint32_t clks = reference_clock * 5 / ss_info.speed_spectrum_rate; in ci_calculate_mclk_params()
1089 (uint32_t)((((131 * ss_info.speed_spectrum_percentage * in ci_calculate_mclk_params()
1090 ss_info.speed_spectrum_rate) / 100) * tmp) / freq_nom); in ci_calculate_mclk_params()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atombios.c887 union asic_ss_info *ss_info; in amdgpu_atombios_get_asic_ss_info() local
905 ss_info = in amdgpu_atombios_get_asic_ss_info()
913 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info.asSpreadSpectrum[0]); 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()
953 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info_3.asSpreadSpectrum[0]); in amdgpu_atombios_get_asic_ss_info()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_atombios.c1383 struct _ATOM_SPREAD_SPECTRUM_INFO *ss_info; in radeon_atombios_get_ppll_ss_info() local
1391 ss_info = in radeon_atombios_get_ppll_ss_info()
1397 ((u8 *)&ss_info->asSS_Info[0]); in radeon_atombios_get_ppll_ss_info()
1511 union asic_ss_info *ss_info; in radeon_atombios_get_asic_ss_info() local
1529 ss_info = in radeon_atombios_get_asic_ss_info()
1537 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info.asSpreadSpectrum[0]); in radeon_atombios_get_asic_ss_info()
1555 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info_2.asSpreadSpectrum[0]); in radeon_atombios_get_asic_ss_info()
1577 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info_3.asSpreadSpectrum[0]); in radeon_atombios_get_asic_ss_info()
/openbmc/linux/fs/smb/client/
H A Dsmb2pdu.c5976 struct smb3_fs_ss_info *ss_info = (struct smb3_fs_ss_info *) in SMB2_QFS_attr() local
5978 tcon->ss_flags = le32_to_cpu(ss_info->Flags); in SMB2_QFS_attr()
5980 le32_to_cpu(ss_info->PhysicalBytesPerSectorForPerf); in SMB2_QFS_attr()