Lines Matching full:fixed
9 * Fixed rate clock implementation
21 * DOC: basic fixed-rate clock that cannot gate
26 * rate - rate is always a fixed value. No clk_set_rate support
27 * parent - fixed parent. No clk_set_parent support
49 * clk_hw_register_fixed_rate_with_accuracy - register fixed-rate clock with
62 struct clk_fixed_rate *fixed; in clk_hw_register_fixed_rate_with_accuracy() local
67 /* allocate fixed-rate clock */ in clk_hw_register_fixed_rate_with_accuracy()
68 fixed = kzalloc(sizeof(*fixed), GFP_KERNEL); in clk_hw_register_fixed_rate_with_accuracy()
69 if (!fixed) in clk_hw_register_fixed_rate_with_accuracy()
79 fixed->fixed_rate = fixed_rate; in clk_hw_register_fixed_rate_with_accuracy()
80 fixed->fixed_accuracy = fixed_accuracy; in clk_hw_register_fixed_rate_with_accuracy()
81 fixed->hw.init = &init; in clk_hw_register_fixed_rate_with_accuracy()
84 hw = &fixed->hw; in clk_hw_register_fixed_rate_with_accuracy()
87 kfree(fixed); in clk_hw_register_fixed_rate_with_accuracy()
110 * clk_hw_register_fixed_rate - register fixed-rate clock with the clock
151 struct clk_fixed_rate *fixed; in clk_hw_unregister_fixed_rate() local
153 fixed = to_clk_fixed_rate(hw); in clk_hw_unregister_fixed_rate()
156 kfree(fixed); in clk_hw_unregister_fixed_rate()
191 * of_fixed_clk_setup() - Setup function for simple fixed rate clock
197 CLK_OF_DECLARE(fixed_clk, "fixed-clock", of_fixed_clk_setup);
227 { .compatible = "fixed-clock" },