Lines Matching refs:node
143 struct device_node *node) in _register_dpll() argument
149 dd->clk_ref = of_clk_get(node, 0); in _register_dpll()
150 dd->clk_bypass = of_clk_get(node, 1); in _register_dpll()
154 node->name); in _register_dpll()
155 if (!ti_clk_retry_init(node, hw, _register_dpll)) in _register_dpll()
166 of_clk_add_provider(node, of_clk_src_simple_get, clk); in _register_dpll()
288 static void _register_dpll_x2(struct device_node *node, in _register_dpll_x2() argument
295 const char *name = node->name; in _register_dpll_x2()
298 parent_name = of_clk_get_parent_name(node, 0); in _register_dpll_x2()
300 pr_err("%s must have parent\n", node->name); in _register_dpll_x2()
323 of_clk_add_provider(node, of_clk_src_simple_get, clk); in _register_dpll_x2()
336 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()
374 parent_names[i] = of_clk_get_parent_name(node, i); in of_ti_dpll_setup()
378 dd->control_reg = ti_clk_get_reg_addr(node, 0); in of_ti_dpll_setup()
386 dd->mult_div1_reg = ti_clk_get_reg_addr(node, 1); in of_ti_dpll_setup()
392 dd->idlest_reg = ti_clk_get_reg_addr(node, 1); in of_ti_dpll_setup()
396 dd->mult_div1_reg = ti_clk_get_reg_addr(node, 2); in of_ti_dpll_setup()
403 dd->autoidle_reg = ti_clk_get_reg_addr(node, 3); in of_ti_dpll_setup()
408 if (of_property_read_bool(node, "ti,low-power-stop")) in of_ti_dpll_setup()
411 if (of_property_read_bool(node, "ti,low-power-bypass")) in of_ti_dpll_setup()
414 if (of_property_read_bool(node, "ti,lock")) in of_ti_dpll_setup()
420 _register_dpll(&clk_hw->hw, node); in of_ti_dpll_setup()
432 static void __init of_ti_omap4_dpll_x2_setup(struct device_node *node) in of_ti_omap4_dpll_x2_setup() argument
434 _register_dpll_x2(node, &dpll_x2_ck_ops, &clkhwops_omap4_dpllmx); in of_ti_omap4_dpll_x2_setup()
441 static void __init of_ti_am3_dpll_x2_setup(struct device_node *node) in of_ti_am3_dpll_x2_setup() argument
443 _register_dpll_x2(node, &dpll_x2_ck_ops, NULL); in of_ti_am3_dpll_x2_setup()
450 static void __init of_ti_omap3_dpll_setup(struct device_node *node) in of_ti_omap3_dpll_setup() argument
465 of_ti_dpll_setup(node, &omap3_dpll_ck_ops, &dd); in of_ti_omap3_dpll_setup()
470 static void __init of_ti_omap3_core_dpll_setup(struct device_node *node) in of_ti_omap3_core_dpll_setup() argument
484 of_ti_dpll_setup(node, &omap3_dpll_core_ck_ops, &dd); in of_ti_omap3_core_dpll_setup()
489 static void __init of_ti_omap3_per_dpll_setup(struct device_node *node) in of_ti_omap3_per_dpll_setup() argument
504 of_ti_dpll_setup(node, &omap3_dpll_per_ck_ops, &dd); in of_ti_omap3_per_dpll_setup()
509 static void __init of_ti_omap3_per_jtype_dpll_setup(struct device_node *node) in of_ti_omap3_per_jtype_dpll_setup() argument
526 of_ti_dpll_setup(node, &omap3_dpll_per_ck_ops, &dd); in of_ti_omap3_per_jtype_dpll_setup()
532 static void __init of_ti_omap4_dpll_setup(struct device_node *node) in of_ti_omap4_dpll_setup() argument
546 of_ti_dpll_setup(node, &dpll_ck_ops, &dd); in of_ti_omap4_dpll_setup()
551 static void __init of_ti_omap5_mpu_dpll_setup(struct device_node *node) in of_ti_omap5_mpu_dpll_setup() argument
567 of_ti_dpll_setup(node, &dpll_ck_ops, &dd); in of_ti_omap5_mpu_dpll_setup()
572 static void __init of_ti_omap4_core_dpll_setup(struct device_node *node) in of_ti_omap4_core_dpll_setup() argument
586 of_ti_dpll_setup(node, &dpll_core_ck_ops, &dd); in of_ti_omap4_core_dpll_setup()
593 static void __init of_ti_omap4_m4xen_dpll_setup(struct device_node *node) in of_ti_omap4_m4xen_dpll_setup() argument
609 of_ti_dpll_setup(node, &dpll_m4xen_ck_ops, &dd); in of_ti_omap4_m4xen_dpll_setup()
614 static void __init of_ti_omap4_jtype_dpll_setup(struct device_node *node) in of_ti_omap4_jtype_dpll_setup() argument
630 of_ti_dpll_setup(node, &dpll_m4xen_ck_ops, &dd); in of_ti_omap4_jtype_dpll_setup()
636 static void __init of_ti_am3_no_gate_dpll_setup(struct device_node *node) in of_ti_am3_no_gate_dpll_setup() argument
649 of_ti_dpll_setup(node, &dpll_no_gate_ck_ops, &dd); in of_ti_am3_no_gate_dpll_setup()
654 static void __init of_ti_am3_jtype_dpll_setup(struct device_node *node) in of_ti_am3_jtype_dpll_setup() argument
668 of_ti_dpll_setup(node, &dpll_ck_ops, &dd); in of_ti_am3_jtype_dpll_setup()
673 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
687 of_ti_dpll_setup(node, &dpll_no_gate_ck_ops, &dd); in of_ti_am3_no_gate_jtype_dpll_setup()
693 static void __init of_ti_am3_dpll_setup(struct device_node *node) in of_ti_am3_dpll_setup() argument
706 of_ti_dpll_setup(node, &dpll_ck_ops, &dd); in of_ti_am3_dpll_setup()
710 static void __init of_ti_am3_core_dpll_setup(struct device_node *node) in of_ti_am3_core_dpll_setup() argument
723 of_ti_dpll_setup(node, &dpll_core_ck_ops, &dd); in of_ti_am3_core_dpll_setup()
728 static void __init of_ti_omap2_core_dpll_setup(struct device_node *node) in of_ti_omap2_core_dpll_setup() argument
738 of_ti_dpll_setup(node, &omap2_dpll_core_ck_ops, &dd); in of_ti_omap2_core_dpll_setup()