Lines Matching refs:clk_hw
30 static int omap36xx_gate_clk_enable_with_hsdiv_restore(struct clk_hw *clk);
63 static int omap36xx_gate_clk_enable_with_hsdiv_restore(struct clk_hw *hw) in omap36xx_gate_clk_enable_with_hsdiv_restore()
66 struct clk_hw *parent_hw; in omap36xx_gate_clk_enable_with_hsdiv_restore()
100 struct clk_hw_omap *clk_hw; in _register_gate() local
103 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in _register_gate()
104 if (!clk_hw) in _register_gate()
107 clk_hw->hw.init = &init; in _register_gate()
112 memcpy(&clk_hw->enable_reg, reg, sizeof(*reg)); in _register_gate()
113 clk_hw->enable_bit = bit_idx; in _register_gate()
114 clk_hw->ops = hw_ops; in _register_gate()
116 clk_hw->flags = clk_gate_flags; in _register_gate()
123 clk = ti_clk_register(NULL, &clk_hw->hw, name); in _register_gate()
126 kfree(clk_hw); in _register_gate()
131 struct clk_hw *ti_clk_build_component_gate(struct ti_clk_gate *setup) in ti_clk_build_component_gate()