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()
71 struct clk_fixed_rate *fixed; in __clk_hw_register_fixed_rate() local
76 /* allocate fixed-rate clock */ in __clk_hw_register_fixed_rate()
78 fixed = devres_alloc(devm_clk_hw_register_fixed_rate_release, in __clk_hw_register_fixed_rate()
79 sizeof(*fixed), GFP_KERNEL); in __clk_hw_register_fixed_rate()
81 fixed = kzalloc(sizeof(*fixed), GFP_KERNEL); in __clk_hw_register_fixed_rate()
82 if (!fixed) in __clk_hw_register_fixed_rate()
97 fixed->flags = clk_fixed_flags; in __clk_hw_register_fixed_rate()
98 fixed->fixed_rate = fixed_rate; in __clk_hw_register_fixed_rate()
99 fixed->fixed_accuracy = fixed_accuracy; in __clk_hw_register_fixed_rate()
100 fixed->hw.init = &init; in __clk_hw_register_fixed_rate()
103 hw = &fixed->hw; in __clk_hw_register_fixed_rate()
110 devres_free(fixed); in __clk_hw_register_fixed_rate()
112 kfree(fixed); in __clk_hw_register_fixed_rate()
115 devres_add(dev, fixed); in __clk_hw_register_fixed_rate()
150 struct clk_fixed_rate *fixed; in clk_hw_unregister_fixed_rate() local
152 fixed = to_clk_fixed_rate(hw); in clk_hw_unregister_fixed_rate()
155 kfree(fixed); in clk_hw_unregister_fixed_rate()
190 * of_fixed_clk_setup() - Setup function for simple fixed rate clock
197 CLK_OF_DECLARE(fixed_clk, "fixed-clock", of_fixed_clk_setup);
225 { .compatible = "fixed-clock" },