Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/bios/
H A 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()
679 memset(ss_info, 0, sizeof(struct spread_spectrum_info)); in get_ss_info_v3_1()
702 ss_info->type.EXTERNAL = true; in get_ss_info_v3_1()
705 ss_info->type.CENTER_MODE = true; in get_ss_info_v3_1()
709 ss_info->spread_percentage_divider = 100; in get_ss_info_v3_1()
714 ss_info->spread_percentage_divider = 1000; in get_ss_info_v3_1()
716 ss_info->type.STEP_AND_DELAY_INFO = false; in get_ss_info_v3_1()
718 ss_info->target_clock_range = in get_ss_info_v3_1()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_clock_source.c1448 struct spread_spectrum_info *ss_info; in get_ss_info_from_atombios() local
1475 ss_info = kcalloc(*ss_entries_num, in get_ss_info_from_atombios()
1478 ss_info_cur = ss_info; in get_ss_info_from_atombios()
1479 if (ss_info == NULL) in get_ss_info_from_atombios()
1488 for (i = 0, ss_info_cur = ss_info; in get_ss_info_from_atombios()
1502 for (i = 0, ss_info_cur = ss_info, ss_data_cur = ss_data; in get_ss_info_from_atombios()
1552 kfree(ss_info); in get_ss_info_from_atombios()
1559 kfree(ss_info); in get_ss_info_from_atombios()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_bios_types.h68 struct spread_spectrum_info *ss_info);
/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 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()
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()
/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()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_atombios.c1384 struct _ATOM_SPREAD_SPECTRUM_INFO *ss_info; in radeon_atombios_get_ppll_ss_info() local
1392 ss_info = in radeon_atombios_get_ppll_ss_info()
1398 ((u8 *)&ss_info->asSS_Info[0]); in radeon_atombios_get_ppll_ss_info()
1512 union asic_ss_info *ss_info; in radeon_atombios_get_asic_ss_info() local
1530 ss_info = in radeon_atombios_get_asic_ss_info()
1538 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info.asSpreadSpectrum[0]); in radeon_atombios_get_asic_ss_info()
1556 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info_2.asSpreadSpectrum[0]); in radeon_atombios_get_asic_ss_info()
1578 ss_assign = (union asic_ss_assignment *)((u8 *)&ss_info->info_3.asSpreadSpectrum[0]); in radeon_atombios_get_asic_ss_info()
/linux/fs/smb/client/
H A Dsmb2pdu.c6079 struct smb3_fs_ss_info *ss_info = (struct smb3_fs_ss_info *) in SMB2_QFS_attr() local
6081 tcon->ss_flags = le32_to_cpu(ss_info->Flags); in SMB2_QFS_attr()
6083 le32_to_cpu(ss_info->PhysicalBytesPerSectorForPerf); in SMB2_QFS_attr()