Lines Matching refs:p_clk
263 struct hix5hd2_clk_complex *p_clk; in hix5hd2_clk_register_complex() local
267 p_clk = kzalloc(sizeof(*p_clk), GFP_KERNEL); in hix5hd2_clk_register_complex()
268 if (!p_clk) in hix5hd2_clk_register_complex()
282 p_clk->ctrl_reg = base + clks[i].ctrl_reg; in hix5hd2_clk_register_complex()
283 p_clk->ctrl_clk_mask = clks[i].ctrl_clk_mask; in hix5hd2_clk_register_complex()
284 p_clk->ctrl_rst_mask = clks[i].ctrl_rst_mask; in hix5hd2_clk_register_complex()
285 p_clk->phy_reg = base + clks[i].phy_reg; in hix5hd2_clk_register_complex()
286 p_clk->phy_clk_mask = clks[i].phy_clk_mask; in hix5hd2_clk_register_complex()
287 p_clk->phy_rst_mask = clks[i].phy_rst_mask; in hix5hd2_clk_register_complex()
288 p_clk->hw.init = &init; in hix5hd2_clk_register_complex()
290 clk = clk_register(NULL, &p_clk->hw); in hix5hd2_clk_register_complex()
292 kfree(p_clk); in hix5hd2_clk_register_complex()