Lines Matching refs:dpll
682 static void intelfbhw_get_p1p2(struct intelfb_info *dinfo, int dpll, in intelfbhw_get_p1p2() argument
688 if (dpll & DPLL_P1_FORCE_DIV2) in intelfbhw_get_p1p2()
691 p1 = (dpll >> DPLL_P1_SHIFT) & 0xff; in intelfbhw_get_p1p2()
695 p2 = (dpll >> DPLL_I9XX_P2_SHIFT) & DPLL_P2_MASK; in intelfbhw_get_p1p2()
697 if (dpll & DPLL_P1_FORCE_DIV2) in intelfbhw_get_p1p2()
700 p1 = (dpll >> DPLL_P1_SHIFT) & DPLL_P1_MASK; in intelfbhw_get_p1p2()
701 p2 = (dpll >> DPLL_P2_SHIFT) & DPLL_P2_MASK; in intelfbhw_get_p1p2()
1048 u32 *dpll, *fp0, *fp1; in intelfbhw_mode_to_hw() local
1063 dpll = &hw->dpll_b; in intelfbhw_mode_to_hw()
1075 dpll = &hw->dpll_a; in intelfbhw_mode_to_hw()
1111 *dpll |= (DPLL_VCO_ENABLE | DPLL_VGA_MODE_DISABLE); in intelfbhw_mode_to_hw()
1112 *dpll &= ~(DPLL_RATE_SELECT_MASK | DPLL_REFERENCE_SELECT_MASK); in intelfbhw_mode_to_hw()
1113 *dpll |= (DPLL_REFERENCE_DEFAULT | DPLL_RATE_SELECT_FP0); in intelfbhw_mode_to_hw()
1136 *dpll &= ~DPLL_P1_FORCE_DIV2; in intelfbhw_mode_to_hw()
1137 *dpll &= ~((DPLL_P2_MASK << DPLL_P2_SHIFT) | in intelfbhw_mode_to_hw()
1141 *dpll |= (p2 << DPLL_I9XX_P2_SHIFT); in intelfbhw_mode_to_hw()
1142 *dpll |= (1 << (p1 - 1)) << DPLL_P1_SHIFT; in intelfbhw_mode_to_hw()
1144 *dpll |= (p2 << DPLL_P2_SHIFT) | (p1 << DPLL_P1_SHIFT); in intelfbhw_mode_to_hw()
1285 const u32 *dpll, *fp0, *fp1, *pipe_conf; in intelfbhw_program_mode() local
1307 dpll = &hw->dpll_b; in intelfbhw_program_mode()
1331 dpll = &hw->dpll_a; in intelfbhw_program_mode()
1411 OUTREG(dpll_reg, *dpll); in intelfbhw_program_mode()