Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/clk/
H A Dclk_fixed_rate.c14 #define to_clk_fixed_rate(dev) ((struct clk_fixed_rate *)dev_get_platdata(dev)) macro
21 return to_clk_fixed_rate(clk->dev)->fixed_rate; in clk_fixed_rate_get_rate()
31 to_clk_fixed_rate(dev)->fixed_rate = in clk_fixed_rate_ofdata_to_platdata()
/openbmc/linux/drivers/clk/
H A Dclk-fixed-rate.c27 #define to_clk_fixed_rate(_hw) container_of(_hw, struct clk_fixed_rate, hw) macro
32 return to_clk_fixed_rate(hw)->fixed_rate; in clk_fixed_rate_recalc_rate()
38 struct clk_fixed_rate *fixed = to_clk_fixed_rate(hw); in clk_fixed_rate_recalc_accuracy()
144 kfree(to_clk_fixed_rate(hw)); in clk_unregister_fixed_rate()
152 fixed = to_clk_fixed_rate(hw); in clk_hw_unregister_fixed_rate()