Home
last modified time | relevance | path

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

12

/linux/include/linux/
A Dphylink.h73 struct phylink_config { struct
79 void (*get_fixed_state)(struct phylink_config *config, argument
98 void (*validate)(struct phylink_config *config,
101 void (*mac_pcs_get_state)(struct phylink_config *config,
109 void (*mac_an_restart)(struct phylink_config *config);
112 void (*mac_link_up)(struct phylink_config *config,
166 void mac_pcs_get_state(struct phylink_config *config,
191 int mac_prepare(struct phylink_config *config, unsigned int mode,
266 void mac_config(struct phylink_config *config, unsigned int mode,
283 int mac_finish(struct phylink_config *config, unsigned int mode,
[all …]
/linux/drivers/net/ethernet/freescale/enetc/
A Denetc_pf.h52 struct phylink_config phylink_config; member
56 container_of((config), struct enetc_pf, phylink_config)
A Denetc_pf.c933 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/drivers/net/ethernet/freescale/dpaa2/
A 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()
A Ddpaa2-mac.h22 struct phylink_config phylink_config; member
/linux/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_phylink.c29 static void sparx5_phylink_validate(struct phylink_config *config, in sparx5_phylink_validate()
102 static void sparx5_phylink_mac_config(struct phylink_config *config, in sparx5_phylink_mac_config()
109 static void sparx5_phylink_mac_link_up(struct phylink_config *config, in sparx5_phylink_mac_link_up()
132 static void sparx5_phylink_mac_link_down(struct phylink_config *config, in sparx5_phylink_mac_link_down()
A Dsparx5_main.c292 spx5_port->phylink_config.dev = &spx5_port->ndev->dev; in sparx5_create_port()
293 spx5_port->phylink_config.type = PHYLINK_NETDEV; in sparx5_create_port()
294 spx5_port->phylink_config.pcs_poll = true; in sparx5_create_port()
296 phylink = phylink_create(&spx5_port->phylink_config, in sparx5_create_port()
A Dsparx5_main.h153 struct phylink_config phylink_config; member
/linux/drivers/net/ethernet/mscc/
A Docelot.h46 struct phylink_config phylink_config; member
A Docelot_net.c1501 static void vsc7514_phylink_validate(struct phylink_config *config, in vsc7514_phylink_validate()
1535 static void vsc7514_phylink_mac_config(struct phylink_config *config, in vsc7514_phylink_mac_config()
1562 static void vsc7514_phylink_mac_link_down(struct phylink_config *config, in vsc7514_phylink_mac_link_down()
1575 static void vsc7514_phylink_mac_link_up(struct phylink_config *config, in vsc7514_phylink_mac_link_up()
1655 priv->phylink_config.dev = &priv->dev->dev; in ocelot_port_phylink_create()
1656 priv->phylink_config.type = PHYLINK_NETDEV; in ocelot_port_phylink_create()
1658 phylink = phylink_create(&priv->phylink_config, in ocelot_port_phylink_create()
/linux/Documentation/networking/
A 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/drivers/net/ethernet/xilinx/
A Dxilinx_axienet_main.c1506 static void axienet_validate(struct phylink_config *config, in axienet_validate()
1565 static void axienet_mac_pcs_get_state(struct phylink_config *config, in axienet_mac_pcs_get_state()
1581 static void axienet_mac_an_restart(struct phylink_config *config) in axienet_mac_an_restart()
1589 static int axienet_mac_prepare(struct phylink_config *config, unsigned int mode, in axienet_mac_prepare()
1616 static void axienet_mac_config(struct phylink_config *config, unsigned int mode, in axienet_mac_config()
1639 static void axienet_mac_link_down(struct phylink_config *config, in axienet_mac_link_down()
1646 static void axienet_mac_link_up(struct phylink_config *config, in axienet_mac_link_up()
2102 lp->phylink_config.pcs_poll = true; in axienet_probe()
2105 lp->phylink_config.dev = &ndev->dev; in axienet_probe()
2106 lp->phylink_config.type = PHYLINK_NETDEV; in axienet_probe()
[all …]
A Dxilinx_axienet.h434 struct phylink_config phylink_config; member
/linux/drivers/net/ethernet/atheros/
A 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()
1093 static void ag71xx_mac_pcs_get_state(struct phylink_config *config, in ag71xx_mac_pcs_get_state()
1099 static void ag71xx_mac_an_restart(struct phylink_config *config) in ag71xx_mac_an_restart()
1104 static void ag71xx_mac_link_down(struct phylink_config *config, in ag71xx_mac_link_down()
1112 static void ag71xx_mac_link_up(struct phylink_config *config, in ag71xx_mac_link_up()
1178 ag->phylink_config.dev = &ag->ndev->dev; in ag71xx_phylink_setup()
1179 ag->phylink_config.type = PHYLINK_NETDEV; in ag71xx_phylink_setup()
1181 phylink = phylink_create(&ag->phylink_config, ag->pdev->dev.fwnode, in ag71xx_phylink_setup()
/linux/net/dsa/
A Dport.c977 static void dsa_port_phylink_validate(struct phylink_config *config, in dsa_port_phylink_validate()
990 static void dsa_port_phylink_mac_pcs_get_state(struct phylink_config *config, in dsa_port_phylink_mac_pcs_get_state()
1011 static void dsa_port_phylink_mac_config(struct phylink_config *config, in dsa_port_phylink_mac_config()
1024 static void dsa_port_phylink_mac_an_restart(struct phylink_config *config) in dsa_port_phylink_mac_an_restart()
1035 static void dsa_port_phylink_mac_link_down(struct phylink_config *config, in dsa_port_phylink_mac_link_down()
1055 static void dsa_port_phylink_mac_link_up(struct phylink_config *config, in dsa_port_phylink_mac_link_up()
/linux/drivers/net/ethernet/mediatek/
A Dmtk_eth_soc.c217 phylink_config); in mtk_mac_config()
381 phylink_config); in mtk_mac_pcs_get_state()
412 phylink_config); in mtk_mac_an_restart()
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()
466 static void mtk_validate(struct phylink_config *config, in mtk_validate()
471 phylink_config); in mtk_validate()
3010 mac->phylink_config.dev = &eth->netdev[id]->dev; in mtk_add_mac()
3011 mac->phylink_config.type = PHYLINK_NETDEV; in mtk_add_mac()
[all …]
A Dmtk_eth_soc.h987 struct phylink_config phylink_config; member
/linux/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac.h231 struct phylink_config phylink_config; member
A Dstmmac_main.c949 static void stmmac_validate(struct phylink_config *config, in stmmac_validate()
1050 static void stmmac_mac_config(struct phylink_config *config, unsigned int mode, in stmmac_mac_config()
1071 static void stmmac_mac_link_down(struct phylink_config *config, in stmmac_mac_link_down()
1086 static void stmmac_mac_link_up(struct phylink_config *config, in stmmac_mac_link_up()
1269 priv->phylink_config.dev = &priv->dev->dev; in stmmac_phy_setup()
1270 priv->phylink_config.type = PHYLINK_NETDEV; in stmmac_phy_setup()
1271 priv->phylink_config.pcs_poll = true; in stmmac_phy_setup()
1273 priv->phylink_config.ovr_an_inband = in stmmac_phy_setup()
1279 phylink = phylink_create(&priv->phylink_config, fwnode, in stmmac_phy_setup()
/linux/drivers/net/ethernet/marvell/
A Dmvneta.c501 struct phylink_config phylink_config; member
3822 static void mvneta_validate(struct phylink_config *config, in mvneta_validate()
5167 pp->phylink_config.dev = &dev->dev; in mvneta_probe()
5168 pp->phylink_config.type = PHYLINK_NETDEV; in mvneta_probe()
5171 pp->phylink_config.supported_interfaces); in mvneta_probe()
5177 pp->phylink_config.supported_interfaces); in mvneta_probe()
5179 pp->phylink_config.supported_interfaces); in mvneta_probe()
5181 pp->phylink_config.supported_interfaces); in mvneta_probe()
5185 pp->phylink_config.supported_interfaces); in mvneta_probe()
5190 pp->phylink_config.supported_interfaces); in mvneta_probe()
[all …]
/linux/drivers/net/ethernet/marvell/mvpp2/
A Dmvpp2_main.c6678 mvpp2_mac_link_up(&port->phylink_config, NULL, in mvpp2_acpi_start()
6914 port->phylink_config.dev = &dev->dev; in mvpp2_port_probe()
6915 port->phylink_config.type = PHYLINK_NETDEV; in mvpp2_port_probe()
6919 port->phylink_config.supported_interfaces); in mvpp2_port_probe()
6921 port->phylink_config.supported_interfaces); in mvpp2_port_probe()
6932 port->phylink_config.supported_interfaces); in mvpp2_port_probe()
6934 port->phylink_config.supported_interfaces); in mvpp2_port_probe()
6936 port->phylink_config.supported_interfaces); in mvpp2_port_probe()
6940 port->phylink_config.supported_interfaces); in mvpp2_port_probe()
6946 port->phylink_config.supported_interfaces); in mvpp2_port_probe()
[all …]
A Dmvpp2.h1241 struct phylink_config phylink_config; member
/linux/drivers/net/ethernet/cadence/
A Dmacb_main.c509 static void macb_validate(struct phylink_config *config, in macb_validate()
655 static void macb_mac_config(struct phylink_config *config, unsigned int mode, in macb_mac_config()
713 static void macb_mac_link_down(struct phylink_config *config, unsigned int mode, in macb_mac_link_down()
734 static void macb_mac_link_up(struct phylink_config *config, in macb_mac_link_up()
798 static int macb_mac_prepare(struct phylink_config *config, unsigned int mode, in macb_mac_prepare()
863 static void macb_get_pcs_fixed_state(struct phylink_config *config, in macb_get_pcs_fixed_state()
877 bp->phylink_config.dev = &dev->dev; in macb_mii_probe()
878 bp->phylink_config.type = PHYLINK_NETDEV; in macb_mii_probe()
881 bp->phylink_config.poll_fixed_state = true; in macb_mii_probe()
882 bp->phylink_config.get_fixed_state = macb_get_pcs_fixed_state; in macb_mii_probe()
[all …]
A Dmacb.h1273 struct phylink_config phylink_config; member
/linux/include/net/
A Ddsa.h264 struct phylink_config pl_config;

Completed in 116 milliseconds

12