Home
last modified time | relevance | path

Searched refs:clock_autodetect (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/arch/arm/mach-tegra/
Dtegra30_clocks.c404 u32 clock_autodetect; in clk_measure_input_freq() local
407 clock_autodetect = clk_readl(OSC_FREQ_DET_STATUS); in clk_measure_input_freq()
408 if (clock_autodetect >= 732 - 3 && clock_autodetect <= 732 + 3) { in clk_measure_input_freq()
410 } else if (clock_autodetect >= 794 - 3 && clock_autodetect <= 794 + 3) { in clk_measure_input_freq()
412 } else if (clock_autodetect >= 1172 - 3 && clock_autodetect <= 1172 + 3) { in clk_measure_input_freq()
414 } else if (clock_autodetect >= 1587 - 3 && clock_autodetect <= 1587 + 3) { in clk_measure_input_freq()
416 } else if (clock_autodetect >= 1025 - 3 && clock_autodetect <= 1025 + 3) { in clk_measure_input_freq()
418 } else if (clock_autodetect >= 2344 - 3 && clock_autodetect <= 2344 + 3) { in clk_measure_input_freq()
420 } else if (clock_autodetect >= 2928 - 3 && clock_autodetect <= 2928 + 3) { in clk_measure_input_freq()
424 clock_autodetect); in clk_measure_input_freq()
Dtegra2_clocks.c179 u32 clock_autodetect; in clk_measure_input_freq() local
182 clock_autodetect = clk_readl(OSC_FREQ_DET_STATUS); in clk_measure_input_freq()
183 if (clock_autodetect >= 732 - 3 && clock_autodetect <= 732 + 3) { in clk_measure_input_freq()
185 } else if (clock_autodetect >= 794 - 3 && clock_autodetect <= 794 + 3) { in clk_measure_input_freq()
187 } else if (clock_autodetect >= 1172 - 3 && clock_autodetect <= 1172 + 3) { in clk_measure_input_freq()
189 } else if (clock_autodetect >= 1587 - 3 && clock_autodetect <= 1587 + 3) { in clk_measure_input_freq()
192 pr_err("%s: Unexpected clock autodetect value %d", __func__, clock_autodetect); in clk_measure_input_freq()