Lines Matching refs:clks
54 const struct clk_periph *clks; member
236 const struct clk_periph *clk = &priv->clks[id]; in get_parent_rate()
282 const struct clk_periph *clk = &priv->clks[id]; in periph_clk_get_rate()
314 const struct clk_periph *periph_clk = &priv->clks[clk->id]; in periph_clk_enable()
344 const struct clk_periph *clks; in armada_37xx_periph_clk_dump() local
350 clks = priv->clks; in armada_37xx_periph_clk_dump()
353 printf(" %s at %lu Hz\n", clks[i].name, in armada_37xx_periph_clk_dump()
396 const struct clk_periph *clks; in armada_37xx_periph_clk_probe() local
399 clks = (const struct clk_periph *)dev_get_driver_data(dev); in armada_37xx_periph_clk_probe()
400 if (!clks) in armada_37xx_periph_clk_probe()
411 while (clks[priv->count].name) in armada_37xx_periph_clk_probe()
414 priv->clks = clks; in armada_37xx_periph_clk_probe()
420 if (!clks[i].parent_name) in armada_37xx_periph_clk_probe()
425 if (!strcmp(clks[i].parent_name, in armada_37xx_periph_clk_probe()
438 if (!strcmp(clks[i].parent_name, clks[j].name)) in armada_37xx_periph_clk_probe()
448 dev_err(dev, "undefined parent %s\n", clks[i].parent_name); in armada_37xx_periph_clk_probe()