Lines Matching defs:pcs
248 if (!dsa_port_is_cpu(dp) && a5psw->pcs[port])
249 return a5psw->pcs[port];
1136 for (i = 0; i < ARRAY_SIZE(a5psw->pcs); i++) {
1137 if (a5psw->pcs[i])
1138 miic_destroy(a5psw->pcs[i]);
1145 struct phylink_pcs *pcs;
1154 pcs_node = of_parse_phandle(port, "pcs-handle", 0);
1163 if (reg >= ARRAY_SIZE(a5psw->pcs)) {
1168 pcs = miic_create(a5psw->dev, pcs_node);
1169 if (IS_ERR(pcs)) {
1172 ret = PTR_ERR(pcs);
1176 a5psw->pcs[reg] = pcs;