Lines Matching refs:i
30 int i; in mmp_register_fixed_rate_clks() local
33 for (i = 0; i < size; i++) { in mmp_register_fixed_rate_clks()
34 clk = clk_register_fixed_rate(NULL, clks[i].name, in mmp_register_fixed_rate_clks()
35 clks[i].parent_name, in mmp_register_fixed_rate_clks()
36 clks[i].flags, in mmp_register_fixed_rate_clks()
37 clks[i].fixed_rate); in mmp_register_fixed_rate_clks()
40 __func__, clks[i].name); in mmp_register_fixed_rate_clks()
43 if (clks[i].id) in mmp_register_fixed_rate_clks()
44 unit->clk_table[clks[i].id] = clk; in mmp_register_fixed_rate_clks()
53 int i; in mmp_register_fixed_factor_clks() local
55 for (i = 0; i < size; i++) { in mmp_register_fixed_factor_clks()
56 clk = clk_register_fixed_factor(NULL, clks[i].name, in mmp_register_fixed_factor_clks()
57 clks[i].parent_name, in mmp_register_fixed_factor_clks()
58 clks[i].flags, clks[i].mult, in mmp_register_fixed_factor_clks()
59 clks[i].div); in mmp_register_fixed_factor_clks()
62 __func__, clks[i].name); in mmp_register_fixed_factor_clks()
65 if (clks[i].id) in mmp_register_fixed_factor_clks()
66 unit->clk_table[clks[i].id] = clk; in mmp_register_fixed_factor_clks()
75 int i; in mmp_register_general_gate_clks() local
77 for (i = 0; i < size; i++) { in mmp_register_general_gate_clks()
78 clk = clk_register_gate(NULL, clks[i].name, in mmp_register_general_gate_clks()
79 clks[i].parent_name, in mmp_register_general_gate_clks()
80 clks[i].flags, in mmp_register_general_gate_clks()
81 base + clks[i].offset, in mmp_register_general_gate_clks()
82 clks[i].bit_idx, in mmp_register_general_gate_clks()
83 clks[i].gate_flags, in mmp_register_general_gate_clks()
84 clks[i].lock); in mmp_register_general_gate_clks()
88 __func__, clks[i].name); in mmp_register_general_gate_clks()
91 if (clks[i].id) in mmp_register_general_gate_clks()
92 unit->clk_table[clks[i].id] = clk; in mmp_register_general_gate_clks()
101 int i; in mmp_register_gate_clks() local
103 for (i = 0; i < size; i++) { in mmp_register_gate_clks()
104 clk = mmp_clk_register_gate(NULL, clks[i].name, in mmp_register_gate_clks()
105 clks[i].parent_name, in mmp_register_gate_clks()
106 clks[i].flags, in mmp_register_gate_clks()
107 base + clks[i].offset, in mmp_register_gate_clks()
108 clks[i].mask, in mmp_register_gate_clks()
109 clks[i].val_enable, in mmp_register_gate_clks()
110 clks[i].val_disable, in mmp_register_gate_clks()
111 clks[i].gate_flags, in mmp_register_gate_clks()
112 clks[i].lock); in mmp_register_gate_clks()
116 __func__, clks[i].name); in mmp_register_gate_clks()
119 if (clks[i].id) in mmp_register_gate_clks()
120 unit->clk_table[clks[i].id] = clk; in mmp_register_gate_clks()
129 int i; in mmp_register_mux_clks() local
131 for (i = 0; i < size; i++) { in mmp_register_mux_clks()
132 clk = clk_register_mux(NULL, clks[i].name, in mmp_register_mux_clks()
133 clks[i].parent_name, in mmp_register_mux_clks()
134 clks[i].num_parents, in mmp_register_mux_clks()
135 clks[i].flags, in mmp_register_mux_clks()
136 base + clks[i].offset, in mmp_register_mux_clks()
137 clks[i].shift, in mmp_register_mux_clks()
138 clks[i].width, in mmp_register_mux_clks()
139 clks[i].mux_flags, in mmp_register_mux_clks()
140 clks[i].lock); in mmp_register_mux_clks()
144 __func__, clks[i].name); in mmp_register_mux_clks()
147 if (clks[i].id) in mmp_register_mux_clks()
148 unit->clk_table[clks[i].id] = clk; in mmp_register_mux_clks()
157 int i; in mmp_register_div_clks() local
159 for (i = 0; i < size; i++) { in mmp_register_div_clks()
160 clk = clk_register_divider(NULL, clks[i].name, in mmp_register_div_clks()
161 clks[i].parent_name, in mmp_register_div_clks()
162 clks[i].flags, in mmp_register_div_clks()
163 base + clks[i].offset, in mmp_register_div_clks()
164 clks[i].shift, in mmp_register_div_clks()
165 clks[i].width, in mmp_register_div_clks()
166 clks[i].div_flags, in mmp_register_div_clks()
167 clks[i].lock); in mmp_register_div_clks()
171 __func__, clks[i].name); in mmp_register_div_clks()
174 if (clks[i].id) in mmp_register_div_clks()
175 unit->clk_table[clks[i].id] = clk; in mmp_register_div_clks()