Lines Matching refs:pcs
1093 felix->pcs = devm_kcalloc(dev, felix->info->num_ports, in vsc9953_mdio_bus_alloc()
1096 if (!felix->pcs) { in vsc9953_mdio_bus_alloc()
1124 struct mdio_device *pcs; in vsc9953_mdio_bus_alloc() local
1133 pcs = mdio_device_create(felix->imdio, addr); in vsc9953_mdio_bus_alloc()
1134 if (IS_ERR(pcs)) in vsc9953_mdio_bus_alloc()
1137 lynx = lynx_pcs_create(pcs); in vsc9953_mdio_bus_alloc()
1139 mdio_device_free(pcs); in vsc9953_mdio_bus_alloc()
1143 felix->pcs[port] = lynx; in vsc9953_mdio_bus_alloc()
1157 struct lynx_pcs *pcs = felix->pcs[port]; in vsc9953_mdio_bus_free() local
1159 if (!pcs) in vsc9953_mdio_bus_free()
1162 mdio_device_free(pcs->mdio); in vsc9953_mdio_bus_free()
1163 lynx_pcs_destroy(pcs); in vsc9953_mdio_bus_free()