Lines Matching defs:node
223 static __init void vtwm_device_clk_init(struct device_node *node)
228 const char *clk_name = node->name;
243 rc = of_property_read_u32(node, "enable-reg", &en_reg);
246 rc = of_property_read_u32(node, "enable-bit", &dev_clk->en_bit);
255 rc = of_property_read_u32(node, "divisor-reg", &div_reg);
264 of_property_read_u32(node, "divisor-mask", &dev_clk->div_mask);
268 of_property_read_string(node, "clock-output-names", &clk_name);
289 parent_name = of_clk_get_parent_name(node, 0);
301 rc = of_clk_add_hw_provider(node, of_clk_hw_simple_get, hw);
673 static __init void vtwm_pll_clk_init(struct device_node *node, int pll_type)
678 const char *clk_name = node->name;
686 rc = of_property_read_u32(node, "reg", ®);
698 of_property_read_string(node, "clock-output-names", &clk_name);
703 parent_name = of_clk_get_parent_name(node, 0);
715 rc = of_clk_add_hw_provider(node, of_clk_hw_simple_get, hw);
722 static void __init vt8500_pll_init(struct device_node *node)
724 vtwm_pll_clk_init(node, PLL_TYPE_VT8500);
728 static void __init wm8650_pll_init(struct device_node *node)
730 vtwm_pll_clk_init(node, PLL_TYPE_WM8650);
734 static void __init wm8750_pll_init(struct device_node *node)
736 vtwm_pll_clk_init(node, PLL_TYPE_WM8750);
740 static void __init wm8850_pll_init(struct device_node *node)
742 vtwm_pll_clk_init(node, PLL_TYPE_WM8850);