Lines Matching full:clkin
55 [ASPEED_CLK_GATE_REFCLK] = { 6, -1, "refclk-gate", "clkin", CLK_IS_CRITICAL },
145 return clk_hw_register_fixed_factor(NULL, name, "clkin", 0, in aspeed_ast2400_calc_pll()
157 /* F = clkin * [(M+1) / (N+1)] / (P + 1) */ in aspeed_ast2500_calc_pll()
166 return clk_hw_register_fixed_factor(NULL, name, "clkin", 0, in aspeed_ast2500_calc_pll()
509 hw = clk_hw_register_fixed_rate(NULL, "fixed-24m", "clkin", in aspeed_clk_probe()
586 u32 val, div, clkin, hpll; in aspeed_ast2400_cc() local
594 * CLKIN is the crystal oscillator, 24, 48 or 25MHz selected by in aspeed_ast2400_cc()
600 clkin = 25000000; in aspeed_ast2400_cc()
603 clkin = 48000000; in aspeed_ast2400_cc()
606 clkin = 24000000; in aspeed_ast2400_cc()
609 hw = clk_hw_register_fixed_rate(NULL, "clkin", NULL, 0, clkin); in aspeed_ast2400_cc()
610 pr_debug("clkin @%u MHz\n", clkin / 1000000); in aspeed_ast2400_cc()
621 hw = clk_hw_register_fixed_rate(NULL, "hpll", "clkin", 0, in aspeed_ast2400_cc()
656 /* CLKIN is the crystal oscillator, 24 or 25MHz selected by strapping */ in aspeed_ast2500_cc()
662 hw = clk_hw_register_fixed_rate(NULL, "clkin", NULL, 0, freq); in aspeed_ast2500_cc()
663 pr_debug("clkin @%u MHz\n", freq / 1000000); in aspeed_ast2500_cc()