Lines Matching refs:port_node
1745 struct device_node *fm_node, *port_node; in fman_port_probe() local
1761 port_node = of_node_get(of_dev->dev.of_node); in fman_port_probe()
1764 fm_node = of_get_parent(port_node); in fman_port_probe()
1784 err = of_property_read_u32(port_node, "cell-index", &val); in fman_port_probe()
1787 __func__, port_node); in fman_port_probe()
1794 if (of_device_is_compatible(port_node, "fsl,fman-v3-port-tx")) { in fman_port_probe()
1797 if (of_find_property(port_node, "fsl,fman-10g-port", &lenp)) in fman_port_probe()
1800 } else if (of_device_is_compatible(port_node, "fsl,fman-v2-port-tx")) { in fman_port_probe()
1807 } else if (of_device_is_compatible(port_node, "fsl,fman-v3-port-rx")) { in fman_port_probe()
1810 if (of_find_property(port_node, "fsl,fman-10g-port", &lenp)) in fman_port_probe()
1813 } else if (of_device_is_compatible(port_node, "fsl,fman-v2-port-rx")) { in fman_port_probe()
1842 err = of_address_to_resource(port_node, 0, &res); in fman_port_probe()
1852 of_node_put(port_node); in fman_port_probe()
1875 of_node_put(port_node); in fman_port_probe()