Lines Matching refs:clks
256 hix5hd2_clk_register_complex(struct hix5hd2_complex_clock *clks, int nums, in hix5hd2_clk_register_complex() argument
271 init.name = clks[i].name; in hix5hd2_clk_register_complex()
272 if (clks[i].type == TYPE_ETHER) in hix5hd2_clk_register_complex()
279 (clks[i].parent_name ? &clks[i].parent_name : NULL); in hix5hd2_clk_register_complex()
280 init.num_parents = (clks[i].parent_name ? 1 : 0); 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()
294 __func__, clks[i].name); in hix5hd2_clk_register_complex()
298 data->clk_data.clks[clks[i].id] = clk; in hix5hd2_clk_register_complex()