Lines Matching refs:pcs
5 #include <linux/pcs-lynx.h>
157 return mac->pcs;
256 struct phylink_pcs *pcs;
258 node = fwnode_find_reference(dpmac_node, "pcs-handle", 0);
261 netdev_warn(mac->net_dev, "pcs-handle node not found\n");
265 pcs = lynx_pcs_create_fwnode(node);
268 if (pcs == ERR_PTR(-EPROBE_DEFER)) {
273 if (pcs == ERR_PTR(-ENODEV)) {
274 netdev_err(mac->net_dev, "pcs-handle node not available\n");
275 return PTR_ERR(pcs);
278 if (IS_ERR(pcs)) {
280 "lynx_pcs_create_fwnode() failed: %pe\n", pcs);
281 return PTR_ERR(pcs);
284 mac->pcs = pcs;
291 struct phylink_pcs *phylink_pcs = mac->pcs;
295 mac->pcs = NULL;
308 if (mac->pcs) {