Lines Matching refs:clk_hw
32 static int omap36xx_gate_clk_enable_with_hsdiv_restore(struct clk_hw *clk);
65 static int omap36xx_gate_clk_enable_with_hsdiv_restore(struct clk_hw *clk) in omap36xx_gate_clk_enable_with_hsdiv_restore()
68 struct clk_hw *parent_hw; in omap36xx_gate_clk_enable_with_hsdiv_restore()
102 struct clk_hw_omap *clk_hw; in _register_gate() local
105 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in _register_gate()
106 if (!clk_hw) in _register_gate()
109 clk_hw->hw.init = &init; in _register_gate()
114 clk_hw->enable_reg = reg; in _register_gate()
115 clk_hw->enable_bit = bit_idx; in _register_gate()
116 clk_hw->ops = hw_ops; in _register_gate()
118 clk_hw->flags = MEMMAP_ADDRESSING | clk_gate_flags; in _register_gate()
125 clk = clk_register(NULL, &clk_hw->hw); in _register_gate()
128 kfree(clk_hw); in _register_gate()
182 struct clk_hw *ti_clk_build_component_gate(struct ti_clk_gate *setup) in ti_clk_build_component_gate()