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