Lines Matching refs:pll
901 u32 pll; in ar9160_hw_compute_pll_control() local
903 pll = SM(0x5, AR_RTC_9160_PLL_REFDIV); in ar9160_hw_compute_pll_control()
906 pll |= SM(0x1, AR_RTC_9160_PLL_CLKSEL); in ar9160_hw_compute_pll_control()
908 pll |= SM(0x2, AR_RTC_9160_PLL_CLKSEL); in ar9160_hw_compute_pll_control()
911 pll |= SM(0x50, AR_RTC_9160_PLL_DIV); in ar9160_hw_compute_pll_control()
913 pll |= SM(0x58, AR_RTC_9160_PLL_DIV); in ar9160_hw_compute_pll_control()
915 return pll; in ar9160_hw_compute_pll_control()
921 u32 pll; in ar5008_hw_compute_pll_control() local
923 pll = AR_RTC_PLL_REFDIV_5 | AR_RTC_PLL_DIV2; in ar5008_hw_compute_pll_control()
926 pll |= SM(0x1, AR_RTC_PLL_CLKSEL); in ar5008_hw_compute_pll_control()
928 pll |= SM(0x2, AR_RTC_PLL_CLKSEL); in ar5008_hw_compute_pll_control()
931 pll |= SM(0xa, AR_RTC_PLL_DIV); in ar5008_hw_compute_pll_control()
933 pll |= SM(0xb, AR_RTC_PLL_DIV); in ar5008_hw_compute_pll_control()
935 return pll; in ar5008_hw_compute_pll_control()