Lines Matching refs:node

214 static void __init _of_ti_gate_clk_setup(struct device_node *node,  in _of_ti_gate_clk_setup()  argument
227 reg = ti_clk_get_reg_addr(node, 0); in _of_ti_gate_clk_setup()
231 if (!of_property_read_u32(node, "ti,bit-shift", &val)) in _of_ti_gate_clk_setup()
235 if (of_clk_get_parent_count(node) != 1) { in _of_ti_gate_clk_setup()
236 pr_err("%s must have 1 parent\n", node->name); in _of_ti_gate_clk_setup()
240 parent_name = of_clk_get_parent_name(node, 0); in _of_ti_gate_clk_setup()
242 if (of_property_read_bool(node, "ti,set-rate-parent")) in _of_ti_gate_clk_setup()
245 if (of_property_read_bool(node, "ti,set-bit-to-disable")) in _of_ti_gate_clk_setup()
248 clk = _register_gate(NULL, node->name, parent_name, flags, reg, in _of_ti_gate_clk_setup()
252 of_clk_add_provider(node, of_clk_src_simple_get, clk); in _of_ti_gate_clk_setup()
256 _of_ti_composite_gate_clk_setup(struct device_node *node, in _of_ti_composite_gate_clk_setup() argument
266 gate->enable_reg = ti_clk_get_reg_addr(node, 0); in _of_ti_composite_gate_clk_setup()
270 of_property_read_u32(node, "ti,bit-shift", &val); in _of_ti_composite_gate_clk_setup()
276 if (!ti_clk_add_component(node, &gate->hw, CLK_COMPONENT_TYPE_GATE)) in _of_ti_composite_gate_clk_setup()
284 of_ti_composite_no_wait_gate_clk_setup(struct device_node *node) in of_ti_composite_no_wait_gate_clk_setup() argument
286 _of_ti_composite_gate_clk_setup(node, NULL); in of_ti_composite_no_wait_gate_clk_setup()
292 static void __init of_ti_composite_interface_clk_setup(struct device_node *node) in of_ti_composite_interface_clk_setup() argument
294 _of_ti_composite_gate_clk_setup(node, &clkhwops_iclk_wait); in of_ti_composite_interface_clk_setup()
300 static void __init of_ti_composite_gate_clk_setup(struct device_node *node) in of_ti_composite_gate_clk_setup() argument
302 _of_ti_composite_gate_clk_setup(node, &clkhwops_wait); in of_ti_composite_gate_clk_setup()
308 static void __init of_ti_clkdm_gate_clk_setup(struct device_node *node) in of_ti_clkdm_gate_clk_setup() argument
310 _of_ti_gate_clk_setup(node, &omap_gate_clkdm_clk_ops, NULL); in of_ti_clkdm_gate_clk_setup()
315 static void __init of_ti_hsdiv_gate_clk_setup(struct device_node *node) in of_ti_hsdiv_gate_clk_setup() argument
317 _of_ti_gate_clk_setup(node, &omap_gate_clk_hsdiv_restore_ops, in of_ti_hsdiv_gate_clk_setup()
323 static void __init of_ti_gate_clk_setup(struct device_node *node) in of_ti_gate_clk_setup() argument
325 _of_ti_gate_clk_setup(node, &omap_gate_clk_ops, NULL); in of_ti_gate_clk_setup()
329 static void __init of_ti_wait_gate_clk_setup(struct device_node *node) in of_ti_wait_gate_clk_setup() argument
331 _of_ti_gate_clk_setup(node, &omap_gate_clk_ops, &clkhwops_wait); in of_ti_wait_gate_clk_setup()
337 static void __init of_ti_am35xx_gate_clk_setup(struct device_node *node) in of_ti_am35xx_gate_clk_setup() argument
339 _of_ti_gate_clk_setup(node, &omap_gate_clk_ops, in of_ti_am35xx_gate_clk_setup()
345 static void __init of_ti_dss_gate_clk_setup(struct device_node *node) in of_ti_dss_gate_clk_setup() argument
347 _of_ti_gate_clk_setup(node, &omap_gate_clk_ops, in of_ti_dss_gate_clk_setup()