/linux-master/drivers/net/pcs/ |
H A D | pcs-lynx.c | 118 unsigned int neg_mode) 138 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) 149 neg_mode); 154 unsigned int neg_mode) 159 if (neg_mode != PHYLINK_PCS_NEG_INBAND_ENABLED) { 171 static int lynx_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 182 neg_mode); 184 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { 192 neg_mode); 211 unsigned int neg_mode, 115 lynx_pcs_config_giga(struct mdio_device *pcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode) argument 152 lynx_pcs_config_usxgmii(struct mdio_device *pcs, const unsigned long *advertising, unsigned int neg_mode) argument 210 lynx_pcs_link_up_sgmii(struct mdio_device *pcs, unsigned int neg_mode, int speed, int duplex) argument 265 lynx_pcs_link_up_2500basex(struct mdio_device *pcs, unsigned int neg_mode, int speed, int duplex) argument 285 lynx_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex) argument [all...] |
H A D | pcs-mtk-lynxi.c | 105 static int mtk_pcs_lynxi_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 129 if (neg_mode & PHYLINK_PCS_NEG_INBAND) 132 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { 211 unsigned int neg_mode, 218 if (neg_mode != PHYLINK_PCS_NEG_INBAND_ENABLED) { 289 mpcs->pcs.neg_mode = true; 210 mtk_pcs_lynxi_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex) argument
|
H A D | pcs-xpcs.c | 683 unsigned int neg_mode) 742 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) 754 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) 762 unsigned int neg_mode, 818 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { 851 const unsigned long *advertising, unsigned int neg_mode) 870 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { 877 ret = xpcs_config_aneg_c37_sgmii(xpcs, neg_mode); 882 ret = xpcs_config_aneg_c37_1000basex(xpcs, neg_mode, 906 static int xpcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 682 xpcs_config_aneg_c37_sgmii(struct dw_xpcs *xpcs, unsigned int neg_mode) argument 761 xpcs_config_aneg_c37_1000basex(struct dw_xpcs *xpcs, unsigned int neg_mode, const unsigned long *advertising) argument 850 xpcs_do_config(struct dw_xpcs *xpcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode) argument 1163 xpcs_link_up_sgmii(struct dw_xpcs *xpcs, unsigned int neg_mode, int speed, int duplex) argument 1177 xpcs_link_up_1000basex(struct dw_xpcs *xpcs, unsigned int neg_mode, int speed, int duplex) argument 1206 xpcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex) argument [all...] |
H A D | pcs-rzn1-miic.c | 186 static int miic_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 237 static void miic_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, argument 336 miic_port->pcs.neg_mode = true;
|
/linux-master/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);
|
/linux-master/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, argument 109 config.inband = neg_mode & PHYLINK_PCS_NEG_INBAND; 110 config.autoneg = neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED;
|
H A D | lan966x_main.c | 831 port->phylink_pcs.neg_mode = true;
|
/linux-master/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, argument 106 conf.inband = neg_mode == PHYLINK_PCS_NEG_INBAND_DISABLED || 107 neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED; 108 conf.autoneg = neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED;
|
H A D | sparx5_main.c | 284 spx5_port->phylink_pcs.neg_mode = true;
|
/linux-master/include/linux/ |
H A D | phylink.h | 393 * @neg_mode: provide PCS neg mode via "mode" argument 405 bool neg_mode; member in struct:phylink_pcs 433 int (*pcs_config)(struct phylink_pcs *pcs, unsigned int neg_mode, 438 void (*pcs_link_up)(struct phylink_pcs *pcs, unsigned int neg_mode, 490 * @neg_mode: link negotiation mode (see below) 509 * The %neg_mode argument should be tested via the phylink_mode_*() family of 510 * functions, or for PCS that set pcs->neg_mode true, should be tested 513 int pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, 529 * @neg_mode: link negotiation mode (see below) 540 * functions, or for PCS that set pcs->neg_mode tru [all...] |
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | pcs-6185.c | 98 static int mv88e6185_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 140 mpcs->phylink_pcs.neg_mode = true;
|
H A D | pcs-6352.c | 185 unsigned int neg_mode, 198 bmcr = neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED ? BMCR_ANENABLE : 0; 277 mpcs->phylink_pcs.neg_mode = true; 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) argument
|
H A D | pcs-639x.c | 298 unsigned int neg_mode, 325 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) 437 unsigned int neg_mode, 565 mpcs->sgmii_pcs.neg_mode = true; 567 mpcs->xg_pcs.neg_mode = true; 944 mpcs->sgmii_pcs.neg_mode = true; 946 mpcs->xg_pcs.neg_mode = true; 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) 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) argument
|
/linux-master/drivers/net/phy/ |
H A D | phylink.c | 1014 static int phylink_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 1021 return pcs->ops->pcs_config(pcs, neg_mode, state->interface, 1025 static void phylink_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, argument 1030 pcs->ops->pcs_link_up(pcs, neg_mode, interface, speed, duplex); 1100 unsigned int neg_mode; local 1113 neg_mode = PHYLINK_PCS_NEG_OUTBAND; 1115 neg_mode = PHYLINK_PCS_NEG_INBAND_ENABLED; 1127 neg_mode = PHYLINK_PCS_NEG_OUTBAND; 1130 neg_mode = PHYLINK_PCS_NEG_INBAND_ENABLED; 1132 neg_mode 1149 unsigned int neg_mode; local 1247 unsigned int neg_mode; local 1372 unsigned int neg_mode; local 3708 phylink_mii_c22_pcs_config(struct mdio_device *pcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode) argument [all...] |
/linux-master/drivers/net/dsa/b53/ |
H A D | b53_serdes.c | 68 static int b53_serdes_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 242 pcs->pcs.neg_mode = true;
|
/linux-master/drivers/net/dsa/sja1105/ |
H A D | sja1105_main.c | 2374 unsigned int neg_mode; local 2384 neg_mode = PHYLINK_PCS_NEG_INBAND_ENABLED; 2386 neg_mode = PHYLINK_PCS_NEG_OUTBAND; 2388 rc = xpcs_do_config(xpcs, priv->phy_mode[i], NULL, neg_mode); 2392 if (neg_mode == PHYLINK_PCS_NEG_OUTBAND) { 2404 xpcs_link_up(&xpcs->pcs, neg_mode, priv->phy_mode[i],
|
/linux-master/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, argument 318 cfg_mac.inband = neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED; 398 port->phylink_pcs.neg_mode = true;
|
/linux-master/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, argument 774 advertising, neg_mode); 1450 dtsec->pcs.neg_mode = true;
|
/linux-master/drivers/net/dsa/qca/ |
H A D | qca8k-8xxx.c | 1523 static int qca8k_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 1550 val = neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED ? 1626 qpcs->pcs.neg_mode = true;
|
/linux-master/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 2028 static int axienet_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 2051 neg_mode); 2559 lp->pcs.neg_mode = true;
|
/linux-master/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, argument 598 unsigned int neg_mode, 623 unsigned int neg_mode, 865 bp->phylink_sgmii_pcs.neg_mode = true; 867 bp->phylink_usx_pcs.neg_mode = true; 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) 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) argument
|
/linux-master/drivers/net/dsa/ |
H A D | mt7530.c | 3005 static int mt753x_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 3045 priv->pcs[i].pcs.neg_mode = true;
|
/linux-master/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_main.c | 6180 static int mvpp2_xlg_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 6243 static int mvpp2_gmac_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 6257 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { 6908 port->pcs_gmac.neg_mode = true; 6910 port->pcs_xlg.neg_mode = true;
|
/linux-master/drivers/net/ethernet/marvell/ |
H A D | mvneta.c | 4005 static int mvneta_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, argument 4019 if (neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED) { 5534 pp->phylink_pcs.neg_mode = true;
|