Lines Matching full:xpcs
4 #include <linux/pcs/pcs-xpcs.h>
403 struct dw_xpcs *xpcs; in sja1105_mdiobus_pcs_register() local
412 xpcs = xpcs_create_mdiodev(bus, port, priv->phy_mode[port]); in sja1105_mdiobus_pcs_register()
413 if (IS_ERR(xpcs)) { in sja1105_mdiobus_pcs_register()
414 rc = PTR_ERR(xpcs); in sja1105_mdiobus_pcs_register()
418 priv->xpcs[port] = xpcs; in sja1105_mdiobus_pcs_register()
427 if (!priv->xpcs[port]) in sja1105_mdiobus_pcs_register()
430 xpcs_destroy(priv->xpcs[port]); in sja1105_mdiobus_pcs_register()
431 priv->xpcs[port] = NULL; in sja1105_mdiobus_pcs_register()
449 if (!priv->xpcs[port]) in sja1105_mdiobus_pcs_unregister()
452 xpcs_destroy(priv->xpcs[port]); in sja1105_mdiobus_pcs_unregister()
453 priv->xpcs[port] = NULL; in sja1105_mdiobus_pcs_unregister()