Lines Matching refs:clocks_map
154 } clocks_map[] = { in logicvc_clocks_prepare() local
179 for (i = 0; i < ARRAY_SIZE(clocks_map); i++) { in logicvc_clocks_prepare()
182 clk = devm_clk_get(dev, clocks_map[i].name); in logicvc_clocks_prepare()
184 if (PTR_ERR(clk) == -ENOENT && clocks_map[i].optional) in logicvc_clocks_prepare()
188 clocks_map[i].name); in logicvc_clocks_prepare()
198 clocks_map[i].name); in logicvc_clocks_prepare()
202 *clocks_map[i].clk = clk; in logicvc_clocks_prepare()
208 for (i = 0; i < ARRAY_SIZE(clocks_map); i++) { in logicvc_clocks_prepare()
209 if (!*clocks_map[i].clk) in logicvc_clocks_prepare()
212 clk_disable_unprepare(*clocks_map[i].clk); in logicvc_clocks_prepare()
213 *clocks_map[i].clk = NULL; in logicvc_clocks_prepare()