Lines Matching refs:p_clk
260 struct hix5hd2_clk_complex *p_clk; in hix5hd2_clk_register_complex() local
264 p_clk = kzalloc(sizeof(*p_clk), GFP_KERNEL); in hix5hd2_clk_register_complex()
265 if (!p_clk) in hix5hd2_clk_register_complex()
279 p_clk->ctrl_reg = base + clks[i].ctrl_reg; in hix5hd2_clk_register_complex()
280 p_clk->ctrl_clk_mask = clks[i].ctrl_clk_mask; in hix5hd2_clk_register_complex()
281 p_clk->ctrl_rst_mask = clks[i].ctrl_rst_mask; in hix5hd2_clk_register_complex()
282 p_clk->phy_reg = base + clks[i].phy_reg; in hix5hd2_clk_register_complex()
283 p_clk->phy_clk_mask = clks[i].phy_clk_mask; in hix5hd2_clk_register_complex()
284 p_clk->phy_rst_mask = clks[i].phy_rst_mask; in hix5hd2_clk_register_complex()
285 p_clk->hw.init = &init; in hix5hd2_clk_register_complex()
287 clk = clk_register(NULL, &p_clk->hw); in hix5hd2_clk_register_complex()
289 kfree(p_clk); in hix5hd2_clk_register_complex()