Home
last modified time | relevance | path

Searched refs:clocks_map (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_drm.c154 } 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()
[all …]