Lines Matching refs:node

144 				  struct device_node *node)  in _register_dpll()  argument
150 dd->clk_ref = of_clk_get(node, 0); in _register_dpll()
151 dd->clk_bypass = of_clk_get(node, 1); in _register_dpll()
155 node->name); in _register_dpll()
156 if (!ti_clk_retry_init(node, hw, _register_dpll)) in _register_dpll()
167 of_clk_add_provider(node, of_clk_src_simple_get, clk); in _register_dpll()
289 static void _register_dpll_x2(struct device_node *node, in _register_dpll_x2() argument
296 const char *name = node->name; in _register_dpll_x2()
299 parent_name = of_clk_get_parent_name(node, 0); in _register_dpll_x2()
301 pr_err("%s must have parent\n", node->name); in _register_dpll_x2()
324 of_clk_add_provider(node, of_clk_src_simple_get, clk); in _register_dpll_x2()
337 static void __init of_ti_dpll_setup(struct device_node *node, in of_ti_dpll_setup() argument
360 init->name = node->name; in of_ti_dpll_setup()
363 init->num_parents = of_clk_get_parent_count(node); in of_ti_dpll_setup()
365 pr_err("%s must have parent(s)\n", node->name); in of_ti_dpll_setup()
373 of_clk_parent_fill(node, parent_names, init->num_parents); in of_ti_dpll_setup()
377 dd->control_reg = ti_clk_get_reg_addr(node, 0); in of_ti_dpll_setup()
385 dd->mult_div1_reg = ti_clk_get_reg_addr(node, 1); in of_ti_dpll_setup()
391 dd->idlest_reg = ti_clk_get_reg_addr(node, 1); in of_ti_dpll_setup()
395 dd->mult_div1_reg = ti_clk_get_reg_addr(node, 2); in of_ti_dpll_setup()
402 dd->autoidle_reg = ti_clk_get_reg_addr(node, 3); in of_ti_dpll_setup()
407 if (of_property_read_bool(node, "ti,low-power-stop")) in of_ti_dpll_setup()
410 if (of_property_read_bool(node, "ti,low-power-bypass")) in of_ti_dpll_setup()
413 if (of_property_read_bool(node, "ti,lock")) in of_ti_dpll_setup()
419 _register_dpll(&clk_hw->hw, node); in of_ti_dpll_setup()
431 static void __init of_ti_omap4_dpll_x2_setup(struct device_node *node) in of_ti_omap4_dpll_x2_setup() argument
433 _register_dpll_x2(node, &dpll_x2_ck_ops, &clkhwops_omap4_dpllmx); in of_ti_omap4_dpll_x2_setup()
440 static void __init of_ti_am3_dpll_x2_setup(struct device_node *node) in of_ti_am3_dpll_x2_setup() argument
442 _register_dpll_x2(node, &dpll_x2_ck_ops, NULL); in of_ti_am3_dpll_x2_setup()
449 static void __init of_ti_omap3_dpll_setup(struct device_node *node) in of_ti_omap3_dpll_setup() argument
464 of_ti_dpll_setup(node, &omap3_dpll_ck_ops, &dd); in of_ti_omap3_dpll_setup()
469 static void __init of_ti_omap3_core_dpll_setup(struct device_node *node) in of_ti_omap3_core_dpll_setup() argument
483 of_ti_dpll_setup(node, &omap3_dpll_core_ck_ops, &dd); in of_ti_omap3_core_dpll_setup()
488 static void __init of_ti_omap3_per_dpll_setup(struct device_node *node) in of_ti_omap3_per_dpll_setup() argument
503 of_ti_dpll_setup(node, &omap3_dpll_per_ck_ops, &dd); in of_ti_omap3_per_dpll_setup()
508 static void __init of_ti_omap3_per_jtype_dpll_setup(struct device_node *node) in of_ti_omap3_per_jtype_dpll_setup() argument
525 of_ti_dpll_setup(node, &omap3_dpll_per_ck_ops, &dd); in of_ti_omap3_per_jtype_dpll_setup()
531 static void __init of_ti_omap4_dpll_setup(struct device_node *node) in of_ti_omap4_dpll_setup() argument
545 of_ti_dpll_setup(node, &dpll_ck_ops, &dd); in of_ti_omap4_dpll_setup()
550 static void __init of_ti_omap5_mpu_dpll_setup(struct device_node *node) in of_ti_omap5_mpu_dpll_setup() argument
566 of_ti_dpll_setup(node, &dpll_ck_ops, &dd); in of_ti_omap5_mpu_dpll_setup()
571 static void __init of_ti_omap4_core_dpll_setup(struct device_node *node) in of_ti_omap4_core_dpll_setup() argument
585 of_ti_dpll_setup(node, &dpll_core_ck_ops, &dd); in of_ti_omap4_core_dpll_setup()
592 static void __init of_ti_omap4_m4xen_dpll_setup(struct device_node *node) in of_ti_omap4_m4xen_dpll_setup() argument
608 of_ti_dpll_setup(node, &dpll_m4xen_ck_ops, &dd); in of_ti_omap4_m4xen_dpll_setup()
613 static void __init of_ti_omap4_jtype_dpll_setup(struct device_node *node) in of_ti_omap4_jtype_dpll_setup() argument
629 of_ti_dpll_setup(node, &dpll_m4xen_ck_ops, &dd); in of_ti_omap4_jtype_dpll_setup()
635 static void __init of_ti_am3_no_gate_dpll_setup(struct device_node *node) in of_ti_am3_no_gate_dpll_setup() argument
648 of_ti_dpll_setup(node, &dpll_no_gate_ck_ops, &dd); in of_ti_am3_no_gate_dpll_setup()
653 static void __init of_ti_am3_jtype_dpll_setup(struct device_node *node) in of_ti_am3_jtype_dpll_setup() argument
667 of_ti_dpll_setup(node, &dpll_ck_ops, &dd); in of_ti_am3_jtype_dpll_setup()
672 static void __init of_ti_am3_no_gate_jtype_dpll_setup(struct device_node *node) in of_ti_am3_no_gate_jtype_dpll_setup() argument
686 of_ti_dpll_setup(node, &dpll_no_gate_ck_ops, &dd); in of_ti_am3_no_gate_jtype_dpll_setup()
692 static void __init of_ti_am3_dpll_setup(struct device_node *node) in of_ti_am3_dpll_setup() argument
705 of_ti_dpll_setup(node, &dpll_ck_ops, &dd); in of_ti_am3_dpll_setup()
709 static void __init of_ti_am3_core_dpll_setup(struct device_node *node) in of_ti_am3_core_dpll_setup() argument
722 of_ti_dpll_setup(node, &dpll_core_ck_ops, &dd); in of_ti_am3_core_dpll_setup()
727 static void __init of_ti_omap2_core_dpll_setup(struct device_node *node) in of_ti_omap2_core_dpll_setup() argument
737 of_ti_dpll_setup(node, &omap2_dpll_core_ck_ops, &dd); in of_ti_omap2_core_dpll_setup()