Lines Matching refs:pcs
1046 felix->pcs = devm_kcalloc(dev, felix->info->num_ports, in vsc9959_mdio_bus_alloc()
1049 if (!felix->pcs) { in vsc9959_mdio_bus_alloc()
1096 struct mdio_device *pcs; in vsc9959_mdio_bus_alloc() local
1105 pcs = mdio_device_create(felix->imdio, port); in vsc9959_mdio_bus_alloc()
1106 if (IS_ERR(pcs)) in vsc9959_mdio_bus_alloc()
1109 lynx = lynx_pcs_create(pcs); in vsc9959_mdio_bus_alloc()
1111 mdio_device_free(pcs); in vsc9959_mdio_bus_alloc()
1115 felix->pcs[port] = lynx; in vsc9959_mdio_bus_alloc()
1129 struct lynx_pcs *pcs = felix->pcs[port]; in vsc9959_mdio_bus_free() local
1131 if (!pcs) in vsc9959_mdio_bus_free()
1134 mdio_device_free(pcs->mdio); in vsc9959_mdio_bus_free()
1135 lynx_pcs_destroy(pcs); in vsc9959_mdio_bus_free()