Searched refs:cpu_root (Results 1 – 2 of 2) sorted by relevance
109 struct device *cpu_root; in cpacf_init() local112 cpu_root = bus_get_dev_root(&cpu_subsys); in cpacf_init()113 if (cpu_root) { in cpacf_init()114 rc = sysfs_create_group(&cpu_root->kobj, &cpacf_attr_grp); in cpacf_init()115 put_device(cpu_root); in cpacf_init()
398 struct clk *cpu_root = priv->reg[JH7110_SYSCLK_CPU_ROOT].hw.clk; in jh7110_pll0_clk_notifier_cb() local404 priv->original_clk = clk_get_parent(cpu_root); in jh7110_pll0_clk_notifier_cb()405 ret = clk_set_parent(cpu_root, osc); in jh7110_pll0_clk_notifier_cb()408 ret = clk_set_parent(cpu_root, priv->original_clk); in jh7110_pll0_clk_notifier_cb()