/kernel/linux/linux-6.6/drivers/net/pcs/ |
H A D | pcs-lynx.c | 118 unsigned int neg_mode) in lynx_pcs_config_giga() 138 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in lynx_pcs_config_giga() 149 neg_mode); in lynx_pcs_config_giga() 154 unsigned int neg_mode) in lynx_pcs_config_usxgmii() 159 if (neg_mode != PHYLINK_PCS_NEG_INBAND_ENABLED) { in lynx_pcs_config_usxgmii() 171 static int lynx_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in lynx_pcs_config() argument 182 neg_mode); in lynx_pcs_config() 184 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in lynx_pcs_config() 192 neg_mode); in lynx_pcs_config() 211 unsigned int neg_mode, in lynx_pcs_link_up_sgmii() 115 lynx_pcs_config_giga(struct mdio_device *pcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode) lynx_pcs_config_giga() argument 152 lynx_pcs_config_usxgmii(struct mdio_device *pcs, const unsigned long *advertising, unsigned int neg_mode) lynx_pcs_config_usxgmii() argument 210 lynx_pcs_link_up_sgmii(struct mdio_device *pcs, unsigned int neg_mode, int speed, int duplex) lynx_pcs_link_up_sgmii() argument 265 lynx_pcs_link_up_2500basex(struct mdio_device *pcs, unsigned int neg_mode, int speed, int duplex) lynx_pcs_link_up_2500basex() argument 285 lynx_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex) lynx_pcs_link_up() argument [all...] |
H A 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() 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() 210 mtk_pcs_lynxi_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex) mtk_pcs_lynxi_link_up() argument
|
H A D | pcs-xpcs.c | 684 unsigned int neg_mode) in xpcs_config_aneg_c37_sgmii() 743 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in xpcs_config_aneg_c37_sgmii() 755 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in xpcs_config_aneg_c37_sgmii() 763 unsigned int neg_mode, in xpcs_config_aneg_c37_1000basex() 819 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in xpcs_config_aneg_c37_1000basex() 852 const unsigned long *advertising, unsigned int neg_mode) in xpcs_do_config() 871 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in xpcs_do_config() 878 ret = xpcs_config_aneg_c37_sgmii(xpcs, neg_mode); in xpcs_do_config() 883 ret = xpcs_config_aneg_c37_1000basex(xpcs, neg_mode, in xpcs_do_config() 907 static int xpcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in xpcs_config() argument 683 xpcs_config_aneg_c37_sgmii(struct dw_xpcs *xpcs, unsigned int neg_mode) xpcs_config_aneg_c37_sgmii() argument 762 xpcs_config_aneg_c37_1000basex(struct dw_xpcs *xpcs, unsigned int neg_mode, const unsigned long *advertising) xpcs_config_aneg_c37_1000basex() argument 851 xpcs_do_config(struct dw_xpcs *xpcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode) xpcs_do_config() argument 1135 xpcs_link_up_sgmii(struct dw_xpcs *xpcs, unsigned int neg_mode, int speed, int duplex) xpcs_link_up_sgmii() argument 1149 xpcs_link_up_1000basex(struct dw_xpcs *xpcs, unsigned int neg_mode, int speed, int duplex) xpcs_link_up_1000basex() argument 1178 xpcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex) xpcs_link_up() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | phylink.h | 124 unsigned int neg_mode; in phylink_pcs_neg_mode() local 137 neg_mode = PHYLINK_PCS_NEG_OUTBAND; in phylink_pcs_neg_mode() 139 neg_mode = PHYLINK_PCS_NEG_INBAND_ENABLED; in phylink_pcs_neg_mode() 151 neg_mode = PHYLINK_PCS_NEG_OUTBAND; in phylink_pcs_neg_mode() 154 neg_mode = PHYLINK_PCS_NEG_INBAND_ENABLED; in phylink_pcs_neg_mode() 156 neg_mode = PHYLINK_PCS_NEG_INBAND_DISABLED; in phylink_pcs_neg_mode() 160 neg_mode = PHYLINK_PCS_NEG_NONE; in phylink_pcs_neg_mode() 164 return neg_mode; in phylink_pcs_neg_mode() 482 * @neg_mode: provide PCS neg mode via "mode" argument 494 bool neg_mode; member [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
H A 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()
|
H A D | sparx5_main.c | 284 spx5_port->phylink_pcs.neg_mode = true; in sparx5_create_port()
|
/kernel/linux/linux-6.6/include/linux/pcs/ |
H A D | pcs-xpcs.h | 40 void xpcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, 43 const unsigned long *advertising, unsigned int neg_mode);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/ |
H A 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()
|
H A D | lan966x_main.c | 832 port->phylink_pcs.neg_mode = true; in lan966x_probe_port()
|
/kernel/linux/linux-6.6/drivers/net/phy/ |
H A D | phylink.c | 1056 static int phylink_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in phylink_pcs_config() argument 1063 return pcs->ops->pcs_config(pcs, neg_mode, state->interface, in phylink_pcs_config() 1067 static void phylink_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, in phylink_pcs_link_up() argument 1072 pcs->ops->pcs_link_up(pcs, neg_mode, interface, speed, duplex); in phylink_pcs_link_up() 1125 unsigned int neg_mode; in phylink_major_config() local 1183 neg_mode = pl->cur_link_an_mode; in phylink_major_config() 1184 if (pl->pcs && pl->pcs->neg_mode) in phylink_major_config() 1185 neg_mode = pl->pcs_neg_mode; in phylink_major_config() 1187 err = phylink_pcs_config(pl->pcs, neg_mode, state, in phylink_major_config() 1223 unsigned int neg_mode; in phylink_change_inband_advert() local 1348 unsigned int neg_mode; phylink_link_up() local 3649 phylink_mii_c22_pcs_config(struct mdio_device *pcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode) phylink_mii_c22_pcs_config() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/dsa/mv88e6xxx/ |
H A D | pcs-639x.c | 298 unsigned int neg_mode, in mv88e639x_sgmii_pcs_config() 325 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in mv88e639x_sgmii_pcs_config() 437 unsigned int neg_mode, in mv88e639x_xg_pcs_config() 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() 297 mv88e639x_sgmii_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac) mv88e639x_sgmii_pcs_config() argument 436 mv88e639x_xg_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac) mv88e639x_xg_pcs_config() argument
|
H A D | pcs-6352.c | 185 unsigned int neg_mode, in marvell_c22_pcs_config() 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() 184 marvell_c22_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac) marvell_c22_pcs_config() argument
|
/kernel/linux/linux-6.6/drivers/net/dsa/b53/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/ |
H A D | sja1105_main.c | 2373 unsigned int neg_mode; in sja1105_static_config_reload() local 2383 neg_mode = PHYLINK_PCS_NEG_INBAND_ENABLED; in sja1105_static_config_reload() 2385 neg_mode = PHYLINK_PCS_NEG_OUTBAND; in sja1105_static_config_reload() 2387 rc = xpcs_do_config(xpcs, priv->phy_mode[i], NULL, neg_mode); in sja1105_static_config_reload() 2391 if (neg_mode == PHYLINK_PCS_NEG_OUTBAND) { in sja1105_static_config_reload() 2403 xpcs_link_up(&xpcs->pcs, neg_mode, priv->phy_mode[i], in sja1105_static_config_reload()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/fman/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/prestera/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/net/dsa/qca/ |
H A D | qca8k-8xxx.c | 1522 static int qca8k_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in qca8k_pcs_config() argument 1549 val = neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED ? in qca8k_pcs_config() 1625 qpcs->pcs.neg_mode = true; in qca8k_setup_pcs()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 1635 static int axienet_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in axienet_pcs_config() argument 1658 neg_mode); in axienet_pcs_config() 2134 lp->pcs.neg_mode = true; in axienet_probe()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cadence/ |
H A 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() 623 unsigned int neg_mode, in macb_pcs_config() 865 bp->phylink_sgmii_pcs.neg_mode = true; in macb_mii_probe() 867 bp->phylink_usx_pcs.neg_mode = true; in macb_mii_probe() 597 macb_usx_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac) macb_usx_pcs_config() argument 622 macb_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac) macb_pcs_config() argument
|
/kernel/linux/linux-6.6/drivers/net/dsa/ |
H A D | mt7530.c | 3041 static int mt753x_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mt753x_pcs_config() argument 3069 priv->pcs[i].pcs.neg_mode = true; in mt753x_setup()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_main.c | 6201 static int mvpp2_xlg_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mvpp2_xlg_pcs_config() argument 6264 static int mvpp2_gmac_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mvpp2_gmac_pcs_config() argument 6278 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in mvpp2_gmac_pcs_config() 6929 port->pcs_gmac.neg_mode = true; in mvpp2_port_probe() 6931 port->pcs_xlg.neg_mode = true; in mvpp2_port_probe()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/ |
H A D | mvneta.c | 4005 static int mvneta_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mvneta_pcs_config() argument 4019 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in mvneta_pcs_config() 5533 pp->phylink_pcs.neg_mode = true; in mvneta_probe()
|