Lines Matching refs:clkctrl_clk
298 struct omap_clkctrl_clk *clkctrl_clk; in _ti_clkctrl_clk_register() local
305 clkctrl_clk = kzalloc(sizeof(*clkctrl_clk), GFP_KERNEL); in _ti_clkctrl_clk_register()
306 if (!init.name || !clkctrl_clk) { in _ti_clkctrl_clk_register()
323 clkctrl_clk->reg_offset = offset; in _ti_clkctrl_clk_register()
324 clkctrl_clk->bit_offset = bit; in _ti_clkctrl_clk_register()
325 clkctrl_clk->clk = clk_hw; in _ti_clkctrl_clk_register()
327 list_add(&clkctrl_clk->node, &provider->clocks); in _ti_clkctrl_clk_register()
333 kfree(clkctrl_clk); in _ti_clkctrl_clk_register()
505 struct omap_clkctrl_clk *clkctrl_clk = NULL; in _ti_omap4_clkctrl_setup() local
690 clkctrl_clk = kzalloc(sizeof(*clkctrl_clk), GFP_KERNEL); in _ti_omap4_clkctrl_setup()
691 if (!clkctrl_clk) in _ti_omap4_clkctrl_setup()
701 clkctrl_clk->reg_offset = reg_data->offset; in _ti_omap4_clkctrl_setup()
702 clkctrl_clk->clk = &hw->hw; in _ti_omap4_clkctrl_setup()
704 list_add(&clkctrl_clk->node, &provider->clocks); in _ti_omap4_clkctrl_setup()
721 kfree(clkctrl_clk); in _ti_omap4_clkctrl_setup()