/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppatomctrl.c | 250 pp_atomctrl_memory_clock_param *mpll_param, in atomctrl_get_memory_pll_dividers_si() 265 mpll_param->mpll_fb_divider.clk_frac = in atomctrl_get_memory_pll_dividers_si() 267 mpll_param->mpll_fb_divider.cl_kf = in atomctrl_get_memory_pll_dividers_si() 269 mpll_param->mpll_post_divider = in atomctrl_get_memory_pll_dividers_si() 271 mpll_param->vco_mode = in atomctrl_get_memory_pll_dividers_si() 274 mpll_param->yclk_sel = in atomctrl_get_memory_pll_dividers_si() 277 mpll_param->qdr = in atomctrl_get_memory_pll_dividers_si() 280 mpll_param->half_rate = in atomctrl_get_memory_pll_dividers_si() 283 mpll_param->dll_speed = in atomctrl_get_memory_pll_dividers_si() 285 mpll_param in atomctrl_get_memory_pll_dividers_si() 247 atomctrl_get_memory_pll_dividers_si( struct pp_hwmgr *hwmgr, uint32_t clock_value, pp_atomctrl_memory_clock_param *mpll_param, bool strobe_mode) atomctrl_get_memory_pll_dividers_si() argument 298 atomctrl_get_memory_pll_dividers_vi(struct pp_hwmgr *hwmgr, uint32_t clock_value, pp_atomctrl_memory_clock_param *mpll_param) atomctrl_get_memory_pll_dividers_vi() argument 318 atomctrl_get_memory_pll_dividers_ai(struct pp_hwmgr *hwmgr, uint32_t clock_value, pp_atomctrl_memory_clock_param_ai *mpll_param) atomctrl_get_memory_pll_dividers_ai() argument [all...] |
H A D | ppatomctrl.h | 290 extern int atomctrl_get_memory_pll_dividers_si(struct pp_hwmgr *hwmgr, uint32_t clock_value, pp_atomctrl_memory_clock_param *mpll_param, bool strobe_mode); 296 uint32_t clock_value, pp_atomctrl_memory_clock_param *mpll_param); 298 uint32_t clock_value, pp_atomctrl_memory_clock_param_ai *mpll_param);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppatomctrl.c | 282 * @mpll_param: output parameter: memory clock parameters 288 pp_atomctrl_memory_clock_param *mpll_param, in atomctrl_get_memory_pll_dividers_si() 303 mpll_param->mpll_fb_divider.clk_frac = in atomctrl_get_memory_pll_dividers_si() 305 mpll_param->mpll_fb_divider.cl_kf = in atomctrl_get_memory_pll_dividers_si() 307 mpll_param->mpll_post_divider = in atomctrl_get_memory_pll_dividers_si() 309 mpll_param->vco_mode = in atomctrl_get_memory_pll_dividers_si() 312 mpll_param->yclk_sel = in atomctrl_get_memory_pll_dividers_si() 315 mpll_param->qdr = in atomctrl_get_memory_pll_dividers_si() 318 mpll_param->half_rate = in atomctrl_get_memory_pll_dividers_si() 321 mpll_param in atomctrl_get_memory_pll_dividers_si() 285 atomctrl_get_memory_pll_dividers_si( struct pp_hwmgr *hwmgr, uint32_t clock_value, pp_atomctrl_memory_clock_param *mpll_param, bool strobe_mode) atomctrl_get_memory_pll_dividers_si() argument 337 atomctrl_get_memory_pll_dividers_vi(struct pp_hwmgr *hwmgr, uint32_t clock_value, pp_atomctrl_memory_clock_param *mpll_param) atomctrl_get_memory_pll_dividers_vi() argument 357 atomctrl_get_memory_pll_dividers_ai(struct pp_hwmgr *hwmgr, uint32_t clock_value, pp_atomctrl_memory_clock_param_ai *mpll_param) atomctrl_get_memory_pll_dividers_ai() argument [all...] |
H A D | ppatomctrl.h | 305 extern int atomctrl_get_memory_pll_dividers_si(struct pp_hwmgr *hwmgr, uint32_t clock_value, pp_atomctrl_memory_clock_param *mpll_param, bool strobe_mode); 311 uint32_t clock_value, pp_atomctrl_memory_clock_param *mpll_param); 313 uint32_t clock_value, pp_atomctrl_memory_clock_param_ai *mpll_param);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_atombios.c | 1089 struct atom_mpll_param *mpll_param) in amdgpu_atombios_get_memory_pll_dividers() 1096 memset(mpll_param, 0, sizeof(struct atom_mpll_param)); in amdgpu_atombios_get_memory_pll_dividers() 1113 mpll_param->clkfrac = le16_to_cpu(args.ulFbDiv.usFbDivFrac); in amdgpu_atombios_get_memory_pll_dividers() 1114 mpll_param->clkf = le16_to_cpu(args.ulFbDiv.usFbDiv); in amdgpu_atombios_get_memory_pll_dividers() 1115 mpll_param->post_div = args.ucPostDiv; in amdgpu_atombios_get_memory_pll_dividers() 1116 mpll_param->dll_speed = args.ucDllSpeed; in amdgpu_atombios_get_memory_pll_dividers() 1117 mpll_param->bwcntl = args.ucBWCntl; in amdgpu_atombios_get_memory_pll_dividers() 1118 mpll_param->vco_mode = in amdgpu_atombios_get_memory_pll_dividers() 1120 mpll_param->yclk_sel = in amdgpu_atombios_get_memory_pll_dividers() 1122 mpll_param in amdgpu_atombios_get_memory_pll_dividers() 1086 amdgpu_atombios_get_memory_pll_dividers(struct amdgpu_device *adev, u32 clock, bool strobe_mode, struct atom_mpll_param *mpll_param) amdgpu_atombios_get_memory_pll_dividers() argument [all...] |
H A D | amdgpu_atombios.h | 166 struct atom_mpll_param *mpll_param);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_atombios.c | 1090 struct atom_mpll_param *mpll_param) in amdgpu_atombios_get_memory_pll_dividers() 1097 memset(mpll_param, 0, sizeof(struct atom_mpll_param)); in amdgpu_atombios_get_memory_pll_dividers() 1114 mpll_param->clkfrac = le16_to_cpu(args.ulFbDiv.usFbDivFrac); in amdgpu_atombios_get_memory_pll_dividers() 1115 mpll_param->clkf = le16_to_cpu(args.ulFbDiv.usFbDiv); in amdgpu_atombios_get_memory_pll_dividers() 1116 mpll_param->post_div = args.ucPostDiv; in amdgpu_atombios_get_memory_pll_dividers() 1117 mpll_param->dll_speed = args.ucDllSpeed; in amdgpu_atombios_get_memory_pll_dividers() 1118 mpll_param->bwcntl = args.ucBWCntl; in amdgpu_atombios_get_memory_pll_dividers() 1119 mpll_param->vco_mode = in amdgpu_atombios_get_memory_pll_dividers() 1121 mpll_param->yclk_sel = in amdgpu_atombios_get_memory_pll_dividers() 1123 mpll_param in amdgpu_atombios_get_memory_pll_dividers() 1087 amdgpu_atombios_get_memory_pll_dividers(struct amdgpu_device *adev, u32 clock, bool strobe_mode, struct atom_mpll_param *mpll_param) amdgpu_atombios_get_memory_pll_dividers() argument [all...] |
H A D | amdgpu_atombios.h | 164 struct atom_mpll_param *mpll_param);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | iceland_smumgr.c | 1064 pp_atomctrl_memory_clock_param mpll_param; in iceland_calculate_mclk_params() local 1068 memory_clock, &mpll_param, strobe_mode); in iceland_calculate_mclk_params() 1073 mpll_func_cntl = PHM_SET_FIELD(mpll_func_cntl, MPLL_FUNC_CNTL, BWCTRL, mpll_param.bw_ctrl); in iceland_calculate_mclk_params() 1077 MPLL_FUNC_CNTL_1, CLKF, mpll_param.mpll_fb_divider.cl_kf); in iceland_calculate_mclk_params() 1079 MPLL_FUNC_CNTL_1, CLKFRAC, mpll_param.mpll_fb_divider.clk_frac); in iceland_calculate_mclk_params() 1081 MPLL_FUNC_CNTL_1, VCO_MODE, mpll_param.vco_mode); in iceland_calculate_mclk_params() 1085 MPLL_AD_FUNC_CNTL, YCLK_POST_DIV, mpll_param.mpll_post_divider); in iceland_calculate_mclk_params() 1090 MPLL_DQ_FUNC_CNTL, YCLK_SEL, mpll_param.yclk_sel); in iceland_calculate_mclk_params() 1092 MPLL_DQ_FUNC_CNTL, YCLK_POST_DIV, mpll_param.mpll_post_divider); in iceland_calculate_mclk_params() 1118 if (1 == mpll_param in iceland_calculate_mclk_params() [all...] |
H A D | ci_smumgr.c | 1041 pp_atomctrl_memory_clock_param mpll_param; in ci_calculate_mclk_params() local 1045 memory_clock, &mpll_param, strobe_mode); in ci_calculate_mclk_params() 1049 mpll_func_cntl = PHM_SET_FIELD(mpll_func_cntl, MPLL_FUNC_CNTL, BWCTRL, mpll_param.bw_ctrl); in ci_calculate_mclk_params() 1052 MPLL_FUNC_CNTL_1, CLKF, mpll_param.mpll_fb_divider.cl_kf); in ci_calculate_mclk_params() 1054 MPLL_FUNC_CNTL_1, CLKFRAC, mpll_param.mpll_fb_divider.clk_frac); in ci_calculate_mclk_params() 1056 MPLL_FUNC_CNTL_1, VCO_MODE, mpll_param.vco_mode); in ci_calculate_mclk_params() 1059 MPLL_AD_FUNC_CNTL, YCLK_POST_DIV, mpll_param.mpll_post_divider); in ci_calculate_mclk_params() 1063 MPLL_DQ_FUNC_CNTL, YCLK_SEL, mpll_param.yclk_sel); in ci_calculate_mclk_params() 1065 MPLL_DQ_FUNC_CNTL, YCLK_POST_DIV, mpll_param.mpll_post_divider); in ci_calculate_mclk_params() 1076 if (1 == mpll_param in ci_calculate_mclk_params() [all...] |
H A D | tonga_smumgr.c | 807 pp_atomctrl_memory_clock_param mpll_param; in tonga_calculate_mclk_params() local 811 memory_clock, &mpll_param, strobe_mode); in tonga_calculate_mclk_params() 819 mpll_param.bw_ctrl); in tonga_calculate_mclk_params() 824 mpll_param.mpll_fb_divider.cl_kf); in tonga_calculate_mclk_params() 827 mpll_param.mpll_fb_divider.clk_frac); in tonga_calculate_mclk_params() 830 mpll_param.vco_mode); in tonga_calculate_mclk_params() 835 mpll_param.mpll_post_divider); in tonga_calculate_mclk_params() 841 mpll_param.yclk_sel); in tonga_calculate_mclk_params() 844 mpll_param.mpll_post_divider); in tonga_calculate_mclk_params() 870 if (1 == mpll_param in tonga_calculate_mclk_params() [all...] |
H A D | vegam_smumgr.c | 967 struct pp_atomctrl_memory_clock_param_ai mpll_param; in vegam_calculate_mclk_params() local 970 clock, &mpll_param), in vegam_calculate_mclk_params() 974 mem_level->MclkFrequency = (uint32_t)mpll_param.ulClock; in vegam_calculate_mclk_params() 975 mem_level->Fcw_int = (uint16_t)mpll_param.ulMclk_fcw_int; in vegam_calculate_mclk_params() 976 mem_level->Fcw_frac = (uint16_t)mpll_param.ulMclk_fcw_frac; in vegam_calculate_mclk_params() 977 mem_level->Postdiv = (uint8_t)mpll_param.ulPostDiv; in vegam_calculate_mclk_params()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | iceland_smumgr.c | 1064 pp_atomctrl_memory_clock_param mpll_param; in iceland_calculate_mclk_params() local 1068 memory_clock, &mpll_param, strobe_mode); in iceland_calculate_mclk_params() 1073 mpll_func_cntl = PHM_SET_FIELD(mpll_func_cntl, MPLL_FUNC_CNTL, BWCTRL, mpll_param.bw_ctrl); in iceland_calculate_mclk_params() 1077 MPLL_FUNC_CNTL_1, CLKF, mpll_param.mpll_fb_divider.cl_kf); in iceland_calculate_mclk_params() 1079 MPLL_FUNC_CNTL_1, CLKFRAC, mpll_param.mpll_fb_divider.clk_frac); in iceland_calculate_mclk_params() 1081 MPLL_FUNC_CNTL_1, VCO_MODE, mpll_param.vco_mode); in iceland_calculate_mclk_params() 1085 MPLL_AD_FUNC_CNTL, YCLK_POST_DIV, mpll_param.mpll_post_divider); in iceland_calculate_mclk_params() 1090 MPLL_DQ_FUNC_CNTL, YCLK_SEL, mpll_param.yclk_sel); in iceland_calculate_mclk_params() 1092 MPLL_DQ_FUNC_CNTL, YCLK_POST_DIV, mpll_param.mpll_post_divider); in iceland_calculate_mclk_params() 1118 if (1 == mpll_param in iceland_calculate_mclk_params() [all...] |
H A D | tonga_smumgr.c | 807 pp_atomctrl_memory_clock_param mpll_param; in tonga_calculate_mclk_params() local 811 memory_clock, &mpll_param, strobe_mode); in tonga_calculate_mclk_params() 819 mpll_param.bw_ctrl); in tonga_calculate_mclk_params() 824 mpll_param.mpll_fb_divider.cl_kf); in tonga_calculate_mclk_params() 827 mpll_param.mpll_fb_divider.clk_frac); in tonga_calculate_mclk_params() 830 mpll_param.vco_mode); in tonga_calculate_mclk_params() 835 mpll_param.mpll_post_divider); in tonga_calculate_mclk_params() 841 mpll_param.yclk_sel); in tonga_calculate_mclk_params() 844 mpll_param.mpll_post_divider); in tonga_calculate_mclk_params() 870 if (1 == mpll_param in tonga_calculate_mclk_params() [all...] |
H A D | ci_smumgr.c | 1042 pp_atomctrl_memory_clock_param mpll_param; in ci_calculate_mclk_params() local 1046 memory_clock, &mpll_param, strobe_mode); in ci_calculate_mclk_params() 1050 mpll_func_cntl = PHM_SET_FIELD(mpll_func_cntl, MPLL_FUNC_CNTL, BWCTRL, mpll_param.bw_ctrl); in ci_calculate_mclk_params() 1053 MPLL_FUNC_CNTL_1, CLKF, mpll_param.mpll_fb_divider.cl_kf); in ci_calculate_mclk_params() 1055 MPLL_FUNC_CNTL_1, CLKFRAC, mpll_param.mpll_fb_divider.clk_frac); in ci_calculate_mclk_params() 1057 MPLL_FUNC_CNTL_1, VCO_MODE, mpll_param.vco_mode); in ci_calculate_mclk_params() 1060 MPLL_AD_FUNC_CNTL, YCLK_POST_DIV, mpll_param.mpll_post_divider); in ci_calculate_mclk_params() 1064 MPLL_DQ_FUNC_CNTL, YCLK_SEL, mpll_param.yclk_sel); in ci_calculate_mclk_params() 1066 MPLL_DQ_FUNC_CNTL, YCLK_POST_DIV, mpll_param.mpll_post_divider); in ci_calculate_mclk_params() 1077 if (1 == mpll_param in ci_calculate_mclk_params() [all...] |
H A D | vegam_smumgr.c | 966 struct pp_atomctrl_memory_clock_param_ai mpll_param; in vegam_calculate_mclk_params() local 969 clock, &mpll_param), in vegam_calculate_mclk_params() 973 mem_level->MclkFrequency = (uint32_t)mpll_param.ulClock; in vegam_calculate_mclk_params() 974 mem_level->Fcw_int = (uint16_t)mpll_param.ulMclk_fcw_int; in vegam_calculate_mclk_params() 975 mem_level->Fcw_frac = (uint16_t)mpll_param.ulMclk_fcw_frac; in vegam_calculate_mclk_params() 976 mem_level->Postdiv = (uint8_t)mpll_param.ulPostDiv; in vegam_calculate_mclk_params()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | radeon_atombios.c | 2957 struct atom_mpll_param *mpll_param) in radeon_atom_get_memory_pll_dividers() 2964 memset(mpll_param, 0, sizeof(struct atom_mpll_param)); in radeon_atom_get_memory_pll_dividers() 2981 mpll_param->clkfrac = le16_to_cpu(args.ulFbDiv.usFbDivFrac); in radeon_atom_get_memory_pll_dividers() 2982 mpll_param->clkf = le16_to_cpu(args.ulFbDiv.usFbDiv); in radeon_atom_get_memory_pll_dividers() 2983 mpll_param->post_div = args.ucPostDiv; in radeon_atom_get_memory_pll_dividers() 2984 mpll_param->dll_speed = args.ucDllSpeed; in radeon_atom_get_memory_pll_dividers() 2985 mpll_param->bwcntl = args.ucBWCntl; in radeon_atom_get_memory_pll_dividers() 2986 mpll_param->vco_mode = in radeon_atom_get_memory_pll_dividers() 2988 mpll_param->yclk_sel = in radeon_atom_get_memory_pll_dividers() 2990 mpll_param in radeon_atom_get_memory_pll_dividers() 2954 radeon_atom_get_memory_pll_dividers(struct radeon_device *rdev, u32 clock, bool strobe_mode, struct atom_mpll_param *mpll_param) radeon_atom_get_memory_pll_dividers() argument [all...] |
H A D | ci_dpm.c | 2789 struct atom_mpll_param mpll_param; in ci_calculate_mclk_params() local 2792 ret = radeon_atom_get_memory_pll_dividers(rdev, memory_clock, strobe_mode, &mpll_param); in ci_calculate_mclk_params() 2797 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); in ci_calculate_mclk_params() 2800 mpll_func_cntl_1 |= CLKF(mpll_param.clkf) | in ci_calculate_mclk_params() 2801 CLKFRAC(mpll_param.clkfrac) | VCO_MODE(mpll_param.vco_mode); in ci_calculate_mclk_params() 2804 mpll_ad_func_cntl |= YCLK_POST_DIV(mpll_param.post_div); in ci_calculate_mclk_params() 2808 mpll_dq_func_cntl |= YCLK_SEL(mpll_param.yclk_sel) | in ci_calculate_mclk_params() 2809 YCLK_POST_DIV(mpll_param.post_div); in ci_calculate_mclk_params() 2818 if (mpll_param in ci_calculate_mclk_params() [all...] |
H A D | si_dpm.c | 4873 struct atom_mpll_param mpll_param; in si_populate_mclk_value() local 4876 ret = radeon_atom_get_memory_pll_dividers(rdev, memory_clock, strobe_mode, &mpll_param); in si_populate_mclk_value() 4881 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); in si_populate_mclk_value() 4884 mpll_func_cntl_1 |= CLKF(mpll_param.clkf) | in si_populate_mclk_value() 4885 CLKFRAC(mpll_param.clkfrac) | VCO_MODE(mpll_param.vco_mode); in si_populate_mclk_value() 4888 mpll_ad_func_cntl |= YCLK_POST_DIV(mpll_param.post_div); in si_populate_mclk_value() 4892 mpll_dq_func_cntl |= YCLK_SEL(mpll_param.yclk_sel) | in si_populate_mclk_value() 4893 YCLK_POST_DIV(mpll_param.post_div); in si_populate_mclk_value() 4923 mclk_pwrmgt_cntl |= DLL_SPEED(mpll_param in si_populate_mclk_value() [all...] |
H A D | radeon.h | 302 struct atom_mpll_param *mpll_param);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | radeon_atombios.c | 2952 struct atom_mpll_param *mpll_param) in radeon_atom_get_memory_pll_dividers() 2959 memset(mpll_param, 0, sizeof(struct atom_mpll_param)); in radeon_atom_get_memory_pll_dividers() 2976 mpll_param->clkfrac = le16_to_cpu(args.ulFbDiv.usFbDivFrac); in radeon_atom_get_memory_pll_dividers() 2977 mpll_param->clkf = le16_to_cpu(args.ulFbDiv.usFbDiv); in radeon_atom_get_memory_pll_dividers() 2978 mpll_param->post_div = args.ucPostDiv; in radeon_atom_get_memory_pll_dividers() 2979 mpll_param->dll_speed = args.ucDllSpeed; in radeon_atom_get_memory_pll_dividers() 2980 mpll_param->bwcntl = args.ucBWCntl; in radeon_atom_get_memory_pll_dividers() 2981 mpll_param->vco_mode = in radeon_atom_get_memory_pll_dividers() 2983 mpll_param->yclk_sel = in radeon_atom_get_memory_pll_dividers() 2985 mpll_param in radeon_atom_get_memory_pll_dividers() 2949 radeon_atom_get_memory_pll_dividers(struct radeon_device *rdev, u32 clock, bool strobe_mode, struct atom_mpll_param *mpll_param) radeon_atom_get_memory_pll_dividers() argument [all...] |
H A D | ci_dpm.c | 2765 struct atom_mpll_param mpll_param; in ci_calculate_mclk_params() local 2768 ret = radeon_atom_get_memory_pll_dividers(rdev, memory_clock, strobe_mode, &mpll_param); in ci_calculate_mclk_params() 2773 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); in ci_calculate_mclk_params() 2776 mpll_func_cntl_1 |= CLKF(mpll_param.clkf) | in ci_calculate_mclk_params() 2777 CLKFRAC(mpll_param.clkfrac) | VCO_MODE(mpll_param.vco_mode); in ci_calculate_mclk_params() 2780 mpll_ad_func_cntl |= YCLK_POST_DIV(mpll_param.post_div); in ci_calculate_mclk_params() 2784 mpll_dq_func_cntl |= YCLK_SEL(mpll_param.yclk_sel) | in ci_calculate_mclk_params() 2785 YCLK_POST_DIV(mpll_param.post_div); in ci_calculate_mclk_params() 2794 if (mpll_param in ci_calculate_mclk_params() [all...] |
H A D | si_dpm.c | 4872 struct atom_mpll_param mpll_param; in si_populate_mclk_value() local 4875 ret = radeon_atom_get_memory_pll_dividers(rdev, memory_clock, strobe_mode, &mpll_param); in si_populate_mclk_value() 4880 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); in si_populate_mclk_value() 4883 mpll_func_cntl_1 |= CLKF(mpll_param.clkf) | in si_populate_mclk_value() 4884 CLKFRAC(mpll_param.clkfrac) | VCO_MODE(mpll_param.vco_mode); in si_populate_mclk_value() 4887 mpll_ad_func_cntl |= YCLK_POST_DIV(mpll_param.post_div); in si_populate_mclk_value() 4891 mpll_dq_func_cntl |= YCLK_SEL(mpll_param.yclk_sel) | in si_populate_mclk_value() 4892 YCLK_POST_DIV(mpll_param.post_div); in si_populate_mclk_value() 4922 mclk_pwrmgt_cntl |= DLL_SPEED(mpll_param in si_populate_mclk_value() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/ |
H A D | si_dpm.c | 5332 struct atom_mpll_param mpll_param; in si_populate_mclk_value() local 5335 ret = amdgpu_atombios_get_memory_pll_dividers(adev, memory_clock, strobe_mode, &mpll_param); in si_populate_mclk_value() 5340 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); in si_populate_mclk_value() 5343 mpll_func_cntl_1 |= CLKF(mpll_param.clkf) | in si_populate_mclk_value() 5344 CLKFRAC(mpll_param.clkfrac) | VCO_MODE(mpll_param.vco_mode); in si_populate_mclk_value() 5347 mpll_ad_func_cntl |= YCLK_POST_DIV(mpll_param.post_div); in si_populate_mclk_value() 5351 mpll_dq_func_cntl |= YCLK_SEL(mpll_param.yclk_sel) | in si_populate_mclk_value() 5352 YCLK_POST_DIV(mpll_param.post_div); in si_populate_mclk_value() 5382 mclk_pwrmgt_cntl |= DLL_SPEED(mpll_param in si_populate_mclk_value() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A D | si_dpm.c | 5374 struct atom_mpll_param mpll_param; in si_populate_mclk_value() local 5377 ret = amdgpu_atombios_get_memory_pll_dividers(adev, memory_clock, strobe_mode, &mpll_param); in si_populate_mclk_value() 5382 mpll_func_cntl |= BWCTRL(mpll_param.bwcntl); in si_populate_mclk_value() 5385 mpll_func_cntl_1 |= CLKF(mpll_param.clkf) | in si_populate_mclk_value() 5386 CLKFRAC(mpll_param.clkfrac) | VCO_MODE(mpll_param.vco_mode); in si_populate_mclk_value() 5389 mpll_ad_func_cntl |= YCLK_POST_DIV(mpll_param.post_div); in si_populate_mclk_value() 5393 mpll_dq_func_cntl |= YCLK_SEL(mpll_param.yclk_sel) | in si_populate_mclk_value() 5394 YCLK_POST_DIV(mpll_param.post_div); in si_populate_mclk_value() 5424 mclk_pwrmgt_cntl |= DLL_SPEED(mpll_param in si_populate_mclk_value() [all...] |