Lines Matching refs:test_radeon_crtc
1728 struct radeon_crtc *test_radeon_crtc; in radeon_get_pll_use_mask() local
1735 test_radeon_crtc = to_radeon_crtc(test_crtc); in radeon_get_pll_use_mask()
1736 if (test_radeon_crtc->pll_id != ATOM_PPLL_INVALID) in radeon_get_pll_use_mask()
1737 pll_in_use |= (1 << test_radeon_crtc->pll_id); in radeon_get_pll_use_mask()
1756 struct radeon_crtc *test_radeon_crtc; in radeon_get_shared_dp_ppll() local
1761 test_radeon_crtc = to_radeon_crtc(test_crtc); in radeon_get_shared_dp_ppll()
1762 if (test_radeon_crtc->encoder && in radeon_get_shared_dp_ppll()
1763 ENCODER_MODE_IS_DP(atombios_get_encoder_mode(test_radeon_crtc->encoder))) { in radeon_get_shared_dp_ppll()
1766 test_radeon_crtc->pll_id == ATOM_PPLL2) in radeon_get_shared_dp_ppll()
1769 if (test_radeon_crtc->pll_id != ATOM_PPLL_INVALID) in radeon_get_shared_dp_ppll()
1770 return test_radeon_crtc->pll_id; in radeon_get_shared_dp_ppll()
1790 struct radeon_crtc *test_radeon_crtc; in radeon_get_shared_nondp_ppll() local
1801 test_radeon_crtc = to_radeon_crtc(test_crtc); in radeon_get_shared_nondp_ppll()
1802 if (test_radeon_crtc->encoder && in radeon_get_shared_nondp_ppll()
1803 !ENCODER_MODE_IS_DP(atombios_get_encoder_mode(test_radeon_crtc->encoder))) { in radeon_get_shared_nondp_ppll()
1806 test_radeon_crtc->pll_id == ATOM_PPLL2) in radeon_get_shared_nondp_ppll()
1809 if (test_radeon_crtc->connector == radeon_crtc->connector) { in radeon_get_shared_nondp_ppll()
1811 if (test_radeon_crtc->pll_id != ATOM_PPLL_INVALID) in radeon_get_shared_nondp_ppll()
1812 return test_radeon_crtc->pll_id; in radeon_get_shared_nondp_ppll()
1815 test_adjusted_clock = test_radeon_crtc->adjusted_clock; in radeon_get_shared_nondp_ppll()
1818 (radeon_crtc->ss_enabled == test_radeon_crtc->ss_enabled) && in radeon_get_shared_nondp_ppll()
1819 (test_radeon_crtc->pll_id != ATOM_PPLL_INVALID)) in radeon_get_shared_nondp_ppll()
1820 return test_radeon_crtc->pll_id; in radeon_get_shared_nondp_ppll()