Home
last modified time | relevance | path

Searched refs:neg_mode (Results 1 – 25 of 25) sorted by relevance

/linux-6.12.1/drivers/net/pcs/
Dpcs-lynx.c117 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 …]
Dpcs-mtk-lynxi.c105 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()
Dpcs-xpcs.c663 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 …]
Dpcs-rzn1-miic.c186 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/
Dphylink.h414 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/
Dsparx5_phylink.c94 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()
Dsparx5_main.c284 spx5_port->phylink_pcs.neg_mode = true; in sparx5_create_port()
/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_phylink.c98 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()
Dlan966x_main.c831 port->phylink_pcs.neg_mode = true; in lan966x_probe_port()
/linux-6.12.1/include/linux/pcs/
Dpcs-xpcs.h67 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/
Dphylink.c1025 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/
Dpcs-639x.c298 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()
Dpcs-6185.c98 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()
Dpcs-6352.c185 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/
Dfbnic_phylink.c67 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/
Db53_serdes.c68 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/
Dfman_dtsec.c766 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/
Dprestera_main.c303 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/
Dsja1105_main.c2378 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/
Dqca8k-8xxx.c1534 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/
Dxilinx_axienet_main.c2348 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/
Dmacb_main.c565 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/
Dmt7530.c3031 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/
Dmvpp2_main.c6227 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/
Dmvneta.c4006 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()