Lines Matching refs:dpll
684 static void intelfbhw_get_p1p2(struct intelfb_info *dinfo, int dpll, in intelfbhw_get_p1p2() argument
690 if (dpll & DPLL_P1_FORCE_DIV2) in intelfbhw_get_p1p2()
693 p1 = (dpll >> DPLL_P1_SHIFT) & 0xff; in intelfbhw_get_p1p2()
697 p2 = (dpll >> DPLL_I9XX_P2_SHIFT) & DPLL_P2_MASK; in intelfbhw_get_p1p2()
699 if (dpll & DPLL_P1_FORCE_DIV2) in intelfbhw_get_p1p2()
702 p1 = (dpll >> DPLL_P1_SHIFT) & DPLL_P1_MASK; in intelfbhw_get_p1p2()
703 p2 = (dpll >> DPLL_P2_SHIFT) & DPLL_P2_MASK; in intelfbhw_get_p1p2()
1045 u32 *dpll, *fp0, *fp1; in intelfbhw_mode_to_hw() local
1060 dpll = &hw->dpll_b; in intelfbhw_mode_to_hw()
1072 dpll = &hw->dpll_a; in intelfbhw_mode_to_hw()
1108 *dpll |= (DPLL_VCO_ENABLE | DPLL_VGA_MODE_DISABLE); in intelfbhw_mode_to_hw()
1109 *dpll &= ~(DPLL_RATE_SELECT_MASK | DPLL_REFERENCE_SELECT_MASK); in intelfbhw_mode_to_hw()
1110 *dpll |= (DPLL_REFERENCE_DEFAULT | DPLL_RATE_SELECT_FP0); in intelfbhw_mode_to_hw()
1133 *dpll &= ~DPLL_P1_FORCE_DIV2; in intelfbhw_mode_to_hw()
1134 *dpll &= ~((DPLL_P2_MASK << DPLL_P2_SHIFT) | in intelfbhw_mode_to_hw()
1138 *dpll |= (p2 << DPLL_I9XX_P2_SHIFT); in intelfbhw_mode_to_hw()
1139 *dpll |= (1 << (p1 - 1)) << DPLL_P1_SHIFT; in intelfbhw_mode_to_hw()
1141 *dpll |= (p2 << DPLL_P2_SHIFT) | (p1 << DPLL_P1_SHIFT); in intelfbhw_mode_to_hw()
1281 const u32 *dpll, *fp0, *fp1, *pipe_conf; in intelfbhw_program_mode() local
1303 dpll = &hw->dpll_b; in intelfbhw_program_mode()
1327 dpll = &hw->dpll_a; in intelfbhw_program_mode()
1407 OUTREG(dpll_reg, *dpll); in intelfbhw_program_mode()