| /linux/drivers/net/pcs/ |
| H A D | pcs-lynx.c | 83 static void lynx_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in lynx_pcs_get_state() argument 93 phylink_mii_c22_pcs_get_state(lynx->mdio, neg_mode, state); in lynx_pcs_get_state() 117 unsigned int neg_mode) in lynx_pcs_config_giga() argument 138 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in lynx_pcs_config_giga() 149 neg_mode); in lynx_pcs_config_giga() 155 unsigned int neg_mode) in lynx_pcs_config_usxgmii() argument 160 if (neg_mode != PHYLINK_PCS_NEG_INBAND_ENABLED) { in lynx_pcs_config_usxgmii() 173 static int lynx_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in lynx_pcs_config() argument 185 neg_mode); in lynx_pcs_config() 189 neg_mode); in lynx_pcs_config() [all …]
|
| H A D | pcs-mtk-lynxi.c | 109 unsigned int neg_mode, in mtk_pcs_lynxi_get_state() argument 119 phylink_mii_c22_pcs_decode_state(state, neg_mode, in mtk_pcs_lynxi_get_state() 160 static int mtk_pcs_lynxi_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mtk_pcs_lynxi_config() argument 185 if (neg_mode & PHYLINK_PCS_NEG_INBAND) in mtk_pcs_lynxi_config() 188 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in mtk_pcs_lynxi_config() 266 unsigned int neg_mode, in mtk_pcs_lynxi_link_up() argument 273 if (neg_mode != PHYLINK_PCS_NEG_INBAND_ENABLED) { in mtk_pcs_lynxi_link_up()
|
| H A D | pcs-xpcs.c | 751 unsigned int neg_mode) in xpcs_config_aneg_c37_sgmii() argument 807 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in xpcs_config_aneg_c37_sgmii() 819 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in xpcs_config_aneg_c37_sgmii() 827 unsigned int neg_mode, in xpcs_config_aneg_c37_1000basex() argument 885 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in xpcs_config_aneg_c37_1000basex() 913 unsigned int neg_mode) in xpcs_do_config() argument 936 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in xpcs_do_config() 943 ret = xpcs_config_aneg_c37_sgmii(xpcs, neg_mode); in xpcs_do_config() 948 ret = xpcs_config_aneg_c37_1000basex(xpcs, neg_mode, in xpcs_do_config() 971 static int xpcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in xpcs_config() argument [all …]
|
| H A D | pcs-rzn1-miic.c | 332 static int miic_config(struct phylink_pcs *pcs, unsigned int neg_mode, in miic_config() argument 383 static void miic_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, in miic_link_up() argument
|
| /linux/drivers/net/dsa/mv88e6xxx/ |
| H 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()
|
| H 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
|
| H 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()
|
| /linux/drivers/net/phy/ |
| H A D | phylink.c | 925 static int phylink_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in phylink_pcs_config() argument 932 return pcs->ops->pcs_config(pcs, neg_mode, state->interface, in phylink_pcs_config() 936 static void phylink_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, in phylink_pcs_link_up() argument 941 pcs->ops->pcs_link_up(pcs, neg_mode, interface, speed, duplex); in phylink_pcs_link_up() 1095 unsigned int neg_mode, mode; in phylink_pcs_neg_mode() local 1127 neg_mode = PHYLINK_PCS_NEG_OUTBAND; in phylink_pcs_neg_mode() 1156 neg_mode = PHYLINK_PCS_NEG_OUTBAND; in phylink_pcs_neg_mode() 1196 neg_mode = PHYLINK_PCS_NEG_INBAND_ENABLED; in phylink_pcs_neg_mode() 1207 neg_mode = PHYLINK_PCS_NEG_OUTBAND; in phylink_pcs_neg_mode() 1214 neg_mode = PHYLINK_PCS_NEG_INBAND_ENABLED; in phylink_pcs_neg_mode() [all …]
|
| /linux/drivers/net/dsa/lantiq/ |
| H A D | mxl-gsw1xx.c | 163 unsigned int neg_mode, in gsw1xx_pcs_get_state() argument 335 static int gsw1xx_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in gsw1xx_pcs_config() argument 391 if (neg_mode & PHYLINK_PCS_NEG_INBAND) in gsw1xx_pcs_config() 479 unsigned int neg_mode, in gsw1xx_pcs_link_up() argument 487 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in gsw1xx_pcs_link_up()
|
| /linux/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 102 static void b53_serdes_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in b53_serdes_get_state() argument
|
| /linux/drivers/net/ethernet/freescale/fman/ |
| H 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()
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H 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()
|
| /linux/drivers/net/dsa/qca/ |
| H 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()
|
| /linux/drivers/net/ethernet/xilinx/ |
| H A D | xilinx_axienet_main.c | 2546 unsigned int neg_mode, in axienet_pcs_get_state() argument 2551 phylink_mii_c22_pcs_get_state(pcs_phy, neg_mode, state); in axienet_pcs_get_state() 2561 static int axienet_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in axienet_pcs_config() argument 2584 neg_mode); in axienet_pcs_config()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_main.h | 451 void lan966x_port_status_get(struct lan966x_port *port, unsigned int neg_mode,
|
| /linux/drivers/net/ethernet/cadence/ |
| H A D | macb_main.c | 514 static void macb_usx_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, in macb_usx_pcs_link_up() argument 530 unsigned int neg_mode, in macb_usx_pcs_get_state() argument 548 unsigned int neg_mode, in macb_usx_pcs_config() argument 561 static void macb_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in macb_pcs_get_state() argument 573 unsigned int neg_mode, in macb_pcs_config() argument
|
| /linux/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2_main.c | 6237 unsigned int neg_mode, in mvpp2_xlg_pcs_get_state() argument 6261 static int mvpp2_xlg_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mvpp2_xlg_pcs_config() argument 6298 unsigned int neg_mode, in mvpp2_gmac_pcs_get_state() argument 6333 static int mvpp2_gmac_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mvpp2_gmac_pcs_config() argument 6347 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in mvpp2_gmac_pcs_config()
|
| /linux/drivers/net/ethernet/marvell/ |
| H A D | mvneta.c | 3995 static void mvneta_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in mvneta_pcs_get_state() argument 4022 static int mvneta_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mvneta_pcs_config() argument 4036 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in mvneta_pcs_config()
|