Lines Matching refs:freq
43 u32 freq = 0; in get_mcu_main_clk() local
56 freq = FASE_CLK_FREQ; in get_mcu_main_clk()
59 freq = SLOW_CLK_FREQ; in get_mcu_main_clk()
65 freq = PLL2_MAIN_FREQ; in get_mcu_main_clk()
67 freq = PLL2_PFD1_FREQ; in get_mcu_main_clk()
69 freq = PLL2_PFD2_FREQ; in get_mcu_main_clk()
71 freq = PLL2_PFD3_FREQ; in get_mcu_main_clk()
73 freq = PLL2_PFD4_FREQ; in get_mcu_main_clk()
76 freq = PLL2_MAIN_FREQ; in get_mcu_main_clk()
82 freq = PLL1_MAIN_FREQ; in get_mcu_main_clk()
84 freq = PLL1_PFD1_FREQ; in get_mcu_main_clk()
86 freq = PLL1_PFD2_FREQ; in get_mcu_main_clk()
88 freq = PLL1_PFD3_FREQ; in get_mcu_main_clk()
90 freq = PLL1_PFD4_FREQ; in get_mcu_main_clk()
93 freq = PLL3_MAIN_FREQ; in get_mcu_main_clk()
99 return freq / armclk_div; in get_mcu_main_clk()
139 u32 freq = 0; in get_sdhc_clk() local
152 freq = PLL3_MAIN_FREQ; in get_sdhc_clk()
155 freq = PLL3_PFD3_FREQ; in get_sdhc_clk()
158 freq = PLL1_PFD3_FREQ; in get_sdhc_clk()
161 freq = get_bus_clk(); in get_sdhc_clk()
165 return freq / sdhc_clk_div; in get_sdhc_clk()
172 u32 freq = 0; in get_fec_clk() local
180 freq = ENET_EXTERNAL_CLK; in get_fec_clk()
183 freq = AUDIO_EXTERNAL_CLK; in get_fec_clk()
186 freq = PLL5_MAIN_FREQ; in get_fec_clk()
189 freq = PLL5_MAIN_FREQ / 2; in get_fec_clk()
193 return freq; in get_fec_clk()