| /drivers/net/pcs/ |
| A D | pcs-lynx.c | 138 unsigned int neg_mode) in lynx_pcs_config_giga() argument 158 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in lynx_pcs_config_giga() 169 neg_mode); in lynx_pcs_config_giga() 174 unsigned int neg_mode) in lynx_pcs_config_usxgmii() argument 179 if (neg_mode != PHYLINK_PCS_NEG_INBAND_ENABLED) { in lynx_pcs_config_usxgmii() 202 neg_mode); in lynx_pcs_config() 212 neg_mode); in lynx_pcs_config() 231 unsigned int neg_mode, in lynx_pcs_link_up_sgmii() argument 239 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in lynx_pcs_link_up_sgmii() 286 unsigned int neg_mode, in lynx_pcs_link_up_2500basex() argument [all …]
|
| A D | pcs-mtk-lynxi.c | 108 unsigned int neg_mode, in mtk_pcs_lynxi_get_state() argument 118 phylink_mii_c22_pcs_decode_state(state, neg_mode, in mtk_pcs_lynxi_get_state() 123 static int mtk_pcs_lynxi_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mtk_pcs_lynxi_config() argument 147 if (neg_mode & PHYLINK_PCS_NEG_INBAND) in mtk_pcs_lynxi_config() 150 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in mtk_pcs_lynxi_config() 229 unsigned int neg_mode, in mtk_pcs_lynxi_link_up() argument 236 if (neg_mode != PHYLINK_PCS_NEG_INBAND_ENABLED) { in mtk_pcs_lynxi_link_up()
|
| A D | pcs-xpcs.c | 651 unsigned int neg_mode) in xpcs_config_aneg_c37_sgmii() argument 707 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in xpcs_config_aneg_c37_sgmii() 719 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in xpcs_config_aneg_c37_sgmii() 727 unsigned int neg_mode, in xpcs_config_aneg_c37_1000basex() argument 785 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in xpcs_config_aneg_c37_1000basex() 813 unsigned int neg_mode) in xpcs_do_config() argument 836 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in xpcs_do_config() 843 ret = xpcs_config_aneg_c37_sgmii(xpcs, neg_mode); in xpcs_do_config() 1022 unsigned int neg_mode, in xpcs_get_state_c37_1000basex() argument 1124 unsigned int neg_mode, in xpcs_link_up_sgmii_1000basex() argument [all …]
|
| A 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
|
| /drivers/net/ethernet/microchip/lan966x/ |
| A D | lan966x_phylink.c | 91 unsigned int neg_mode, in lan966x_pcs_get_state() argument 96 lan966x_port_status_get(port, neg_mode, state); in lan966x_pcs_get_state() 99 static int lan966x_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in lan966x_pcs_config() argument 110 config.inband = neg_mode & PHYLINK_PCS_NEG_INBAND; in lan966x_pcs_config() 111 config.autoneg = neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED; in lan966x_pcs_config()
|
| A D | lan966x_port.c | 287 void lan966x_port_status_get(struct lan966x_port *port, unsigned int neg_mode, in lan966x_port_status_get() argument 317 phylink_mii_c22_pcs_decode_state(state, neg_mode, bmsr, lp_adv); in lan966x_port_status_get()
|
| A D | lan966x_main.h | 451 void lan966x_port_status_get(struct lan966x_port *port, unsigned int neg_mode,
|
| /drivers/net/ethernet/microchip/sparx5/ |
| A D | sparx5_phylink.c | 92 static void sparx5_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in sparx5_pcs_get_state() argument 106 static int sparx5_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in sparx5_pcs_config() argument 118 conf.inband = neg_mode == PHYLINK_PCS_NEG_INBAND_DISABLED || in sparx5_pcs_config() 119 neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED; in sparx5_pcs_config() 120 conf.autoneg = neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED; in sparx5_pcs_config()
|
| /drivers/net/phy/ |
| A D | phylink.c | 1045 unsigned int neg_mode, mode; in phylink_pcs_neg_mode() local 1104 neg_mode = PHYLINK_PCS_NEG_OUTBAND; in phylink_pcs_neg_mode() 1133 neg_mode = PHYLINK_PCS_NEG_OUTBAND; in phylink_pcs_neg_mode() 1173 neg_mode = PHYLINK_PCS_NEG_INBAND_ENABLED; in phylink_pcs_neg_mode() 1184 neg_mode = PHYLINK_PCS_NEG_OUTBAND; in phylink_pcs_neg_mode() 1191 neg_mode = PHYLINK_PCS_NEG_INBAND_ENABLED; in phylink_pcs_neg_mode() 1204 neg_mode = PHYLINK_PCS_NEG_INBAND_ENABLED; in phylink_pcs_neg_mode() 1207 neg_mode = PHYLINK_PCS_NEG_INBAND_ENABLED; in phylink_pcs_neg_mode() 1212 pl->pcs_neg_mode = neg_mode; in phylink_pcs_neg_mode() 4069 unsigned int neg_mode, in phylink_mii_c22_pcs_get_state() argument [all …]
|
| /drivers/net/dsa/mv88e6xxx/ |
| A D | pcs-639x.c | 261 unsigned int neg_mode, in mv88e639x_sgmii_pcs_get_state() argument 300 unsigned int neg_mode, in mv88e639x_sgmii_pcs_config() argument 327 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in mv88e639x_sgmii_pcs_config() 400 unsigned int neg_mode, in mv88e639x_xg_pcs_get_state() argument 440 unsigned int neg_mode, in mv88e639x_xg_pcs_config() argument 893 unsigned int neg_mode, in mv88e6393x_xg_pcs_get_state() argument 901 return mv88e639x_xg_pcs_get_state(pcs, neg_mode, state); in mv88e6393x_xg_pcs_get_state()
|
| A D | pcs-6185.c | 58 unsigned int neg_mode, in mv88e6185_pcs_get_state() argument 99 static int mv88e6185_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mv88e6185_pcs_config() argument
|
| A D | pcs-6352.c | 161 unsigned int neg_mode, in marvell_c22_pcs_get_state() argument 186 unsigned int neg_mode, in marvell_c22_pcs_config() argument 199 bmcr = neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED ? BMCR_ANENABLE : 0; in marvell_c22_pcs_config()
|
| /drivers/net/ethernet/meta/fbnic/ |
| A D | fbnic_phylink.c | 111 fbnic_phylink_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in fbnic_phylink_pcs_get_state() argument 157 fbnic_phylink_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in fbnic_phylink_pcs_config() argument
|
| /drivers/net/dsa/b53/ |
| A D | b53_serdes.c | 68 static int b53_serdes_config(struct phylink_pcs *pcs, unsigned int neg_mode, in b53_serdes_config() argument 102 static void b53_serdes_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in b53_serdes_get_state() argument
|
| /drivers/net/ethernet/freescale/fman/ |
| A D | fman_dtsec.c | 758 static void dtsec_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in dtsec_pcs_get_state() argument 763 phylink_mii_c22_pcs_get_state(dtsec->tbidev, neg_mode, state); in dtsec_pcs_get_state() 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()
|
| /drivers/net/dsa/sja1105/ |
| A D | sja1105_main.c | 2371 unsigned int neg_mode; in sja1105_static_config_reload() local 2382 neg_mode = PHYLINK_PCS_NEG_INBAND_ENABLED; in sja1105_static_config_reload() 2384 neg_mode = PHYLINK_PCS_NEG_OUTBAND; in sja1105_static_config_reload() 2386 rc = pcs->ops->pcs_config(pcs, neg_mode, priv->phy_mode[i], in sja1105_static_config_reload() 2391 if (neg_mode == PHYLINK_PCS_NEG_OUTBAND) { in sja1105_static_config_reload() 2403 pcs->ops->pcs_link_up(pcs, neg_mode, priv->phy_mode[i], in sja1105_static_config_reload()
|
| /drivers/net/ethernet/marvell/prestera/ |
| A D | prestera_main.c | 283 unsigned int neg_mode, in prestera_pcs_get_state() argument 304 static int prestera_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in prestera_pcs_config() argument 319 cfg_mac.inband = neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED; in prestera_pcs_config()
|
| /drivers/net/dsa/qca/ |
| A D | qca8k-8xxx.c | 1494 static void qca8k_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in qca8k_pcs_get_state() argument 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()
|
| /drivers/net/ethernet/xilinx/ |
| A D | xilinx_axienet_main.c | 2528 unsigned int neg_mode, in axienet_pcs_get_state() argument 2533 phylink_mii_c22_pcs_get_state(pcs_phy, neg_mode, state); in axienet_pcs_get_state() 2543 static int axienet_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in axienet_pcs_config() argument 2566 neg_mode); in axienet_pcs_config()
|
| /drivers/net/ethernet/cadence/ |
| A D | macb_main.c | 552 static void macb_usx_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, in macb_usx_pcs_link_up() argument 568 unsigned int neg_mode, in macb_usx_pcs_get_state() argument 586 unsigned int neg_mode, in macb_usx_pcs_config() argument 599 static void macb_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in macb_pcs_get_state() argument 611 unsigned int neg_mode, in macb_pcs_config() argument
|
| /drivers/net/ethernet/marvell/mvpp2/ |
| A D | mvpp2_main.c | 6226 unsigned int neg_mode, in mvpp2_xlg_pcs_get_state() argument 6250 static int mvpp2_xlg_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mvpp2_xlg_pcs_config() argument 6286 unsigned int neg_mode, in mvpp2_gmac_pcs_get_state() argument 6321 static int mvpp2_gmac_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mvpp2_gmac_pcs_config() argument 6335 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in mvpp2_gmac_pcs_config()
|
| /drivers/net/dsa/ |
| A D | mt7530.c | 3055 static void mt7530_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in mt7530_pcs_get_state() argument 3090 static int mt753x_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mt753x_pcs_config() argument
|
| /drivers/net/ethernet/marvell/ |
| A D | mvneta.c | 3989 static void mvneta_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in mvneta_pcs_get_state() argument 4016 static int mvneta_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mvneta_pcs_config() argument 4030 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in mvneta_pcs_config()
|