Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser2.c645 struct spread_spectrum_info *ss_info) in get_ss_info_v4_1() argument
651 if (!ss_info) in get_ss_info_v4_1()
663 ss_info->type.STEP_AND_DELAY_INFO = false; in get_ss_info_v4_1()
664 ss_info->spread_percentage_divider = 1000; in get_ss_info_v4_1()
666 ss_info->target_clock_range = 0xffffffff; in get_ss_info_v4_1()
670 ss_info->spread_spectrum_percentage = in get_ss_info_v4_1()
672 ss_info->spread_spectrum_range = in get_ss_info_v4_1()
675 ss_info->type.CENTER_MODE = true; in get_ss_info_v4_1()
678 ss_info->spread_spectrum_percentage = in get_ss_info_v4_1()
680 ss_info->spread_spectrum_range = in get_ss_info_v4_1()
[all …]
Dbios_parser.c467 struct spread_spectrum_info *ss_info);
651 struct spread_spectrum_info *ss_info) in get_ss_info_v3_1() argument
659 if (!ss_info) in get_ss_info_v3_1()
675 memset(ss_info, 0, sizeof(struct spread_spectrum_info)); in get_ss_info_v3_1()
698 ss_info->type.EXTERNAL = true; in get_ss_info_v3_1()
701 ss_info->type.CENTER_MODE = true; in get_ss_info_v3_1()
705 ss_info->spread_percentage_divider = 100; in get_ss_info_v3_1()
710 ss_info->spread_percentage_divider = 1000; in get_ss_info_v3_1()
712 ss_info->type.STEP_AND_DELAY_INFO = false; in get_ss_info_v3_1()
714 ss_info->target_clock_range = in get_ss_info_v3_1()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clock_source.c1197 struct spread_spectrum_info *ss_info; in get_ss_info_from_atombios() local
1224 ss_info = kcalloc(*ss_entries_num, in get_ss_info_from_atombios()
1227 ss_info_cur = ss_info; in get_ss_info_from_atombios()
1228 if (ss_info == NULL) in get_ss_info_from_atombios()
1237 for (i = 0, ss_info_cur = ss_info; in get_ss_info_from_atombios()
1251 for (i = 0, ss_info_cur = ss_info, ss_data_cur = ss_data; in get_ss_info_from_atombios()
1301 kfree(ss_info); in get_ss_info_from_atombios()
1308 kfree(ss_info); in get_ss_info_from_atombios()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc_bios_types.h68 struct spread_spectrum_info *ss_info);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
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()
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()
Dci_smumgr.c341 struct pp_atomctrl_internal_ss_info ss_info; in ci_calculate_sclk_params() local
345 vco_freq, &ss_info)) { in ci_calculate_sclk_params()
347 (ref_divider * ss_info.speed_spectrum_rate); in ci_calculate_sclk_params()
348 uint32_t clk_v = 4 * ss_info.speed_spectrum_percentage * in ci_calculate_sclk_params()
1070 pp_atomctrl_internal_ss_info ss_info; in ci_calculate_mclk_params() local
1085 if (0 == atomctrl_get_memory_clock_spread_spectrum(hwmgr, freq_nom, &ss_info)) { in ci_calculate_mclk_params()
1086 uint32_t clks = reference_clock * 5 / ss_info.speed_spectrum_rate; in ci_calculate_mclk_params()
1088 (uint32_t)((((131 * ss_info.speed_spectrum_percentage * in ci_calculate_mclk_params()
1089 ss_info.speed_spectrum_rate) / 100) * tmp) / freq_nom); in ci_calculate_mclk_params()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
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()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_atombios.c1387 struct _ATOM_SPREAD_SPECTRUM_INFO *ss_info; in radeon_atombios_get_ppll_ss_info() local
1395 ss_info = in radeon_atombios_get_ppll_ss_info()
1401 ((u8 *)&ss_info->asSS_Info[0]); in radeon_atombios_get_ppll_ss_info()
1515 union asic_ss_info *ss_info; in radeon_atombios_get_asic_ss_info() local
1533 ss_info = in radeon_atombios_get_asic_ss_info()
1541 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info.asSpreadSpectrum[0]); in radeon_atombios_get_asic_ss_info()
1559 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info_2.asSpreadSpectrum[0]); in radeon_atombios_get_asic_ss_info()
1581 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info_3.asSpreadSpectrum[0]); in radeon_atombios_get_asic_ss_info()
/kernel/linux/linux-5.10/fs/cifs/
Dsmb2pdu.c5277 struct smb3_fs_ss_info *ss_info = (struct smb3_fs_ss_info *) in SMB2_QFS_attr() local
5279 tcon->ss_flags = le32_to_cpu(ss_info->Flags); in SMB2_QFS_attr()
5281 le32_to_cpu(ss_info->PhysicalBytesPerSectorForPerf); in SMB2_QFS_attr()