Lines Matching refs:clks
94 const struct hisi_phase_clock *clks, in clk_register_hisi_phase() argument
104 init.name = clks->name; in clk_register_hisi_phase()
106 init.flags = clks->flags; in clk_register_hisi_phase()
107 init.parent_names = clks->parent_names ? &clks->parent_names : NULL; in clk_register_hisi_phase()
108 init.num_parents = clks->parent_names ? 1 : 0; in clk_register_hisi_phase()
110 phase->reg = base + clks->offset; in clk_register_hisi_phase()
111 phase->shift = clks->shift; in clk_register_hisi_phase()
112 phase->mask = (BIT(clks->width) - 1) << clks->shift; in clk_register_hisi_phase()
114 phase->phase_degrees = clks->phase_degrees; in clk_register_hisi_phase()
115 phase->phase_regvals = clks->phase_regvals; in clk_register_hisi_phase()
116 phase->phase_num = clks->phase_num; in clk_register_hisi_phase()