Lines Matching full:fixed
6 * Fixed rate clock implementation
18 * DOC: basic fixed-rate clock that cannot gate
23 * rate - rate is always a fixed value. No clk_set_rate support
24 * parent - fixed parent. No clk_set_parent support
38 struct clk_fixed_rate *fixed = to_clk_fixed_rate(hw); in clk_fixed_rate_recalc_accuracy() local
40 if (fixed->flags & CLK_FIXED_RATE_PARENT_ACCURACY) in clk_fixed_rate_recalc_accuracy()
43 return fixed->fixed_accuracy; in clk_fixed_rate_recalc_accuracy()
59 struct clk_fixed_rate *fixed; in __clk_hw_register_fixed_rate() local
64 /* allocate fixed-rate clock */ in __clk_hw_register_fixed_rate()
65 fixed = kzalloc(sizeof(*fixed), GFP_KERNEL); in __clk_hw_register_fixed_rate()
66 if (!fixed) in __clk_hw_register_fixed_rate()
81 fixed->flags = clk_fixed_flags; in __clk_hw_register_fixed_rate()
82 fixed->fixed_rate = fixed_rate; in __clk_hw_register_fixed_rate()
83 fixed->fixed_accuracy = fixed_accuracy; in __clk_hw_register_fixed_rate()
84 fixed->hw.init = &init; in __clk_hw_register_fixed_rate()
87 hw = &fixed->hw; in __clk_hw_register_fixed_rate()
93 kfree(fixed); in __clk_hw_register_fixed_rate()
130 struct clk_fixed_rate *fixed; in clk_hw_unregister_fixed_rate() local
132 fixed = to_clk_fixed_rate(hw); in clk_hw_unregister_fixed_rate()
135 kfree(fixed); in clk_hw_unregister_fixed_rate()
170 * of_fixed_clk_setup() - Setup function for simple fixed rate clock
177 CLK_OF_DECLARE(fixed_clk, "fixed-clock", of_fixed_clk_setup);
207 { .compatible = "fixed-clock" },