/Linux-v5.15/include/linux/ |
D | phylink.h | 71 struct phylink_config { struct 77 void (*get_fixed_state)(struct phylink_config *config, argument 95 void (*validate)(struct phylink_config *config, 98 void (*mac_pcs_get_state)(struct phylink_config *config, 100 int (*mac_prepare)(struct phylink_config *config, unsigned int mode, 102 void (*mac_config)(struct phylink_config *config, unsigned int mode, 104 int (*mac_finish)(struct phylink_config *config, unsigned int mode, 106 void (*mac_an_restart)(struct phylink_config *config); 107 void (*mac_link_down)(struct phylink_config *config, unsigned int mode, 109 void (*mac_link_up)(struct phylink_config *config, [all …]
|
/Linux-v5.15/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.h | 52 struct phylink_config phylink_config; member 56 container_of((config), struct enetc_pf, phylink_config)
|
D | enetc_pf.c | 931 static void enetc_pl_mac_validate(struct phylink_config *config, in enetc_pl_mac_validate() 972 static void enetc_pl_mac_config(struct phylink_config *config, in enetc_pl_mac_config() 1014 static void enetc_pl_mac_link_up(struct phylink_config *config, in enetc_pl_mac_link_up() 1089 static void enetc_pl_mac_link_down(struct phylink_config *config, in enetc_pl_mac_link_down() 1112 pf->phylink_config.dev = &priv->ndev->dev; in enetc_phylink_create() 1113 pf->phylink_config.type = PHYLINK_NETDEV; in enetc_phylink_create() 1115 phylink = phylink_create(&pf->phylink_config, of_fwnode_handle(node), in enetc_phylink_create()
|
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-mac.c | 11 container_of((config), struct dpaa2_mac, phylink_config) 121 static void dpaa2_mac_validate(struct phylink_config *config, in dpaa2_mac_validate() 175 static void dpaa2_mac_config(struct phylink_config *config, unsigned int mode, in dpaa2_mac_config() 194 static void dpaa2_mac_link_up(struct phylink_config *config, in dpaa2_mac_link_up() 230 static void dpaa2_mac_link_down(struct phylink_config *config, in dpaa2_mac_link_down() 339 mac->phylink_config.dev = &net_dev->dev; in dpaa2_mac_connect() 340 mac->phylink_config.type = PHYLINK_NETDEV; in dpaa2_mac_connect() 342 phylink = phylink_create(&mac->phylink_config, in dpaa2_mac_connect()
|
D | dpaa2-mac.h | 22 struct phylink_config phylink_config; member
|
/Linux-v5.15/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_phylink.c | 29 static void sparx5_phylink_validate(struct phylink_config *config, in sparx5_phylink_validate() 103 static void sparx5_phylink_mac_config(struct phylink_config *config, in sparx5_phylink_mac_config() 110 static void sparx5_phylink_mac_link_up(struct phylink_config *config, in sparx5_phylink_mac_link_up() 133 static void sparx5_phylink_mac_link_down(struct phylink_config *config, in sparx5_phylink_mac_link_down()
|
D | sparx5_main.c | 293 spx5_port->phylink_config.dev = &spx5_port->ndev->dev; in sparx5_create_port() 294 spx5_port->phylink_config.type = PHYLINK_NETDEV; in sparx5_create_port() 295 spx5_port->phylink_config.pcs_poll = true; in sparx5_create_port() 297 phylink = phylink_create(&spx5_port->phylink_config, in sparx5_create_port()
|
D | sparx5_main.h | 153 struct phylink_config phylink_config; member
|
/Linux-v5.15/drivers/net/ethernet/mscc/ |
D | ocelot.h | 45 struct phylink_config phylink_config; member
|
D | ocelot_net.c | 1501 static void vsc7514_phylink_validate(struct phylink_config *config, in vsc7514_phylink_validate() 1536 static void vsc7514_phylink_mac_config(struct phylink_config *config, in vsc7514_phylink_mac_config() 1563 static void vsc7514_phylink_mac_link_down(struct phylink_config *config, in vsc7514_phylink_mac_link_down() 1576 static void vsc7514_phylink_mac_link_up(struct phylink_config *config, in vsc7514_phylink_mac_link_up() 1656 priv->phylink_config.dev = &priv->dev->dev; in ocelot_port_phylink_create() 1657 priv->phylink_config.type = PHYLINK_NETDEV; in ocelot_port_phylink_create() 1659 phylink = phylink_create(&priv->phylink_config, in ocelot_port_phylink_create()
|
/Linux-v5.15/Documentation/networking/ |
D | sfp-phylink.rst | 105 struct phylink_config phylink_config; 239 priv->phylink_config.dev = &dev.dev; 240 priv->phylink_config.type = PHYLINK_NETDEV; 242 phylink = phylink_create(&priv->phylink_config, node, phy_mode, &phylink_ops); 266 it should set ``priv->phylink_config.pcs_poll = true;`` in step 9.
|
/Linux-v5.15/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet.h | 434 struct phylink_config phylink_config; member
|
D | xilinx_axienet_main.c | 1506 static void axienet_validate(struct phylink_config *config, in axienet_validate() 1567 static void axienet_mac_pcs_get_state(struct phylink_config *config, in axienet_mac_pcs_get_state() 1583 static void axienet_mac_an_restart(struct phylink_config *config) in axienet_mac_an_restart() 1591 static int axienet_mac_prepare(struct phylink_config *config, unsigned int mode, in axienet_mac_prepare() 1618 static void axienet_mac_config(struct phylink_config *config, unsigned int mode, in axienet_mac_config() 1641 static void axienet_mac_link_down(struct phylink_config *config, in axienet_mac_link_down() 1648 static void axienet_mac_link_up(struct phylink_config *config, in axienet_mac_link_up() 2104 lp->phylink_config.pcs_poll = true; in axienet_probe() 2107 lp->phylink_config.dev = &ndev->dev; in axienet_probe() 2108 lp->phylink_config.type = PHYLINK_NETDEV; in axienet_probe() [all …]
|
/Linux-v5.15/drivers/net/ethernet/atheros/ |
D | ag71xx.c | 371 struct phylink_config phylink_config; member 1008 static void ag71xx_mac_config(struct phylink_config *config, unsigned int mode, in ag71xx_mac_config() 1027 static void ag71xx_mac_validate(struct phylink_config *config, in ag71xx_mac_validate() 1095 static void ag71xx_mac_pcs_get_state(struct phylink_config *config, in ag71xx_mac_pcs_get_state() 1101 static void ag71xx_mac_an_restart(struct phylink_config *config) in ag71xx_mac_an_restart() 1106 static void ag71xx_mac_link_down(struct phylink_config *config, in ag71xx_mac_link_down() 1114 static void ag71xx_mac_link_up(struct phylink_config *config, in ag71xx_mac_link_up() 1180 ag->phylink_config.dev = &ag->ndev->dev; in ag71xx_phylink_setup() 1181 ag->phylink_config.type = PHYLINK_NETDEV; in ag71xx_phylink_setup() 1183 phylink = phylink_create(&ag->phylink_config, ag->pdev->dev.fwnode, in ag71xx_phylink_setup()
|
/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac.h | 218 struct phylink_config phylink_config; member
|
D | stmmac_main.c | 915 static void stmmac_validate(struct phylink_config *config, in stmmac_validate() 1016 static void stmmac_mac_config(struct phylink_config *config, unsigned int mode, in stmmac_mac_config() 1037 static void stmmac_mac_link_down(struct phylink_config *config, in stmmac_mac_link_down() 1052 static void stmmac_mac_link_up(struct phylink_config *config, in stmmac_mac_link_up() 1235 priv->phylink_config.dev = &priv->dev->dev; in stmmac_phy_setup() 1236 priv->phylink_config.type = PHYLINK_NETDEV; in stmmac_phy_setup() 1237 priv->phylink_config.pcs_poll = true; in stmmac_phy_setup() 1239 priv->phylink_config.ovr_an_inband = in stmmac_phy_setup() 1245 phylink = phylink_create(&priv->phylink_config, fwnode, in stmmac_phy_setup()
|
/Linux-v5.15/net/dsa/ |
D | port.c | 978 static void dsa_port_phylink_validate(struct phylink_config *config, in dsa_port_phylink_validate() 991 static void dsa_port_phylink_mac_pcs_get_state(struct phylink_config *config, in dsa_port_phylink_mac_pcs_get_state() 1012 static void dsa_port_phylink_mac_config(struct phylink_config *config, in dsa_port_phylink_mac_config() 1025 static void dsa_port_phylink_mac_an_restart(struct phylink_config *config) in dsa_port_phylink_mac_an_restart() 1036 static void dsa_port_phylink_mac_link_down(struct phylink_config *config, in dsa_port_phylink_mac_link_down() 1056 static void dsa_port_phylink_mac_link_up(struct phylink_config *config, in dsa_port_phylink_mac_link_up()
|
/Linux-v5.15/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 213 static void mtk_mac_config(struct phylink_config *config, unsigned int mode, in mtk_mac_config() 217 phylink_config); in mtk_mac_config() 377 static void mtk_mac_pcs_get_state(struct phylink_config *config, in mtk_mac_pcs_get_state() 381 phylink_config); in mtk_mac_pcs_get_state() 409 static void mtk_mac_an_restart(struct phylink_config *config) in mtk_mac_an_restart() 412 phylink_config); in mtk_mac_an_restart() 417 static void mtk_mac_link_down(struct phylink_config *config, unsigned int mode, in mtk_mac_link_down() 421 phylink_config); in mtk_mac_link_down() 428 static void mtk_mac_link_up(struct phylink_config *config, in mtk_mac_link_up() 434 phylink_config); in mtk_mac_link_up() [all …]
|
D | mtk_eth_soc.h | 987 struct phylink_config phylink_config; member
|
/Linux-v5.15/drivers/net/ethernet/cadence/ |
D | macb_main.c | 509 static void macb_validate(struct phylink_config *config, in macb_validate() 661 static void macb_mac_config(struct phylink_config *config, unsigned int mode, in macb_mac_config() 716 static void macb_mac_link_down(struct phylink_config *config, unsigned int mode, in macb_mac_link_down() 737 static void macb_mac_link_up(struct phylink_config *config, in macb_mac_link_up() 801 static int macb_mac_prepare(struct phylink_config *config, unsigned int mode, in macb_mac_prepare() 866 static void macb_get_pcs_fixed_state(struct phylink_config *config, in macb_get_pcs_fixed_state() 880 bp->phylink_config.dev = &dev->dev; in macb_mii_probe() 881 bp->phylink_config.type = PHYLINK_NETDEV; in macb_mii_probe() 884 bp->phylink_config.poll_fixed_state = true; in macb_mii_probe() 885 bp->phylink_config.get_fixed_state = macb_get_pcs_fixed_state; in macb_mii_probe() [all …]
|
D | macb.h | 1270 struct phylink_config phylink_config; member
|
/Linux-v5.15/drivers/net/ethernet/marvell/ |
D | mvneta.c | 501 struct phylink_config phylink_config; member 3823 static void mvneta_validate(struct phylink_config *config, in mvneta_validate() 3885 static void mvneta_mac_pcs_get_state(struct phylink_config *config, in mvneta_mac_pcs_get_state() 3914 static void mvneta_mac_an_restart(struct phylink_config *config) in mvneta_mac_an_restart() 3926 static void mvneta_mac_config(struct phylink_config *config, unsigned int mode, in mvneta_mac_config() 4049 static void mvneta_mac_link_down(struct phylink_config *config, in mvneta_mac_link_down() 4069 static void mvneta_mac_link_up(struct phylink_config *config, in mvneta_mac_link_up() 5183 pp->phylink_config.dev = &dev->dev; in mvneta_probe() 5184 pp->phylink_config.type = PHYLINK_NETDEV; in mvneta_probe() 5186 phylink = phylink_create(&pp->phylink_config, pdev->dev.fwnode, in mvneta_probe()
|
/Linux-v5.15/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_main.c | 6103 static struct mvpp2_port *mvpp2_phylink_to_port(struct phylink_config *config) in mvpp2_phylink_to_port() 6105 return container_of(config, struct mvpp2_port, phylink_config); in mvpp2_phylink_to_port() 6257 static void mvpp2_phylink_validate(struct phylink_config *config, in mvpp2_phylink_validate() 6436 static int mvpp2__mac_prepare(struct phylink_config *config, unsigned int mode, in mvpp2__mac_prepare() 6495 static int mvpp2_mac_prepare(struct phylink_config *config, unsigned int mode, in mvpp2_mac_prepare() 6508 static void mvpp2_mac_config(struct phylink_config *config, unsigned int mode, in mvpp2_mac_config() 6525 static int mvpp2_mac_finish(struct phylink_config *config, unsigned int mode, in mvpp2_mac_finish() 6570 static void mvpp2_mac_link_up(struct phylink_config *config, in mvpp2_mac_link_up() 6653 static void mvpp2_mac_link_down(struct phylink_config *config, in mvpp2_mac_link_down() 6699 mvpp2__mac_prepare(&port->phylink_config, MLO_AN_INBAND, in mvpp2_acpi_start() [all …]
|
D | mvpp2.h | 1241 struct phylink_config phylink_config; member
|
/Linux-v5.15/include/net/ |
D | dsa.h | 262 struct phylink_config pl_config;
|