Lines Matching refs:clk_hw
44 struct clk_hw hw;
76 static int atl_clk_enable(struct clk_hw *hw) in atl_clk_enable()
98 static void atl_clk_disable(struct clk_hw *hw) in atl_clk_disable()
112 static int atl_clk_is_enabled(struct clk_hw *hw) in atl_clk_is_enabled()
119 static unsigned long atl_clk_recalc_rate(struct clk_hw *hw, in atl_clk_recalc_rate()
127 static long atl_clk_round_rate(struct clk_hw *hw, unsigned long rate, in atl_clk_round_rate()
139 static int atl_clk_set_rate(struct clk_hw *hw, unsigned long rate, in atl_clk_set_rate()
169 struct dra7_atl_desc *clk_hw = NULL; in of_dra7_atl_clock_setup() local
174 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in of_dra7_atl_clock_setup()
175 if (!clk_hw) { in of_dra7_atl_clock_setup()
180 clk_hw->hw.init = &init; in of_dra7_atl_clock_setup()
181 clk_hw->divider = 1; in of_dra7_atl_clock_setup()
202 clk = clk_register(NULL, &clk_hw->hw); in of_dra7_atl_clock_setup()
211 kfree(clk_hw); in of_dra7_atl_clock_setup()