/linux-6.12.1/drivers/net/pcs/ |
D | pcs-lynx.c | 117 unsigned int neg_mode) in lynx_pcs_config_giga() argument 137 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in lynx_pcs_config_giga() 148 neg_mode); in lynx_pcs_config_giga() 153 unsigned int neg_mode) in lynx_pcs_config_usxgmii() argument 158 if (neg_mode != PHYLINK_PCS_NEG_INBAND_ENABLED) { in lynx_pcs_config_usxgmii() 170 static int lynx_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in lynx_pcs_config() argument 181 neg_mode); in lynx_pcs_config() 183 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in lynx_pcs_config() 191 neg_mode); in lynx_pcs_config() 210 unsigned int neg_mode, in lynx_pcs_link_up_sgmii() argument [all …]
|
D | pcs-mtk-lynxi.c | 105 static int mtk_pcs_lynxi_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mtk_pcs_lynxi_config() argument 129 if (neg_mode & PHYLINK_PCS_NEG_INBAND) in mtk_pcs_lynxi_config() 132 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in mtk_pcs_lynxi_config() 211 unsigned int neg_mode, in mtk_pcs_lynxi_link_up() argument 218 if (neg_mode != PHYLINK_PCS_NEG_INBAND_ENABLED) { in mtk_pcs_lynxi_link_up() 289 mpcs->pcs.neg_mode = true; in mtk_pcs_lynxi_create()
|
D | pcs-xpcs.c | 663 unsigned int neg_mode) in xpcs_config_aneg_c37_sgmii() argument 722 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in xpcs_config_aneg_c37_sgmii() 734 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in xpcs_config_aneg_c37_sgmii() 742 unsigned int neg_mode, in xpcs_config_aneg_c37_1000basex() argument 798 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in xpcs_config_aneg_c37_1000basex() 831 const unsigned long *advertising, unsigned int neg_mode) in xpcs_do_config() argument 850 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in xpcs_do_config() 857 ret = xpcs_config_aneg_c37_sgmii(xpcs, neg_mode); in xpcs_do_config() 862 ret = xpcs_config_aneg_c37_1000basex(xpcs, neg_mode, in xpcs_do_config() 886 static int xpcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in xpcs_config() argument [all …]
|
D | pcs-rzn1-miic.c | 186 static int miic_config(struct phylink_pcs *pcs, unsigned int neg_mode, in miic_config() argument 237 static void miic_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, in miic_link_up() argument 364 miic_port->pcs.neg_mode = true; in miic_create()
|
/linux-6.12.1/include/linux/ |
D | phylink.h | 414 bool neg_mode; member 445 int (*pcs_config)(struct phylink_pcs *pcs, unsigned int neg_mode, 450 void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int neg_mode, 526 int pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, 556 void pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, 680 unsigned int neg_mode);
|
/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_phylink.c | 94 static int sparx5_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in sparx5_pcs_config() argument 106 conf.inband = neg_mode == PHYLINK_PCS_NEG_INBAND_DISABLED || in sparx5_pcs_config() 107 neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED; in sparx5_pcs_config() 108 conf.autoneg = neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED; in sparx5_pcs_config()
|
D | sparx5_main.c | 284 spx5_port->phylink_pcs.neg_mode = true; in sparx5_create_port()
|
/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_phylink.c | 98 static int lan966x_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in lan966x_pcs_config() argument 109 config.inband = neg_mode & PHYLINK_PCS_NEG_INBAND; in lan966x_pcs_config() 110 config.autoneg = neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED; in lan966x_pcs_config()
|
D | lan966x_main.c | 831 port->phylink_pcs.neg_mode = true; in lan966x_probe_port()
|
/linux-6.12.1/include/linux/pcs/ |
D | pcs-xpcs.h | 67 void xpcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, 70 const unsigned long *advertising, unsigned int neg_mode);
|
/linux-6.12.1/drivers/net/phy/ |
D | phylink.c | 1025 static int phylink_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in phylink_pcs_config() argument 1032 return pcs->ops->pcs_config(pcs, neg_mode, state->interface, in phylink_pcs_config() 1036 static void phylink_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, in phylink_pcs_link_up() argument 1041 pcs->ops->pcs_link_up(pcs, neg_mode, interface, speed, duplex); in phylink_pcs_link_up() 1126 unsigned int neg_mode; in phylink_pcs_neg_mode() local 1140 neg_mode = PHYLINK_PCS_NEG_OUTBAND; in phylink_pcs_neg_mode() 1142 neg_mode = PHYLINK_PCS_NEG_INBAND_ENABLED; in phylink_pcs_neg_mode() 1154 neg_mode = PHYLINK_PCS_NEG_OUTBAND; in phylink_pcs_neg_mode() 1157 neg_mode = PHYLINK_PCS_NEG_INBAND_ENABLED; in phylink_pcs_neg_mode() 1159 neg_mode = PHYLINK_PCS_NEG_INBAND_DISABLED; in phylink_pcs_neg_mode() [all …]
|
/linux-6.12.1/drivers/net/dsa/mv88e6xxx/ |
D | pcs-639x.c | 298 unsigned int neg_mode, in mv88e639x_sgmii_pcs_config() argument 325 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in mv88e639x_sgmii_pcs_config() 437 unsigned int neg_mode, in mv88e639x_xg_pcs_config() argument 565 mpcs->sgmii_pcs.neg_mode = true; in mv88e6390_pcs_init() 567 mpcs->xg_pcs.neg_mode = true; in mv88e6390_pcs_init() 944 mpcs->sgmii_pcs.neg_mode = true; in mv88e6393x_pcs_init() 946 mpcs->xg_pcs.neg_mode = true; in mv88e6393x_pcs_init()
|
D | pcs-6185.c | 98 static int mv88e6185_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mv88e6185_pcs_config() argument 140 mpcs->phylink_pcs.neg_mode = true; in mv88e6185_pcs_init()
|
D | pcs-6352.c | 185 unsigned int neg_mode, in marvell_c22_pcs_config() argument 198 bmcr = neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED ? BMCR_ANENABLE : 0; in marvell_c22_pcs_config() 277 mpcs->phylink_pcs.neg_mode = true; in marvell_c22_pcs_alloc()
|
/linux-6.12.1/drivers/net/ethernet/meta/fbnic/ |
D | fbnic_phylink.c | 67 fbnic_phylink_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in fbnic_phylink_pcs_config() argument 136 fbn->phylink_pcs.neg_mode = true; in fbnic_phylink_init()
|
/linux-6.12.1/drivers/net/dsa/b53/ |
D | b53_serdes.c | 68 static int b53_serdes_config(struct phylink_pcs *pcs, unsigned int neg_mode, in b53_serdes_config() argument 242 pcs->pcs.neg_mode = true; in b53_serdes_init()
|
/linux-6.12.1/drivers/net/ethernet/freescale/fman/ |
D | fman_dtsec.c | 766 static int dtsec_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in dtsec_pcs_config() argument 774 advertising, neg_mode); in dtsec_pcs_config() 1450 dtsec->pcs.neg_mode = true; in dtsec_initialization()
|
/linux-6.12.1/drivers/net/ethernet/marvell/prestera/ |
D | prestera_main.c | 303 static int prestera_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in prestera_pcs_config() argument 318 cfg_mac.inband = neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED; in prestera_pcs_config() 398 port->phylink_pcs.neg_mode = true; in prestera_port_sfp_bind()
|
/linux-6.12.1/drivers/net/dsa/sja1105/ |
D | sja1105_main.c | 2378 unsigned int neg_mode; in sja1105_static_config_reload() local 2388 neg_mode = PHYLINK_PCS_NEG_INBAND_ENABLED; in sja1105_static_config_reload() 2390 neg_mode = PHYLINK_PCS_NEG_OUTBAND; in sja1105_static_config_reload() 2392 rc = xpcs_do_config(xpcs, priv->phy_mode[i], NULL, neg_mode); in sja1105_static_config_reload() 2396 if (neg_mode == PHYLINK_PCS_NEG_OUTBAND) { in sja1105_static_config_reload() 2408 xpcs_link_up(&xpcs->pcs, neg_mode, priv->phy_mode[i], in sja1105_static_config_reload()
|
/linux-6.12.1/drivers/net/dsa/qca/ |
D | qca8k-8xxx.c | 1534 static int qca8k_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in qca8k_pcs_config() argument 1561 val = neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED ? in qca8k_pcs_config() 1637 qpcs->pcs.neg_mode = true; in qca8k_setup_pcs()
|
/linux-6.12.1/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet_main.c | 2348 static int axienet_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in axienet_pcs_config() argument 2371 neg_mode); in axienet_pcs_config() 2879 lp->pcs.neg_mode = true; in axienet_probe()
|
/linux-6.12.1/drivers/net/ethernet/cadence/ |
D | macb_main.c | 565 static void macb_usx_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, in macb_usx_pcs_link_up() argument 598 unsigned int neg_mode, in macb_usx_pcs_config() argument 623 unsigned int neg_mode, in macb_pcs_config() argument 865 bp->phylink_sgmii_pcs.neg_mode = true; in macb_mii_probe() 867 bp->phylink_usx_pcs.neg_mode = true; in macb_mii_probe()
|
/linux-6.12.1/drivers/net/dsa/ |
D | mt7530.c | 3031 static int mt753x_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mt753x_pcs_config() argument 3073 priv->pcs[i].pcs.neg_mode = true; in mt753x_setup()
|
/linux-6.12.1/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_main.c | 6227 static int mvpp2_xlg_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mvpp2_xlg_pcs_config() argument 6290 static int mvpp2_gmac_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mvpp2_gmac_pcs_config() argument 6304 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in mvpp2_gmac_pcs_config() 6956 port->pcs_gmac.neg_mode = true; in mvpp2_port_probe() 6958 port->pcs_xlg.neg_mode = true; in mvpp2_port_probe()
|
/linux-6.12.1/drivers/net/ethernet/marvell/ |
D | mvneta.c | 4006 static int mvneta_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mvneta_pcs_config() argument 4020 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in mvneta_pcs_config() 5535 pp->phylink_pcs.neg_mode = true; in mvneta_probe()
|