Lines Matching refs:apmclk
128 struct xgene_clk_pll *apmclk; in xgene_register_clk_pll() local
133 apmclk = kzalloc(sizeof(*apmclk), GFP_KERNEL); in xgene_register_clk_pll()
134 if (!apmclk) in xgene_register_clk_pll()
143 apmclk->version = version; in xgene_register_clk_pll()
144 apmclk->reg = reg; in xgene_register_clk_pll()
145 apmclk->lock = lock; in xgene_register_clk_pll()
146 apmclk->pll_offset = pll_offset; in xgene_register_clk_pll()
147 apmclk->type = type; in xgene_register_clk_pll()
148 apmclk->hw.init = &init; in xgene_register_clk_pll()
151 clk = clk_register(dev, &apmclk->hw); in xgene_register_clk_pll()
154 kfree(apmclk); in xgene_register_clk_pll()
628 struct xgene_clk *apmclk; in xgene_register_clk() local
634 apmclk = kzalloc(sizeof(*apmclk), GFP_KERNEL); in xgene_register_clk()
635 if (!apmclk) in xgene_register_clk()
644 apmclk->lock = lock; in xgene_register_clk()
645 apmclk->hw.init = &init; in xgene_register_clk()
646 apmclk->param = *parameters; in xgene_register_clk()
649 clk = clk_register(dev, &apmclk->hw); in xgene_register_clk()
652 kfree(apmclk); in xgene_register_clk()