Lines Matching refs:node
653 static int cpts_of_mux_clk_setup(struct cpts *cpts, struct device_node *node)
662 refclk_np = of_get_child_by_name(node, "cpts-refclk-mux");
729 static int cpts_of_parse(struct cpts *cpts, struct device_node *node)
734 if (!of_property_read_u32(node, "cpts_clock_mult", &prop))
737 if (!of_property_read_u32(node, "cpts_clock_shift", &prop))
744 return cpts_of_mux_clk_setup(cpts, node);
752 struct device_node *node, u32 n_ext_ts)
768 ret = cpts_of_parse(cpts, node);
772 cpts->refclk = devm_get_clk_from_child(dev, node, "cpts");
774 /* try get clk from dev node for compatibility */