Lines Matching defs:clk_hw
40 struct clk_hw hw;
72 static int atl_clk_enable(struct clk_hw *hw)
94 static void atl_clk_disable(struct clk_hw *hw)
108 static int atl_clk_is_enabled(struct clk_hw *hw)
115 static unsigned long atl_clk_recalc_rate(struct clk_hw *hw,
123 static long atl_clk_round_rate(struct clk_hw *hw, unsigned long rate,
135 static int atl_clk_set_rate(struct clk_hw *hw, unsigned long rate,
165 struct dra7_atl_desc *clk_hw = NULL;
171 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL);
172 if (!clk_hw) {
177 clk_hw->hw.init = &init;
178 clk_hw->divider = 1;
192 clk = of_ti_clk_register(node, &clk_hw->hw, name);
199 kfree(clk_hw);