Lines Matching refs:clk_hw
30 static int omap36xx_gate_clk_enable_with_hsdiv_restore(struct clk_hw *clk);
66 static int omap36xx_gate_clk_enable_with_hsdiv_restore(struct clk_hw *hw) in omap36xx_gate_clk_enable_with_hsdiv_restore()
69 struct clk_hw *parent_hw; in omap36xx_gate_clk_enable_with_hsdiv_restore()
103 struct clk_hw_omap *clk_hw; in _register_gate() local
106 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in _register_gate()
107 if (!clk_hw) in _register_gate()
110 clk_hw->hw.init = &init; in _register_gate()
115 memcpy(&clk_hw->enable_reg, reg, sizeof(*reg)); in _register_gate()
116 clk_hw->enable_bit = bit_idx; in _register_gate()
117 clk_hw->ops = hw_ops; in _register_gate()
119 clk_hw->flags = clk_gate_flags; in _register_gate()
126 clk = of_ti_clk_register_omap_hw(node, &clk_hw->hw, name); in _register_gate()
129 kfree(clk_hw); in _register_gate()