Home
last modified time | relevance | path

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

/linux-5.19.10/arch/arm/mach-omap2/
Domap_device.c44 static void _add_clkdev(struct omap_device *od, const char *clk_alias, in _add_clkdev() argument
50 if (!clk_alias || !clk_name) in _add_clkdev()
53 dev_dbg(&od->pdev->dev, "Creating %s -> %s\n", clk_alias, clk_name); in _add_clkdev()
55 r = clk_get_sys(dev_name(&od->pdev->dev), clk_alias); in _add_clkdev()
58 "alias %s already exists\n", clk_alias); in _add_clkdev()
72 rc = clk_register_clkdev(r, clk_alias, in _add_clkdev()
75 rc = clk_add_alias(clk_alias, dev_name(&od->pdev->dev), in _add_clkdev()
82 "clkdev_alloc for %s failed\n", clk_alias); in _add_clkdev()