/linux-master/include/linux/ |
H A D | pcs-lynx.h | 12 struct phylink_pcs *lynx_pcs_create_mdiodev(struct mii_bus *bus, int addr); 13 struct phylink_pcs *lynx_pcs_create_fwnode(struct fwnode_handle *node); 15 void lynx_pcs_destroy(struct phylink_pcs *pcs);
|
H A D | pcs-rzn1-miic.h | 14 struct phylink_pcs *miic_create(struct device *dev, struct device_node *np); 16 void miic_destroy(struct phylink_pcs *pcs);
|
H A D | phylink.h | 177 struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, 211 * Return the &struct phylink_pcs for the specified interface mode, or 219 struct phylink_pcs *mac_select_pcs(struct phylink_config *config, 390 * struct phylink_pcs - PHYLINK PCS instance 402 struct phylink_pcs { struct 423 int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported, 425 int (*pcs_enable)(struct phylink_pcs *pcs); 426 void (*pcs_disable)(struct phylink_pcs *pcs); 427 void (*pcs_pre_config)(struct phylink_pcs *pcs, 429 int (*pcs_post_config)(struct phylink_pcs *pc [all...] |
/linux-master/include/linux/pcs/ |
H A D | pcs-mtk-lynxi.h | 9 struct phylink_pcs *mtk_pcs_lynxi_create(struct device *dev, 12 void mtk_pcs_lynxi_destroy(struct phylink_pcs *pcs);
|
H A D | pcs-xpcs.h | 34 struct phylink_pcs pcs; 40 void xpcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode,
|
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | pcs-6185.c | 16 struct phylink_pcs phylink_pcs; member in struct:mv88e6185_pcs 24 static struct mv88e6185_pcs *pcs_to_mv88e6185_pcs(struct phylink_pcs *pcs) 26 return container_of(pcs, struct mv88e6185_pcs, phylink_pcs); 49 phylink_pcs_change(&mpcs->phylink_pcs, link_up); 57 static void mv88e6185_pcs_get_state(struct phylink_pcs *pcs, 98 static int mv88e6185_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, 106 static void mv88e6185_pcs_an_restart(struct phylink_pcs *pcs) 139 mpcs->phylink_pcs.ops = &mv88e6185_phylink_pcs_ops; 140 mpcs->phylink_pcs [all...] |
H A D | pcs-6352.c | 26 struct phylink_pcs phylink_pcs; member in struct:marvell_c22_pcs 33 static struct marvell_c22_pcs *pcs_to_marvell_c22_pcs(struct phylink_pcs *pcs) 35 return container_of(pcs, struct marvell_c22_pcs, phylink_pcs); 101 phylink_pcs_change(&mpcs->phylink_pcs, true); 140 static int marvell_c22_pcs_enable(struct phylink_pcs *pcs) 152 static void marvell_c22_pcs_disable(struct phylink_pcs *pcs) 160 static void marvell_c22_pcs_get_state(struct phylink_pcs *pcs, 184 static int marvell_c22_pcs_config(struct phylink_pcs *pcs, 226 static void marvell_c22_pcs_an_restart(struct phylink_pcs *pc [all...] |
H A D | pcs-639x.c | 21 struct phylink_pcs sgmii_pcs; 22 struct phylink_pcs xg_pcs; 129 static struct mv88e639x_pcs *sgmii_pcs_to_mv88e639x_pcs(struct phylink_pcs *pcs) 183 static int mv88e639x_sgmii_pcs_enable(struct phylink_pcs *pcs) 193 static void mv88e639x_sgmii_pcs_disable(struct phylink_pcs *pcs) 201 static void mv88e639x_sgmii_pcs_pre_config(struct phylink_pcs *pcs, 240 static int mv88e639x_sgmii_pcs_post_config(struct phylink_pcs *pcs, 259 static void mv88e639x_sgmii_pcs_get_state(struct phylink_pcs *pcs, 297 static int mv88e639x_sgmii_pcs_config(struct phylink_pcs *pcs, 337 static void mv88e639x_sgmii_pcs_an_restart(struct phylink_pcs *pc [all...] |
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_phylink.c | 11 static struct phylink_pcs *lan966x_phylink_mac_select(struct phylink_config *config, 16 return &port->phylink_pcs; 85 static struct lan966x_port *lan966x_pcs_to_port(struct phylink_pcs *pcs) 87 return container_of(pcs, struct lan966x_port, phylink_pcs); 90 static void lan966x_pcs_get_state(struct phylink_pcs *pcs, 98 static int lan966x_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, 120 static void lan966x_pcs_aneg_restart(struct phylink_pcs *pcs)
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_phylink.c | 29 static struct phylink_pcs * 35 return &port->phylink_pcs; 75 static struct sparx5_port *sparx5_pcs_to_port(struct phylink_pcs *pcs) 77 return container_of(pcs, struct sparx5_port, phylink_pcs); 80 static void sparx5_pcs_get_state(struct phylink_pcs *pcs, 94 static int sparx5_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, 129 static void sparx5_pcs_aneg_restart(struct phylink_pcs *pcs)
|
/linux-master/drivers/net/pcs/ |
H A D | pcs-mtk-lynxi.c | 82 struct phylink_pcs pcs; 86 static struct mtk_pcs_lynxi *pcs_to_mtk_pcs_lynxi(struct phylink_pcs *pcs) 91 static void mtk_pcs_lynxi_get_state(struct phylink_pcs *pcs, 105 static int mtk_pcs_lynxi_config(struct phylink_pcs *pcs, unsigned int neg_mode, 203 static void mtk_pcs_lynxi_restart_an(struct phylink_pcs *pcs) 210 static void mtk_pcs_lynxi_link_up(struct phylink_pcs *pcs, 236 static void mtk_pcs_lynxi_disable(struct phylink_pcs *pcs) 251 struct phylink_pcs *mtk_pcs_lynxi_create(struct device *dev, 297 void mtk_pcs_lynxi_destroy(struct phylink_pcs *pcs)
|
H A D | pcs-lynx.c | 24 struct phylink_pcs pcs; 83 static void lynx_pcs_get_state(struct phylink_pcs *pcs, 171 static int lynx_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, 203 static void lynx_pcs_an_restart(struct phylink_pcs *pcs) 285 static void lynx_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, 316 static struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio) 333 struct phylink_pcs *lynx_pcs_create_mdiodev(struct mii_bus *bus, int addr) 336 struct phylink_pcs *pcs; 364 * pointer to a phylink_pcs on success 366 struct phylink_pcs *lynx_pcs_create_fwnod [all...] |
H A D | pcs-rzn1-miic.c | 142 struct phylink_pcs pcs; 147 static struct miic_port *phylink_pcs_to_miic_port(struct phylink_pcs *pcs) 186 static int miic_config(struct phylink_pcs *pcs, unsigned int neg_mode, 237 static void miic_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, 271 static int miic_validate(struct phylink_pcs *pcs, unsigned long *supported, 288 struct phylink_pcs *miic_create(struct device *dev, struct device_node *np) 342 void miic_destroy(struct phylink_pcs *pcs)
|
H A D | pcs-xpcs.c | 606 static int xpcs_validate(struct phylink_pcs *pcs, unsigned long *supported, 906 static int xpcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, 1114 static void xpcs_get_state(struct phylink_pcs *pcs, 1206 void xpcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, 1220 static void xpcs_an_restart(struct phylink_pcs *pcs)
|
/linux-master/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_pf.h | 49 struct phylink_pcs *pcs;
|
H A D | enetc_pf.c | 865 struct phylink_pcs *phylink_pcs; local 891 phylink_pcs = lynx_pcs_create_mdiodev(bus, 0); 892 if (IS_ERR(phylink_pcs)) { 893 err = PTR_ERR(phylink_pcs); 899 pf->pcs = phylink_pcs; 959 static struct phylink_pcs *
|
/linux-master/drivers/net/dsa/b53/ |
H A D | b53_serdes.c | 20 static inline struct b53_pcs *pcs_to_b53_pcs(struct phylink_pcs *pcs) 68 static int b53_serdes_config(struct phylink_pcs *pcs, unsigned int neg_mode, 89 static void b53_serdes_an_restart(struct phylink_pcs *pcs) 102 static void b53_serdes_get_state(struct phylink_pcs *pcs, 194 struct phylink_pcs *b53_serdes_phylink_mac_select_pcs(struct b53_device *dev,
|
H A D | b53_serdes.h | 112 struct phylink_pcs *b53_serdes_phylink_mac_select_pcs(struct b53_device *dev,
|
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-mac.h | 27 struct phylink_pcs *pcs;
|
H A D | dpaa2-mac.c | 152 static struct phylink_pcs *dpaa2_mac_select_pcs(struct phylink_config *config, 256 struct phylink_pcs *pcs; 291 struct phylink_pcs *phylink_pcs = mac->pcs; local 293 if (phylink_pcs) { 294 lynx_pcs_destroy(phylink_pcs);
|
/linux-master/drivers/net/dsa/ocelot/ |
H A D | felix.h | 93 struct phylink_pcs **pcs;
|
H A D | seville_vsc9953.c | 888 sizeof(struct phylink_pcs *), 915 struct phylink_pcs *phylink_pcs; local 924 phylink_pcs = lynx_pcs_create_mdiodev(felix->imdio, addr); 925 if (IS_ERR(phylink_pcs)) 928 felix->pcs[port] = phylink_pcs; 942 struct phylink_pcs *phylink_pcs = felix->pcs[port]; local 944 if (phylink_pcs) 945 lynx_pcs_destroy(phylink_pcs); [all...] |
/linux-master/drivers/net/ethernet/freescale/fman/ |
H A D | fman_memac.c | 294 struct phylink_pcs *sgmii_pcs; 295 struct phylink_pcs *qsgmii_pcs; 296 struct phylink_pcs *xfi_pcs; 663 static struct phylink_pcs *memac_select_pcs(struct phylink_config *config, 976 static void pcs_put(struct phylink_pcs *pcs) 1037 static struct phylink_pcs *memac_pcs_create(struct device_node *mac_node, 1041 struct phylink_pcs *pcs; 1071 struct phylink_pcs *pcs;
|
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_main.c | 240 static struct prestera_port *prestera_pcs_to_port(struct phylink_pcs *pcs) 242 return container_of(pcs, struct prestera_port, phylink_pcs); 272 static struct phylink_pcs * 279 return &port->phylink_pcs; 282 static void prestera_pcs_get_state(struct phylink_pcs *pcs, 286 phylink_pcs); 303 static int prestera_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, 348 static void prestera_pcs_an_restart(struct phylink_pcs *pcs) 397 port->phylink_pcs.ops = &prestera_pcs_ops; 398 port->phylink_pcs [all...] |
H A D | prestera.h | 159 struct phylink_pcs phylink_pcs; member in struct:prestera_port
|