Lines Matching refs:mdio_node
280 struct device_node *mdio_node) in sja1105_mdiobus_base_tx_register() argument
287 np = of_get_compatible_child(mdio_node, "nxp,sja1110-base-tx-mdio"); in sja1105_mdiobus_base_tx_register()
334 struct device_node *mdio_node) in sja1105_mdiobus_base_t1_register() argument
341 np = of_get_compatible_child(mdio_node, "nxp,sja1110-base-t1-mdio"); in sja1105_mdiobus_base_t1_register()
494 struct device_node *mdio_node; in sja1105_mdiobus_register() local
501 mdio_node = of_get_child_by_name(switch_node, "mdios"); in sja1105_mdiobus_register()
502 if (!mdio_node) in sja1105_mdiobus_register()
505 if (!of_device_is_available(mdio_node)) in sja1105_mdiobus_register()
509 rc = sja1105_mdiobus_base_tx_register(priv, mdio_node); in sja1105_mdiobus_register()
515 rc = sja1105_mdiobus_base_t1_register(priv, mdio_node); in sja1105_mdiobus_register()
521 of_node_put(mdio_node); in sja1105_mdiobus_register()
528 of_node_put(mdio_node); in sja1105_mdiobus_register()