Home
last modified time | relevance | path

Searched refs:phylink_config (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.15/include/linux/
Dphylink.h71 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/
Denetc_pf.h52 struct phylink_config phylink_config; member
56 container_of((config), struct enetc_pf, phylink_config)
Denetc_pf.c931 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/
Ddpaa2-mac.c11 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()
Ddpaa2-mac.h22 struct phylink_config phylink_config; member
/Linux-v5.15/drivers/net/ethernet/microchip/sparx5/
Dsparx5_phylink.c29 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()
Dsparx5_main.c293 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()
Dsparx5_main.h153 struct phylink_config phylink_config; member
/Linux-v5.15/drivers/net/ethernet/mscc/
Docelot.h45 struct phylink_config phylink_config; member
Docelot_net.c1501 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/
Dsfp-phylink.rst105 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/
Dxilinx_axienet.h434 struct phylink_config phylink_config; member
Dxilinx_axienet_main.c1506 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/
Dag71xx.c371 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/
Dstmmac.h218 struct phylink_config phylink_config; member
Dstmmac_main.c915 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/
Dport.c978 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/
Dmtk_eth_soc.c213 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 …]
Dmtk_eth_soc.h987 struct phylink_config phylink_config; member
/Linux-v5.15/drivers/net/ethernet/cadence/
Dmacb_main.c509 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 …]
Dmacb.h1270 struct phylink_config phylink_config; member
/Linux-v5.15/drivers/net/ethernet/marvell/
Dmvneta.c501 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/
Dmvpp2_main.c6103 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 …]
Dmvpp2.h1241 struct phylink_config phylink_config; member
/Linux-v5.15/include/net/
Ddsa.h262 struct phylink_config pl_config;

12