Lines Matching refs:pcs
1029 felix->pcs = devm_kcalloc(dev, felix->info->num_ports, in vsc9959_mdio_bus_alloc()
1032 if (!felix->pcs) { in vsc9959_mdio_bus_alloc()
1082 struct mdio_device *pcs; in vsc9959_mdio_bus_alloc() local
1091 pcs = mdio_device_create(felix->imdio, port); in vsc9959_mdio_bus_alloc()
1092 if (IS_ERR(pcs)) in vsc9959_mdio_bus_alloc()
1095 lynx = lynx_pcs_create(pcs); in vsc9959_mdio_bus_alloc()
1097 mdio_device_free(pcs); in vsc9959_mdio_bus_alloc()
1101 felix->pcs[port] = lynx; in vsc9959_mdio_bus_alloc()
1115 struct lynx_pcs *pcs = felix->pcs[port]; in vsc9959_mdio_bus_free() local
1117 if (!pcs) in vsc9959_mdio_bus_free()
1120 mdio_device_free(pcs->mdio); in vsc9959_mdio_bus_free()
1121 lynx_pcs_destroy(pcs); in vsc9959_mdio_bus_free()