| /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 122 phylink_mii_c22_pcs_decode_state(state, neg_mode, in mtk_pcs_lynxi_get_state() 166 static int mtk_pcs_lynxi_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mtk_pcs_lynxi_config() argument 191 if (neg_mode & PHYLINK_PCS_NEG_INBAND) in mtk_pcs_lynxi_config() 194 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in mtk_pcs_lynxi_config() 272 unsigned int neg_mode, in mtk_pcs_lynxi_link_up() argument 279 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 | 335 static int miic_config(struct phylink_pcs *pcs, unsigned int neg_mode, in miic_config() 386 static void miic_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, in miic_link_up() 332 miic_config(struct phylink_pcs * pcs,unsigned int neg_mode,phy_interface_t interface,const unsigned long * advertising,bool permit) miic_config() argument 383 miic_link_up(struct phylink_pcs * pcs,unsigned int neg_mode,phy_interface_t interface,int speed,int duplex) miic_link_up() argument
|
| /linux/include/linux/ |
| H A D | phylink.h | 533 void (*pcs_get_state)(struct phylink_pcs *pcs, unsigned int neg_mode, 535 int (*pcs_config)(struct phylink_pcs *pcs, unsigned int neg_mode, 540 void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int neg_mode, 607 void pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, 644 int pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, 674 void pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, 822 unsigned int neg_mode, u16 bmsr, u16 lpa); 824 unsigned int neg_mode, 831 unsigned int neg_mode);
|
| /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 | 924 static int phylink_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in phylink_pcs_config() argument 931 return pcs->ops->pcs_config(pcs, neg_mode, state->interface, in phylink_pcs_config() 935 static void phylink_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, in phylink_pcs_link_up() argument 940 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/ethernet/xilinx/ |
| H A D | xilinx_axienet_main.c | 2596 unsigned int neg_mode, in axienet_pcs_config() 2601 phylink_mii_c22_pcs_get_state(pcs_phy, neg_mode, state); in axienet_pcs_config() 2611 static int axienet_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, 2634 neg_mode); in axienet_mac_link_down() 2564 axienet_pcs_get_state(struct phylink_pcs * pcs,unsigned int neg_mode,struct phylink_link_state * state) axienet_pcs_get_state() argument 2579 axienet_pcs_config(struct phylink_pcs * pcs,unsigned int neg_mode,phy_interface_t interface,const unsigned long * advertising,bool permit_pause_to_mac) axienet_pcs_config() argument
|
| /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/dsa/realtek/ |
| H A D | rtl8365mb_main.c | 1306 static int rtl8365mb_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in rtl8365mb_pcs_config() argument 1438 unsigned int neg_mode, in rtl8365mb_pcs_get_state() argument 1493 unsigned int neg_mode, in rtl8365mb_pcs_link_up() argument
|
| /linux/drivers/net/ethernet/cadence/ |
| H A D | macb_main.c | 520 static void macb_usx_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, in macb_usx_pcs_link_up() argument 536 unsigned int neg_mode, in macb_usx_pcs_get_state() argument 554 unsigned int neg_mode, in macb_usx_pcs_config() argument 573 static void macb_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in macb_pcs_get_state() argument 581 phylink_mii_c22_pcs_decode_state(state, neg_mode, bmsr, lpa); in macb_pcs_get_state() 590 unsigned int neg_mode, in macb_pcs_config() argument 608 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) in macb_pcs_config()
|
| /linux/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2_main.c | 6253 unsigned int neg_mode, in mvpp2_xlg_pcs_get_state() argument 6277 static int mvpp2_xlg_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mvpp2_xlg_pcs_config() argument 6314 unsigned int neg_mode, in mvpp2_gmac_pcs_get_state() argument 6349 static int mvpp2_gmac_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mvpp2_gmac_pcs_config() argument 6363 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { in mvpp2_gmac_pcs_config()
|
| /linux/drivers/net/dsa/ |
| H A D | mt7530.c | 3214 static void mt7530_pcs_get_state(struct phylink_pcs *pcs, unsigned int neg_mode, in mt7530_pcs_get_state() argument 3249 static int mt753x_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, in mt753x_pcs_config() argument
|
| /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()
|