Lines Matching defs:clk_hw
48 struct clk_hw hw;
80 static int atl_clk_enable(struct clk_hw *hw)
102 static void atl_clk_disable(struct clk_hw *hw)
116 static int atl_clk_is_enabled(struct clk_hw *hw)
123 static unsigned long atl_clk_recalc_rate(struct clk_hw *hw,
131 static long atl_clk_round_rate(struct clk_hw *hw, unsigned long rate,
143 static int atl_clk_set_rate(struct clk_hw *hw, unsigned long rate,
173 struct dra7_atl_desc *clk_hw = NULL;
179 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL);
180 if (!clk_hw) {
185 clk_hw->hw.init = &init;
186 clk_hw->divider = 1;
208 clk = of_ti_clk_register(node, &clk_hw->hw, name);
217 kfree(clk_hw);