Lines Matching refs:clk_hw
45 struct clk_hw hw;
77 static int atl_clk_enable(struct clk_hw *hw) in atl_clk_enable()
99 static void atl_clk_disable(struct clk_hw *hw) in atl_clk_disable()
113 static int atl_clk_is_enabled(struct clk_hw *hw) in atl_clk_is_enabled()
120 static unsigned long atl_clk_recalc_rate(struct clk_hw *hw, in atl_clk_recalc_rate()
128 static long atl_clk_round_rate(struct clk_hw *hw, unsigned long rate, in atl_clk_round_rate()
140 static int atl_clk_set_rate(struct clk_hw *hw, unsigned long rate, in atl_clk_set_rate()
170 struct dra7_atl_desc *clk_hw = NULL; in of_dra7_atl_clock_setup() local
175 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in of_dra7_atl_clock_setup()
176 if (!clk_hw) { in of_dra7_atl_clock_setup()
181 clk_hw->hw.init = &init; in of_dra7_atl_clock_setup()
182 clk_hw->divider = 1; in of_dra7_atl_clock_setup()
203 clk = clk_register(NULL, &clk_hw->hw); in of_dra7_atl_clock_setup()
212 kfree(clk_hw); in of_dra7_atl_clock_setup()