drivers/net/dsa/b53/b53_common.c
1579
static struct phylink_pcs *b53_phylink_mac_select_pcs(struct phylink_config *config,
drivers/net/dsa/b53/b53_priv.h
111
struct phylink_pcs pcs;
drivers/net/dsa/b53/b53_priv.h
52
struct phylink_pcs *(*phylink_mac_select_pcs)(struct b53_device *dev,
drivers/net/dsa/b53/b53_serdes.c
102
static void b53_serdes_get_state(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/dsa/b53/b53_serdes.c
194
struct phylink_pcs *b53_serdes_phylink_mac_select_pcs(struct b53_device *dev,
drivers/net/dsa/b53/b53_serdes.c
20
static inline struct b53_pcs *pcs_to_b53_pcs(struct phylink_pcs *pcs)
drivers/net/dsa/b53/b53_serdes.c
68
static int b53_serdes_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/dsa/b53/b53_serdes.c
89
static void b53_serdes_an_restart(struct phylink_pcs *pcs)
drivers/net/dsa/b53/b53_serdes.h
112
struct phylink_pcs *b53_serdes_phylink_mac_select_pcs(struct b53_device *dev,
drivers/net/dsa/lantiq/lantiq_gswip.h
266
struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1602
static struct phylink_pcs *gswip_phylink_mac_select_pcs(struct phylink_config *config,
drivers/net/dsa/lantiq/mxl-gsw1xx.c
129
static unsigned int gsw1xx_pcs_inband_caps(struct phylink_pcs *pcs,
drivers/net/dsa/lantiq/mxl-gsw1xx.c
135
static struct gsw1xx_priv *pcs_to_gsw1xx(struct phylink_pcs *pcs)
drivers/net/dsa/lantiq/mxl-gsw1xx.c
140
static int gsw1xx_pcs_enable(struct phylink_pcs *pcs)
drivers/net/dsa/lantiq/mxl-gsw1xx.c
149
static void gsw1xx_pcs_disable(struct phylink_pcs *pcs)
drivers/net/dsa/lantiq/mxl-gsw1xx.c
162
static void gsw1xx_pcs_get_state(struct phylink_pcs *pcs,
drivers/net/dsa/lantiq/mxl-gsw1xx.c
335
static int gsw1xx_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/dsa/lantiq/mxl-gsw1xx.c
35
struct phylink_pcs pcs;
drivers/net/dsa/lantiq/mxl-gsw1xx.c
462
static void gsw1xx_pcs_an_restart(struct phylink_pcs *pcs)
drivers/net/dsa/lantiq/mxl-gsw1xx.c
478
static void gsw1xx_pcs_link_up(struct phylink_pcs *pcs,
drivers/net/dsa/lantiq/mxl-gsw1xx.c
591
static struct phylink_pcs *gsw1xx_phylink_mac_select_pcs(struct phylink_config *config,
drivers/net/dsa/microchip/ksz9477.c
318
struct phylink_pcs *pcs;
drivers/net/dsa/microchip/ksz_common.c
444
static struct phylink_pcs *
drivers/net/dsa/microchip/ksz_common.h
148
struct phylink_pcs *pcs;
drivers/net/dsa/mt7530-mdio.c
87
struct phylink_pcs *pcs;
drivers/net/dsa/mt7530.c
28
static struct mt753x_pcs *pcs_to_mt753x_pcs(struct phylink_pcs *pcs)
drivers/net/dsa/mt7530.c
2906
static struct phylink_pcs *
drivers/net/dsa/mt7530.c
3043
static int mt753x_pcs_validate(struct phylink_pcs *pcs,
drivers/net/dsa/mt7530.c
3055
static void mt7530_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/dsa/mt7530.c
3090
static int mt753x_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/dsa/mt7530.c
3098
static void mt7530_pcs_an_restart(struct phylink_pcs *pcs)
drivers/net/dsa/mt7530.h
805
struct phylink_pcs *sgmii_pcs;
drivers/net/dsa/mt7530.h
818
struct phylink_pcs pcs;
drivers/net/dsa/mv88e6xxx/chip.c
865
static struct phylink_pcs *
drivers/net/dsa/mv88e6xxx/chip.c
871
struct phylink_pcs *pcs = NULL;
drivers/net/dsa/mv88e6xxx/chip.h
750
struct phylink_pcs *(*pcs_select)(struct mv88e6xxx_chip *chip, int port,
drivers/net/dsa/mv88e6xxx/pcs-6185.c
107
static void mv88e6185_pcs_an_restart(struct phylink_pcs *pcs)
drivers/net/dsa/mv88e6xxx/pcs-6185.c
140
mpcs->phylink_pcs.ops = &mv88e6185_phylink_pcs_ops;
drivers/net/dsa/mv88e6xxx/pcs-6185.c
156
mpcs->phylink_pcs.poll = true;
drivers/net/dsa/mv88e6xxx/pcs-6185.c
159
chip->ports[port].pcs_private = &mpcs->phylink_pcs;
drivers/net/dsa/mv88e6xxx/pcs-6185.c
16
struct phylink_pcs phylink_pcs;
drivers/net/dsa/mv88e6xxx/pcs-6185.c
180
static struct phylink_pcs *mv88e6185_pcs_select(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/pcs-6185.c
24
static struct mv88e6185_pcs *pcs_to_mv88e6185_pcs(struct phylink_pcs *pcs)
drivers/net/dsa/mv88e6xxx/pcs-6185.c
26
return container_of(pcs, struct mv88e6185_pcs, phylink_pcs);
drivers/net/dsa/mv88e6xxx/pcs-6185.c
49
phylink_pcs_change(&mpcs->phylink_pcs, link_up);
drivers/net/dsa/mv88e6xxx/pcs-6185.c
57
static void mv88e6185_pcs_get_state(struct phylink_pcs *pcs,
drivers/net/dsa/mv88e6xxx/pcs-6185.c
99
static int mv88e6185_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/dsa/mv88e6xxx/pcs-6352.c
101
phylink_pcs_change(&mpcs->phylink_pcs, true);
drivers/net/dsa/mv88e6xxx/pcs-6352.c
140
static int marvell_c22_pcs_enable(struct phylink_pcs *pcs)
drivers/net/dsa/mv88e6xxx/pcs-6352.c
152
static void marvell_c22_pcs_disable(struct phylink_pcs *pcs)
drivers/net/dsa/mv88e6xxx/pcs-6352.c
160
static void marvell_c22_pcs_get_state(struct phylink_pcs *pcs,
drivers/net/dsa/mv88e6xxx/pcs-6352.c
185
static int marvell_c22_pcs_config(struct phylink_pcs *pcs,
drivers/net/dsa/mv88e6xxx/pcs-6352.c
227
static void marvell_c22_pcs_an_restart(struct phylink_pcs *pcs)
drivers/net/dsa/mv88e6xxx/pcs-6352.c
234
static void marvell_c22_pcs_link_up(struct phylink_pcs *pcs, unsigned int mode,
drivers/net/dsa/mv88e6xxx/pcs-6352.c
26
struct phylink_pcs phylink_pcs;
drivers/net/dsa/mv88e6xxx/pcs-6352.c
277
mpcs->phylink_pcs.ops = &marvell_c22_pcs_ops;
drivers/net/dsa/mv88e6xxx/pcs-6352.c
287
mpcs->phylink_pcs.poll = !irq;
drivers/net/dsa/mv88e6xxx/pcs-6352.c
33
static struct marvell_c22_pcs *pcs_to_marvell_c22_pcs(struct phylink_pcs *pcs)
drivers/net/dsa/mv88e6xxx/pcs-6352.c
35
return container_of(pcs, struct marvell_c22_pcs, phylink_pcs);
drivers/net/dsa/mv88e6xxx/pcs-6352.c
355
chip->ports[port].pcs_private = &mpcs->phylink_pcs;
drivers/net/dsa/mv88e6xxx/pcs-6352.c
363
struct phylink_pcs *pcs;
drivers/net/dsa/mv88e6xxx/pcs-6352.c
379
static struct phylink_pcs *mv88e6352_pcs_select(struct mv88e6xxx_chip *chip,
drivers/net/dsa/mv88e6xxx/pcs-639x.c
130
static struct mv88e639x_pcs *sgmii_pcs_to_mv88e639x_pcs(struct phylink_pcs *pcs)
drivers/net/dsa/mv88e6xxx/pcs-639x.c
184
static int mv88e639x_sgmii_pcs_enable(struct phylink_pcs *pcs)
drivers/net/dsa/mv88e6xxx/pcs-639x.c
194
static void mv88e639x_sgmii_pcs_disable(struct phylink_pcs *pcs)
drivers/net/dsa/mv88e6xxx/pcs-639x.c
202
static void mv88e639x_sgmii_pcs_pre_config(struct phylink_pcs *pcs,
drivers/net/dsa/mv88e6xxx/pcs-639x.c
22
struct phylink_pcs sgmii_pcs;
drivers/net/dsa/mv88e6xxx/pcs-639x.c
23
struct phylink_pcs xg_pcs;
drivers/net/dsa/mv88e6xxx/pcs-639x.c
241
static int mv88e639x_sgmii_pcs_post_config(struct phylink_pcs *pcs,
drivers/net/dsa/mv88e6xxx/pcs-639x.c
260
static void mv88e639x_sgmii_pcs_get_state(struct phylink_pcs *pcs,
drivers/net/dsa/mv88e6xxx/pcs-639x.c
299
static int mv88e639x_sgmii_pcs_config(struct phylink_pcs *pcs,
drivers/net/dsa/mv88e6xxx/pcs-639x.c
339
static void mv88e639x_sgmii_pcs_an_restart(struct phylink_pcs *pcs)
drivers/net/dsa/mv88e6xxx/pcs-639x.c
347
static void mv88e639x_sgmii_pcs_link_up(struct phylink_pcs *pcs,
drivers/net/dsa/mv88e6xxx/pcs-639x.c
381
static struct mv88e639x_pcs *xg_pcs_to_mv88e639x_pcs(struct phylink_pcs *pcs)
drivers/net/dsa/mv88e6xxx/pcs-639x.c
399
static void mv88e639x_xg_pcs_get_state(struct phylink_pcs *pcs,
drivers/net/dsa/mv88e6xxx/pcs-639x.c
439
static int mv88e639x_xg_pcs_config(struct phylink_pcs *pcs,
drivers/net/dsa/mv88e6xxx/pcs-639x.c
448
static struct phylink_pcs *
drivers/net/dsa/mv88e6xxx/pcs-639x.c
513
static int mv88e6390_xg_pcs_enable(struct phylink_pcs *pcs)
drivers/net/dsa/mv88e6xxx/pcs-639x.c
527
static void mv88e6390_xg_pcs_disable(struct phylink_pcs *pcs)
drivers/net/dsa/mv88e6xxx/pcs-639x.c
757
static void mv88e6393x_sgmii_pcs_disable(struct phylink_pcs *pcs)
drivers/net/dsa/mv88e6xxx/pcs-639x.c
766
static void mv88e6393x_sgmii_pcs_pre_config(struct phylink_pcs *pcs,
drivers/net/dsa/mv88e6xxx/pcs-639x.c
776
static int mv88e6393x_sgmii_pcs_post_config(struct phylink_pcs *pcs,
drivers/net/dsa/mv88e6xxx/pcs-639x.c
844
static int mv88e6393x_xg_pcs_enable(struct phylink_pcs *pcs)
drivers/net/dsa/mv88e6xxx/pcs-639x.c
853
static void mv88e6393x_xg_pcs_disable(struct phylink_pcs *pcs)
drivers/net/dsa/mv88e6xxx/pcs-639x.c
863
static void mv88e6393x_xg_pcs_pre_config(struct phylink_pcs *pcs,
drivers/net/dsa/mv88e6xxx/pcs-639x.c
872
static int mv88e6393x_xg_pcs_post_config(struct phylink_pcs *pcs,
drivers/net/dsa/mv88e6xxx/pcs-639x.c
892
static void mv88e6393x_xg_pcs_get_state(struct phylink_pcs *pcs,
drivers/net/dsa/ocelot/felix.c
1175
static struct phylink_pcs *
drivers/net/dsa/ocelot/felix.c
1181
struct phylink_pcs *pcs = NULL;
drivers/net/dsa/ocelot/felix.h
92
struct phylink_pcs **pcs;
drivers/net/dsa/ocelot/felix_vsc9959.c
1025
struct phylink_pcs *phylink_pcs;
drivers/net/dsa/ocelot/felix_vsc9959.c
1033
phylink_pcs = lynx_pcs_create_mdiodev(felix->imdio, port);
drivers/net/dsa/ocelot/felix_vsc9959.c
1034
if (IS_ERR(phylink_pcs))
drivers/net/dsa/ocelot/felix_vsc9959.c
1037
felix->pcs[port] = phylink_pcs;
drivers/net/dsa/ocelot/felix_vsc9959.c
1051
struct phylink_pcs *phylink_pcs = felix->pcs[port];
drivers/net/dsa/ocelot/felix_vsc9959.c
1053
if (phylink_pcs)
drivers/net/dsa/ocelot/felix_vsc9959.c
1054
lynx_pcs_destroy(phylink_pcs);
drivers/net/dsa/ocelot/felix_vsc9959.c
972
sizeof(struct phylink_pcs *),
drivers/net/dsa/ocelot/seville_vsc9953.c
888
sizeof(struct phylink_pcs *),
drivers/net/dsa/ocelot/seville_vsc9953.c
915
struct phylink_pcs *phylink_pcs;
drivers/net/dsa/ocelot/seville_vsc9953.c
924
phylink_pcs = lynx_pcs_create_mdiodev(felix->imdio, addr);
drivers/net/dsa/ocelot/seville_vsc9953.c
925
if (IS_ERR(phylink_pcs))
drivers/net/dsa/ocelot/seville_vsc9953.c
928
felix->pcs[port] = phylink_pcs;
drivers/net/dsa/ocelot/seville_vsc9953.c
942
struct phylink_pcs *phylink_pcs = felix->pcs[port];
drivers/net/dsa/ocelot/seville_vsc9953.c
944
if (phylink_pcs)
drivers/net/dsa/ocelot/seville_vsc9953.c
945
lynx_pcs_destroy(phylink_pcs);
drivers/net/dsa/qca/qca8k-8xxx.c
1285
static struct phylink_pcs *
drivers/net/dsa/qca/qca8k-8xxx.c
1291
struct phylink_pcs *pcs = NULL;
drivers/net/dsa/qca/qca8k-8xxx.c
1489
static struct qca8k_pcs *pcs_to_qca8k_pcs(struct phylink_pcs *pcs)
drivers/net/dsa/qca/qca8k-8xxx.c
1494
static void qca8k_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/dsa/qca/qca8k-8xxx.c
1534
static int qca8k_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/dsa/qca/qca8k-8xxx.c
1623
static void qca8k_pcs_an_restart(struct phylink_pcs *pcs)
drivers/net/dsa/qca/qca8k.h
426
struct phylink_pcs pcs;
drivers/net/dsa/rzn1_a5psw.c
1160
struct phylink_pcs *pcs;
drivers/net/dsa/rzn1_a5psw.c
241
static struct phylink_pcs *
drivers/net/dsa/rzn1_a5psw.h
256
struct phylink_pcs *pcs[A5PSW_PORTS_NUM - 1];
drivers/net/dsa/sja1105/sja1105.h
281
struct phylink_pcs *pcs[SJA1105_MAX_NUM_PORTS];
drivers/net/dsa/sja1105/sja1105_main.c
1330
static struct phylink_pcs *
drivers/net/dsa/sja1105/sja1105_mdio.c
403
struct phylink_pcs *pcs;
drivers/net/ethernet/altera/altera_tse.h
476
struct phylink_pcs *pcs;
drivers/net/ethernet/altera/altera_tse_main.c
1077
static struct phylink_pcs *alt_tse_select_pcs(struct phylink_config *config,
drivers/net/ethernet/cadence/macb.h
1319
struct phylink_pcs phylink_usx_pcs;
drivers/net/ethernet/cadence/macb.h
1320
struct phylink_pcs phylink_sgmii_pcs;
drivers/net/ethernet/cadence/macb_main.c
514
static void macb_usx_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/ethernet/cadence/macb_main.c
529
static void macb_usx_pcs_get_state(struct phylink_pcs *pcs,
drivers/net/ethernet/cadence/macb_main.c
547
static int macb_usx_pcs_config(struct phylink_pcs *pcs,
drivers/net/ethernet/cadence/macb_main.c
561
static void macb_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/ethernet/cadence/macb_main.c
567
static void macb_pcs_an_restart(struct phylink_pcs *pcs)
drivers/net/ethernet/cadence/macb_main.c
572
static int macb_pcs_config(struct phylink_pcs *pcs,
drivers/net/ethernet/cadence/macb_main.c
829
static struct phylink_pcs *macb_mac_select_pcs(struct phylink_config *config,
drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c
152
static struct phylink_pcs *dpaa2_mac_select_pcs(struct phylink_config *config,
drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c
256
struct phylink_pcs *pcs;
drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c
291
struct phylink_pcs *phylink_pcs = mac->pcs;
drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c
293
if (phylink_pcs) {
drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c
294
lynx_pcs_destroy(phylink_pcs);
drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.h
27
struct phylink_pcs *pcs;
drivers/net/ethernet/freescale/enetc/enetc4_pf.c
579
static struct phylink_pcs *
drivers/net/ethernet/freescale/enetc/enetc_pf.c
34
static struct phylink_pcs *enetc_pf_create_pcs(struct enetc_pf *pf,
drivers/net/ethernet/freescale/enetc/enetc_pf.c
40
static void enetc_pf_destroy_pcs(struct phylink_pcs *pcs)
drivers/net/ethernet/freescale/enetc/enetc_pf.c
638
static struct phylink_pcs *
drivers/net/ethernet/freescale/enetc/enetc_pf.h
34
struct phylink_pcs *(*create_pcs)(struct enetc_pf *pf, struct mii_bus *bus);
drivers/net/ethernet/freescale/enetc/enetc_pf.h
35
void (*destroy_pcs)(struct phylink_pcs *pcs);
drivers/net/ethernet/freescale/enetc/enetc_pf.h
57
struct phylink_pcs *pcs;
drivers/net/ethernet/freescale/enetc/enetc_pf_common.c
206
struct phylink_pcs *phylink_pcs;
drivers/net/ethernet/freescale/enetc/enetc_pf_common.c
243
phylink_pcs = pf->ops->create_pcs(pf, bus);
drivers/net/ethernet/freescale/enetc/enetc_pf_common.c
244
if (IS_ERR(phylink_pcs)) {
drivers/net/ethernet/freescale/enetc/enetc_pf_common.c
245
err = PTR_ERR(phylink_pcs);
drivers/net/ethernet/freescale/enetc/enetc_pf_common.c
251
pf->pcs = phylink_pcs;
drivers/net/ethernet/freescale/fman/fman_dtsec.c
321
struct phylink_pcs pcs;
drivers/net/ethernet/freescale/fman/fman_dtsec.c
753
static struct fman_mac *pcs_to_dtsec(struct phylink_pcs *pcs)
drivers/net/ethernet/freescale/fman/fman_dtsec.c
758
static void dtsec_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/ethernet/freescale/fman/fman_dtsec.c
766
static int dtsec_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/ethernet/freescale/fman/fman_dtsec.c
777
static void dtsec_pcs_an_restart(struct phylink_pcs *pcs)
drivers/net/ethernet/freescale/fman/fman_dtsec.c
883
static struct phylink_pcs *dtsec_select_pcs(struct phylink_config *config,
drivers/net/ethernet/freescale/fman/fman_memac.c
1061
static void pcs_put(struct phylink_pcs *pcs)
drivers/net/ethernet/freescale/fman/fman_memac.c
1122
static struct phylink_pcs *memac_pcs_create(struct device_node *mac_node,
drivers/net/ethernet/freescale/fman/fman_memac.c
1126
struct phylink_pcs *pcs;
drivers/net/ethernet/freescale/fman/fman_memac.c
1155
struct phylink_pcs *pcs;
drivers/net/ethernet/freescale/fman/fman_memac.c
293
struct phylink_pcs *sgmii_pcs;
drivers/net/ethernet/freescale/fman/fman_memac.c
294
struct phylink_pcs *qsgmii_pcs;
drivers/net/ethernet/freescale/fman/fman_memac.c
295
struct phylink_pcs *xfi_pcs;
drivers/net/ethernet/freescale/fman/fman_memac.c
663
static struct phylink_pcs *memac_select_pcs(struct phylink_config *config,
drivers/net/ethernet/marvell/mvneta.c
3271
phylink_pcs_change(&pp->phylink_pcs,
drivers/net/ethernet/marvell/mvneta.c
3967
static struct mvneta_port *mvneta_pcs_to_port(struct phylink_pcs *pcs)
drivers/net/ethernet/marvell/mvneta.c
3969
return container_of(pcs, struct mvneta_port, phylink_pcs);
drivers/net/ethernet/marvell/mvneta.c
3972
static unsigned int mvneta_pcs_inband_caps(struct phylink_pcs *pcs,
drivers/net/ethernet/marvell/mvneta.c
3995
static void mvneta_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/ethernet/marvell/mvneta.c
4022
static int mvneta_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/ethernet/marvell/mvneta.c
4078
static void mvneta_pcs_an_restart(struct phylink_pcs *pcs)
drivers/net/ethernet/marvell/mvneta.c
4096
static struct phylink_pcs *mvneta_mac_select_pcs(struct phylink_config *config,
drivers/net/ethernet/marvell/mvneta.c
4102
return &pp->phylink_pcs;
drivers/net/ethernet/marvell/mvneta.c
540
struct phylink_pcs phylink_pcs;
drivers/net/ethernet/marvell/mvneta.c
5559
pp->phylink_pcs.ops = &mvneta_phylink_pcs_ops;
drivers/net/ethernet/marvell/mvpp2/mvpp2.h
1250
struct phylink_pcs pcs_gmac;
drivers/net/ethernet/marvell/mvpp2/mvpp2.h
1251
struct phylink_pcs pcs_xlg;
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
3423
struct phylink_pcs *pcs, bool link)
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
6220
static struct mvpp2_port *mvpp2_pcs_xlg_to_port(struct phylink_pcs *pcs)
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
6225
static struct mvpp2_port *mvpp2_pcs_gmac_to_port(struct phylink_pcs *pcs)
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
6230
static unsigned int mvpp2_xjg_pcs_inband_caps(struct phylink_pcs *pcs,
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
6236
static void mvpp2_xlg_pcs_get_state(struct phylink_pcs *pcs,
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
6261
static int mvpp2_xlg_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
6275
static unsigned int mvpp2_gmac_pcs_inband_caps(struct phylink_pcs *pcs,
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
6297
static void mvpp2_gmac_pcs_get_state(struct phylink_pcs *pcs,
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
6333
static int mvpp2_gmac_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
6390
static void mvpp2_gmac_pcs_an_restart(struct phylink_pcs *pcs)
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
6487
static struct phylink_pcs *mvpp2_select_pcs(struct phylink_config *config,
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
6794
struct phylink_pcs *pcs;
drivers/net/ethernet/marvell/prestera/prestera.h
159
struct phylink_pcs phylink_pcs;
drivers/net/ethernet/marvell/prestera/prestera_main.c
240
static struct prestera_port *prestera_pcs_to_port(struct phylink_pcs *pcs)
drivers/net/ethernet/marvell/prestera/prestera_main.c
242
return container_of(pcs, struct prestera_port, phylink_pcs);
drivers/net/ethernet/marvell/prestera/prestera_main.c
272
static struct phylink_pcs *
drivers/net/ethernet/marvell/prestera/prestera_main.c
279
return &port->phylink_pcs;
drivers/net/ethernet/marvell/prestera/prestera_main.c
282
static void prestera_pcs_get_state(struct phylink_pcs *pcs,
drivers/net/ethernet/marvell/prestera/prestera_main.c
287
phylink_pcs);
drivers/net/ethernet/marvell/prestera/prestera_main.c
304
static int prestera_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/ethernet/marvell/prestera/prestera_main.c
349
static void prestera_pcs_an_restart(struct phylink_pcs *pcs)
drivers/net/ethernet/marvell/prestera/prestera_main.c
398
port->phylink_pcs.ops = &prestera_pcs_ops;
drivers/net/ethernet/marvell/prestera/prestera_main.c
825
phylink_pcs_change(&port->phylink_pcs, true);
drivers/net/ethernet/marvell/prestera/prestera_main.c
833
phylink_pcs_change(&port->phylink_pcs, false);
drivers/net/ethernet/mediatek/mtk_eth_soc.c
517
static struct phylink_pcs *mtk_mac_select_pcs(struct phylink_config *config,
drivers/net/ethernet/mediatek/mtk_eth_soc.h
1308
struct phylink_pcs *sgmii_pcs[MTK_MAX_DEVS];
drivers/net/ethernet/meta/fbnic/fbnic_netdev.h
47
struct phylink_pcs *pcs;
drivers/net/ethernet/meta/fbnic/fbnic_phylink.c
105
static struct phylink_pcs *
drivers/net/ethernet/meta/fbnic/fbnic_phylink.c
201
struct phylink_pcs *pcs;
drivers/net/ethernet/microchip/lan966x/lan966x_main.c
835
port->phylink_pcs.poll = true;
drivers/net/ethernet/microchip/lan966x/lan966x_main.c
836
port->phylink_pcs.ops = &lan966x_phylink_pcs_ops;
drivers/net/ethernet/microchip/lan966x/lan966x_main.h
406
struct phylink_pcs phylink_pcs;
drivers/net/ethernet/microchip/lan966x/lan966x_phylink.c
11
static struct phylink_pcs *lan966x_phylink_mac_select(struct phylink_config *config,
drivers/net/ethernet/microchip/lan966x/lan966x_phylink.c
121
static void lan966x_pcs_aneg_restart(struct phylink_pcs *pcs)
drivers/net/ethernet/microchip/lan966x/lan966x_phylink.c
16
return &port->phylink_pcs;
drivers/net/ethernet/microchip/lan966x/lan966x_phylink.c
85
static struct lan966x_port *lan966x_pcs_to_port(struct phylink_pcs *pcs)
drivers/net/ethernet/microchip/lan966x/lan966x_phylink.c
87
return container_of(pcs, struct lan966x_port, phylink_pcs);
drivers/net/ethernet/microchip/lan966x/lan966x_phylink.c
90
static void lan966x_pcs_get_state(struct phylink_pcs *pcs,
drivers/net/ethernet/microchip/lan966x/lan966x_phylink.c
99
static int lan966x_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/ethernet/microchip/sparx5/sparx5_main.c
339
spx5_port->phylink_pcs.poll = true;
drivers/net/ethernet/microchip/sparx5/sparx5_main.c
340
spx5_port->phylink_pcs.ops = &sparx5_phylink_pcs_ops;
drivers/net/ethernet/microchip/sparx5/sparx5_main.h
217
struct phylink_pcs phylink_pcs;
drivers/net/ethernet/microchip/sparx5/sparx5_phylink.c
106
static int sparx5_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/ethernet/microchip/sparx5/sparx5_phylink.c
141
static void sparx5_pcs_aneg_restart(struct phylink_pcs *pcs)
drivers/net/ethernet/microchip/sparx5/sparx5_phylink.c
29
static struct phylink_pcs *
drivers/net/ethernet/microchip/sparx5/sparx5_phylink.c
44
return &port->phylink_pcs;
drivers/net/ethernet/microchip/sparx5/sparx5_phylink.c
87
static struct sparx5_port *sparx5_pcs_to_port(struct phylink_pcs *pcs)
drivers/net/ethernet/microchip/sparx5/sparx5_phylink.c
89
return container_of(pcs, struct sparx5_port, phylink_pcs);
drivers/net/ethernet/microchip/sparx5/sparx5_phylink.c
92
static void sparx5_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/ethernet/stmicro/stmmac/common.h
629
struct phylink_pcs *phylink_pcs;
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
574
static struct phylink_pcs *intel_mgbe_select_pcs(struct stmmac_priv *priv,
drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c
67
struct phylink_pcs *pcs;
drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c
76
priv->hw->phylink_pcs = pcs;
drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c
84
if (priv->hw->phylink_pcs)
drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c
85
miic_destroy(priv->hw->phylink_pcs);
drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c
88
static struct phylink_pcs *renesas_gmac_select_pcs(struct stmmac_priv *priv,
drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c
91
return priv->hw->phylink_pcs;
drivers/net/ethernet/stmicro/stmmac/dwmac-rzn1.c
20
struct phylink_pcs *pcs;
drivers/net/ethernet/stmicro/stmmac/dwmac-rzn1.c
30
priv->hw->phylink_pcs = pcs;
drivers/net/ethernet/stmicro/stmmac/dwmac-rzn1.c
38
if (priv->hw->phylink_pcs)
drivers/net/ethernet/stmicro/stmmac/dwmac-rzn1.c
39
miic_destroy(priv->hw->phylink_pcs);
drivers/net/ethernet/stmicro/stmmac/dwmac-rzn1.c
42
static struct phylink_pcs *rzn1_dwmac_select_pcs(struct stmmac_priv *priv,
drivers/net/ethernet/stmicro/stmmac/dwmac-rzn1.c
45
return priv->hw->phylink_pcs;
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c
507
struct phylink_pcs *pcs;
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c
537
priv->hw->phylink_pcs = pcs;
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c
543
if (priv->hw->phylink_pcs)
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c
544
lynx_pcs_destroy(priv->hw->phylink_pcs);
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c
547
static struct phylink_pcs *socfpga_dwmac_select_pcs(struct stmmac_priv *priv,
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c
550
return priv->hw->phylink_pcs;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
1325
struct phylink_pcs *pcs;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
1371
pcs = priv->hw->phylink_pcs;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
3195
struct phylink_pcs *pcs;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
3626
if (priv->hw->phylink_pcs)
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
3627
phylink_pcs_pre_init(priv->phylink, priv->hw->phylink_pcs);
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
946
static struct phylink_pcs *stmmac_mac_select_pcs(struct phylink_config *config,
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
950
struct phylink_pcs *pcs;
drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.c
19
static int dwmac_integrated_pcs_enable(struct phylink_pcs *pcs)
drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.c
28
static void dwmac_integrated_pcs_disable(struct phylink_pcs *pcs)
drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.c
35
static void dwmac_integrated_pcs_get_state(struct phylink_pcs *pcs,
drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.c
42
static int dwmac_integrated_pcs_config(struct phylink_pcs *pcs,
drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.c
84
int stmmac_integrated_pcs_get_phy_intf_sel(struct phylink_pcs *pcs,
drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h
34
struct phylink_pcs pcs;
drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h
38
phylink_pcs_to_stmmac_pcs(struct phylink_pcs *pcs)
drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h
45
int stmmac_integrated_pcs_get_phy_intf_sel(struct phylink_pcs *pcs,
drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c
129
struct phylink_pcs *pcs;
drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c
163
static struct phylink_pcs *txgbe_phylink_mac_select(struct phylink_config *config,
drivers/net/ethernet/wangxun/txgbe/txgbe_type.h
460
struct phylink_pcs *pcs;
drivers/net/ethernet/xilinx/xilinx_axienet.h
557
struct phylink_pcs pcs;
drivers/net/ethernet/xilinx/xilinx_axienet_main.c
2539
static struct axienet_local *pcs_to_axienet_local(struct phylink_pcs *pcs)
drivers/net/ethernet/xilinx/xilinx_axienet_main.c
2544
static void axienet_pcs_get_state(struct phylink_pcs *pcs,
drivers/net/ethernet/xilinx/xilinx_axienet_main.c
2553
static void axienet_pcs_an_restart(struct phylink_pcs *pcs)
drivers/net/ethernet/xilinx/xilinx_axienet_main.c
2560
static int axienet_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/ethernet/xilinx/xilinx_axienet_main.c
2596
static struct phylink_pcs *axienet_mac_select_pcs(struct phylink_config *config,
drivers/net/pcs/pcs-lynx.c
173
static int lynx_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/pcs/pcs-lynx.c
200
static void lynx_pcs_an_restart(struct phylink_pcs *pcs)
drivers/net/pcs/pcs-lynx.c
24
struct phylink_pcs pcs;
drivers/net/pcs/pcs-lynx.c
246
static void lynx_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/pcs/pcs-lynx.c
286
static struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio)
drivers/net/pcs/pcs-lynx.c
306
struct phylink_pcs *lynx_pcs_create_mdiodev(struct mii_bus *bus, int addr)
drivers/net/pcs/pcs-lynx.c
309
struct phylink_pcs *pcs;
drivers/net/pcs/pcs-lynx.c
339
struct phylink_pcs *lynx_pcs_create_fwnode(struct fwnode_handle *node)
drivers/net/pcs/pcs-lynx.c
342
struct phylink_pcs *pcs;
drivers/net/pcs/pcs-lynx.c
365
void lynx_pcs_destroy(struct phylink_pcs *pcs)
drivers/net/pcs/pcs-lynx.c
38
static unsigned int lynx_pcs_inband_caps(struct phylink_pcs *pcs,
drivers/net/pcs/pcs-lynx.c
83
static void lynx_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/pcs/pcs-mtk-lynxi.c
108
static void mtk_pcs_lynxi_get_state(struct phylink_pcs *pcs,
drivers/net/pcs/pcs-mtk-lynxi.c
160
static int mtk_pcs_lynxi_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/pcs/pcs-mtk-lynxi.c
258
static void mtk_pcs_lynxi_restart_an(struct phylink_pcs *pcs)
drivers/net/pcs/pcs-mtk-lynxi.c
265
static void mtk_pcs_lynxi_link_up(struct phylink_pcs *pcs,
drivers/net/pcs/pcs-mtk-lynxi.c
291
static void mtk_pcs_lynxi_disable(struct phylink_pcs *pcs)
drivers/net/pcs/pcs-mtk-lynxi.c
307
struct phylink_pcs *mtk_pcs_lynxi_create(struct device *dev,
drivers/net/pcs/pcs-mtk-lynxi.c
356
void mtk_pcs_lynxi_destroy(struct phylink_pcs *pcs)
drivers/net/pcs/pcs-mtk-lynxi.c
84
struct phylink_pcs pcs;
drivers/net/pcs/pcs-mtk-lynxi.c
89
static struct mtk_pcs_lynxi *pcs_to_mtk_pcs_lynxi(struct phylink_pcs *pcs)
drivers/net/pcs/pcs-mtk-lynxi.c
94
static unsigned int mtk_pcs_lynxi_inband_caps(struct phylink_pcs *pcs,
drivers/net/pcs/pcs-rzn1-miic.c
261
struct phylink_pcs pcs;
drivers/net/pcs/pcs-rzn1-miic.c
266
static struct miic_port *phylink_pcs_to_miic_port(struct phylink_pcs *pcs)
drivers/net/pcs/pcs-rzn1-miic.c
332
static int miic_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/pcs/pcs-rzn1-miic.c
383
static void miic_link_up(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/pcs/pcs-rzn1-miic.c
417
static int miic_pre_init(struct phylink_pcs *pcs)
drivers/net/pcs/pcs-rzn1-miic.c
450
struct phylink_pcs *miic_create(struct device *dev, struct device_node *np)
drivers/net/pcs/pcs-rzn1-miic.c
511
void miic_destroy(struct phylink_pcs *pcs)
drivers/net/pcs/pcs-xpcs.c
1179
static void xpcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/pcs/pcs-xpcs.c
1254
static void xpcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/pcs/pcs-xpcs.c
1275
static void xpcs_an_restart(struct phylink_pcs *pcs)
drivers/net/pcs/pcs-xpcs.c
1312
static void xpcs_disable_eee(struct phylink_pcs *pcs)
drivers/net/pcs/pcs-xpcs.c
1319
static void xpcs_enable_eee(struct phylink_pcs *pcs)
drivers/net/pcs/pcs-xpcs.c
1662
struct phylink_pcs *xpcs_create_pcs_mdiodev(struct mii_bus *bus, int addr)
drivers/net/pcs/pcs-xpcs.c
1721
void xpcs_destroy_pcs(struct phylink_pcs *pcs)
drivers/net/pcs/pcs-xpcs.c
179
struct phylink_pcs *xpcs_to_phylink_pcs(struct dw_xpcs *xpcs)
drivers/net/pcs/pcs-xpcs.c
645
static int xpcs_validate(struct phylink_pcs *pcs, unsigned long *supported,
drivers/net/pcs/pcs-xpcs.c
670
static unsigned int xpcs_inband_caps(struct phylink_pcs *pcs,
drivers/net/pcs/pcs-xpcs.c
721
static void xpcs_pre_config(struct phylink_pcs *pcs, phy_interface_t interface)
drivers/net/pcs/pcs-xpcs.c
971
static int xpcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/pcs/pcs-xpcs.h
113
struct phylink_pcs pcs;
drivers/net/phy/phylink.c
1089
static void phylink_pcs_neg_mode(struct phylink *pl, struct phylink_pcs *pcs,
drivers/net/phy/phylink.c
1242
struct phylink_pcs *pcs = NULL;
drivers/net/phy/phylink.c
1403
struct phylink_pcs *pcs;
drivers/net/phy/phylink.c
2399
void phylink_pcs_change(struct phylink_pcs *pcs, bool up)
drivers/net/phy/phylink.c
46
struct phylink_pcs *pcs;
drivers/net/phy/phylink.c
520
struct phylink_pcs *pcs = NULL;
drivers/net/phy/phylink.c
882
static unsigned int phylink_pcs_inband_caps(struct phylink_pcs *pcs,
drivers/net/phy/phylink.c
891
static void phylink_pcs_pre_config(struct phylink_pcs *pcs,
drivers/net/phy/phylink.c
898
static int phylink_pcs_post_config(struct phylink_pcs *pcs,
drivers/net/phy/phylink.c
909
static void phylink_pcs_disable(struct phylink_pcs *pcs)
drivers/net/phy/phylink.c
915
static int phylink_pcs_enable(struct phylink_pcs *pcs)
drivers/net/phy/phylink.c
925
static int phylink_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/phy/phylink.c
936
static void phylink_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode,
drivers/net/phy/phylink.c
944
static void phylink_pcs_disable_eee(struct phylink_pcs *pcs)
drivers/net/phy/phylink.c
950
static void phylink_pcs_enable_eee(struct phylink_pcs *pcs)
drivers/net/phy/phylink.c
962
struct phylink_pcs *pcs;
drivers/net/phy/phylink.c
986
int phylink_pcs_pre_init(struct phylink *pl, struct phylink_pcs *pcs)
include/linux/pcs-lynx.h
12
struct phylink_pcs *lynx_pcs_create_mdiodev(struct mii_bus *bus, int addr);
include/linux/pcs-lynx.h
13
struct phylink_pcs *lynx_pcs_create_fwnode(struct fwnode_handle *node);
include/linux/pcs-lynx.h
15
void lynx_pcs_destroy(struct phylink_pcs *pcs);
include/linux/pcs-rzn1-miic.h
14
struct phylink_pcs *miic_create(struct device *dev, struct device_node *np);
include/linux/pcs-rzn1-miic.h
16
void miic_destroy(struct phylink_pcs *pcs);
include/linux/pcs/pcs-mtk-lynxi.h
11
void mtk_pcs_lynxi_destroy(struct phylink_pcs *pcs);
include/linux/pcs/pcs-mtk-lynxi.h
8
struct phylink_pcs *mtk_pcs_lynxi_create(struct device *dev,
include/linux/pcs/pcs-xpcs.h
53
struct phylink_pcs *xpcs_to_phylink_pcs(struct dw_xpcs *xpcs);
include/linux/pcs/pcs-xpcs.h
60
struct phylink_pcs *xpcs_create_pcs_mdiodev(struct mii_bus *bus, int addr);
include/linux/pcs/pcs-xpcs.h
61
void xpcs_destroy_pcs(struct phylink_pcs *pcs);
include/linux/phylink.h
207
struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config,
include/linux/phylink.h
255
struct phylink_pcs *mac_select_pcs(struct phylink_config *config,
include/linux/phylink.h
523
int (*pcs_validate)(struct phylink_pcs *pcs, unsigned long *supported,
include/linux/phylink.h
525
unsigned int (*pcs_inband_caps)(struct phylink_pcs *pcs,
include/linux/phylink.h
527
int (*pcs_enable)(struct phylink_pcs *pcs);
include/linux/phylink.h
528
void (*pcs_disable)(struct phylink_pcs *pcs);
include/linux/phylink.h
529
void (*pcs_pre_config)(struct phylink_pcs *pcs,
include/linux/phylink.h
531
int (*pcs_post_config)(struct phylink_pcs *pcs,
include/linux/phylink.h
533
void (*pcs_get_state)(struct phylink_pcs *pcs, unsigned int neg_mode,
include/linux/phylink.h
535
int (*pcs_config)(struct phylink_pcs *pcs, unsigned int neg_mode,
include/linux/phylink.h
539
void (*pcs_an_restart)(struct phylink_pcs *pcs);
include/linux/phylink.h
540
void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int neg_mode,
include/linux/phylink.h
542
void (*pcs_disable_eee)(struct phylink_pcs *pcs);
include/linux/phylink.h
543
void (*pcs_enable_eee)(struct phylink_pcs *pcs);
include/linux/phylink.h
544
int (*pcs_pre_init)(struct phylink_pcs *pcs);
include/linux/phylink.h
562
int pcs_validate(struct phylink_pcs *pcs, unsigned long *supported,
include/linux/phylink.h
576
unsigned int pcs_inband_caps(struct phylink_pcs *pcs,
include/linux/phylink.h
583
int pcs_enable(struct phylink_pcs *pcs);
include/linux/phylink.h
589
void pcs_disable(struct phylink_pcs *pcs);
include/linux/phylink.h
607
void pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode,
include/linux/phylink.h
644
int pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode,
include/linux/phylink.h
655
void pcs_an_restart(struct phylink_pcs *pcs);
include/linux/phylink.h
674
void pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode,
include/linux/phylink.h
683
void pcs_disable_eee(struct phylink_pcs *pcs);
include/linux/phylink.h
691
void pcs_enable_eee(struct phylink_pcs *pcs);
include/linux/phylink.h
718
int pcs_pre_init(struct phylink_pcs *pcs);
include/linux/phylink.h
739
void phylink_pcs_change(struct phylink_pcs *, bool up);
include/linux/phylink.h
741
int phylink_pcs_pre_init(struct phylink *pl, struct phylink_pcs *pcs);
include/linux/stmmac.h
279
struct phylink_pcs *(*select_pcs)(struct stmmac_priv *priv,