Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/gpu/drm/radeon/
Dradeon_display.c766 u32 *frac_fb_div) in avivo_get_fb_div() argument
772 *frac_fb_div = tmp % pll->reference_freq; in avivo_get_fb_div()
832 u32 fb_div = 0, frac_fb_div = 0, tmp; in radeon_compute_pll_avivo() local
838 avivo_get_fb_div(pll, target_clock, post_div, ref_div, &fb_div, &frac_fb_div); in radeon_compute_pll_avivo()
839 frac_fb_div = (100 * frac_fb_div) / pll->reference_freq; in radeon_compute_pll_avivo()
840 if (frac_fb_div >= 5) { in radeon_compute_pll_avivo()
841 frac_fb_div -= 5; in radeon_compute_pll_avivo()
842 frac_fb_div = frac_fb_div / 10; in radeon_compute_pll_avivo()
843 frac_fb_div++; in radeon_compute_pll_avivo()
845 if (frac_fb_div >= 10) { in radeon_compute_pll_avivo()
[all …]
Datombios_crtc.c800 u32 frac_fb_div, in atombios_crtc_program_pll() argument
827 args.v1.ucFracFbDiv = frac_fb_div; in atombios_crtc_program_pll()
837 args.v2.ucFracFbDiv = frac_fb_div; in atombios_crtc_program_pll()
847 args.v3.ucFracFbDiv = frac_fb_div; in atombios_crtc_program_pll()
861 args.v5.ulFbDivDecFrac = cpu_to_le32(frac_fb_div * 100000); in atombios_crtc_program_pll()
885 args.v6.ulFbDivDecFrac = cpu_to_le32(frac_fb_div * 100000); in atombios_crtc_program_pll()
932 u32 ref_div = 0, fb_div = 0, frac_fb_div = 0, post_div = 0; in atombios_crtc_set_pll() local
1037 radeon_compute_pll_legacy(pll, adjusted_clock, &pll_clock, &fb_div, &frac_fb_div, in atombios_crtc_set_pll()
1040 radeon_compute_pll_avivo(pll, adjusted_clock, &pll_clock, &fb_div, &frac_fb_div, in atombios_crtc_set_pll()
1043 radeon_compute_pll_legacy(pll, adjusted_clock, &pll_clock, &fb_div, &frac_fb_div, in atombios_crtc_set_pll()
[all …]
Dradeon_legacy_crtc.c734 uint32_t frac_fb_div = 0; in radeon_set_pll() local
813 &freq, &feedback_div, &frac_fb_div, in radeon_set_pll()