Home
last modified time | relevance | path

Searched refs:frac_fb_div (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/gpu/drm/radeon/
Dradeon_display.c789 u32 *frac_fb_div) in avivo_get_fb_div() argument
795 *frac_fb_div = tmp % pll->reference_freq; in avivo_get_fb_div()
855 u32 fb_div = 0, frac_fb_div = 0, tmp; in radeon_compute_pll_avivo() local
861 avivo_get_fb_div(pll, target_clock, post_div, ref_div, &fb_div, &frac_fb_div); in radeon_compute_pll_avivo()
862 frac_fb_div = (100 * frac_fb_div) / pll->reference_freq; in radeon_compute_pll_avivo()
863 if (frac_fb_div >= 5) { in radeon_compute_pll_avivo()
864 frac_fb_div -= 5; in radeon_compute_pll_avivo()
865 frac_fb_div = frac_fb_div / 10; in radeon_compute_pll_avivo()
866 frac_fb_div++; in radeon_compute_pll_avivo()
868 if (frac_fb_div >= 10) { in radeon_compute_pll_avivo()
[all …]
Datombios_crtc.c756 u32 frac_fb_div, in atombios_crtc_program_pll() argument
780 args.v1.ucFracFbDiv = frac_fb_div; in atombios_crtc_program_pll()
790 args.v2.ucFracFbDiv = frac_fb_div; in atombios_crtc_program_pll()
800 args.v3.ucFracFbDiv = frac_fb_div; in atombios_crtc_program_pll()
812 args.v5.ulFbDivDecFrac = cpu_to_le32(frac_fb_div * 100000); in atombios_crtc_program_pll()
824 args.v6.ulFbDivDecFrac = cpu_to_le32(frac_fb_div * 100000); in atombios_crtc_program_pll()
852 u32 ref_div = 0, fb_div = 0, frac_fb_div = 0, post_div = 0; in atombios_crtc_set_pll() local
964 radeon_compute_pll_legacy(pll, adjusted_clock, &pll_clock, &fb_div, &frac_fb_div, in atombios_crtc_set_pll()
967 radeon_compute_pll_avivo(pll, adjusted_clock, &pll_clock, &fb_div, &frac_fb_div, in atombios_crtc_set_pll()
970 radeon_compute_pll_legacy(pll, adjusted_clock, &pll_clock, &fb_div, &frac_fb_div, in atombios_crtc_set_pll()
[all …]
Dradeon_legacy_crtc.c704 uint32_t frac_fb_div = 0; in radeon_set_pll() local
783 &freq, &feedback_div, &frac_fb_div, in radeon_set_pll()