Lines Matching refs:mux_node
335 struct device_node *mux_node, *child = NULL;
339 mux_node = of_get_child_by_name(dev_node, "i2c-arb");
341 mux_node = of_get_child_by_name(dev_node, "i2c-gate");
343 mux_node = of_get_child_by_name(dev_node, "i2c-mux");
345 if (mux_node) {
347 if (!of_property_read_u32(mux_node, "reg", ®)) {
348 of_node_put(mux_node);
349 mux_node = NULL;
353 if (!mux_node)
354 mux_node = of_node_get(dev_node);
356 child = of_node_get(mux_node);
359 for_each_child_of_node(mux_node, child) {
369 of_node_put(mux_node);