Home
last modified time | relevance | path

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

/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-mac.c8 container_of((config), struct dpaa2_mac, phylink_config)
96 static void dpaa2_mac_validate(struct phylink_config *config, in dpaa2_mac_validate()
146 static void dpaa2_mac_config(struct phylink_config *config, unsigned int mode, in dpaa2_mac_config()
165 static void dpaa2_mac_link_up(struct phylink_config *config, in dpaa2_mac_link_up()
209 static void dpaa2_mac_link_down(struct phylink_config *config, in dpaa2_mac_link_down()
361 mac->phylink_config.dev = &net_dev->dev; in dpaa2_mac_connect()
362 mac->phylink_config.type = PHYLINK_NETDEV; in dpaa2_mac_connect()
364 phylink = phylink_create(&mac->phylink_config, in dpaa2_mac_connect()
Ddpaa2-mac.h21 struct phylink_config phylink_config; member
/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.c904 static void enetc_pl_mac_validate(struct phylink_config *config, in enetc_pl_mac_validate()
945 static void enetc_pl_mac_config(struct phylink_config *config, in enetc_pl_mac_config()
987 static void enetc_pl_mac_link_up(struct phylink_config *config, in enetc_pl_mac_link_up()
1007 static void enetc_pl_mac_link_down(struct phylink_config *config, in enetc_pl_mac_link_down()
1030 pf->phylink_config.dev = &priv->ndev->dev; in enetc_phylink_create()
1031 pf->phylink_config.type = PHYLINK_NETDEV; in enetc_phylink_create()
1033 phylink = phylink_create(&pf->phylink_config, of_fwnode_handle(node), in enetc_phylink_create()
/drivers/net/ethernet/xilinx/
Dxilinx_axienet.h420 struct phylink_config phylink_config; member
Dxilinx_axienet_main.c1537 static void axienet_validate(struct phylink_config *config, in axienet_validate()
1588 static void axienet_mac_pcs_get_state(struct phylink_config *config, in axienet_mac_pcs_get_state()
1604 static void axienet_mac_an_restart(struct phylink_config *config) in axienet_mac_an_restart()
1612 static void axienet_mac_config(struct phylink_config *config, unsigned int mode, in axienet_mac_config()
1635 static void axienet_mac_link_down(struct phylink_config *config, in axienet_mac_link_down()
1642 static void axienet_mac_link_up(struct phylink_config *config, in axienet_mac_link_up()
2081 lp->phylink_config.pcs_poll = true; in axienet_probe()
2084 lp->phylink_config.dev = &ndev->dev; in axienet_probe()
2085 lp->phylink_config.type = PHYLINK_NETDEV; in axienet_probe()
2087 lp->phylink = phylink_create(&lp->phylink_config, pdev->dev.fwnode, in axienet_probe()
/drivers/net/ethernet/atheros/
Dag71xx.c370 struct phylink_config phylink_config; member
996 static void ag71xx_mac_config(struct phylink_config *config, unsigned int mode, in ag71xx_mac_config()
1015 static void ag71xx_mac_validate(struct phylink_config *config, in ag71xx_mac_validate()
1083 static void ag71xx_mac_pcs_get_state(struct phylink_config *config, in ag71xx_mac_pcs_get_state()
1089 static void ag71xx_mac_an_restart(struct phylink_config *config) in ag71xx_mac_an_restart()
1094 static void ag71xx_mac_link_down(struct phylink_config *config, in ag71xx_mac_link_down()
1102 static void ag71xx_mac_link_up(struct phylink_config *config, in ag71xx_mac_link_up()
1168 ag->phylink_config.dev = &ag->ndev->dev; in ag71xx_phylink_setup()
1169 ag->phylink_config.type = PHYLINK_NETDEV; in ag71xx_phylink_setup()
1171 phylink = phylink_create(&ag->phylink_config, ag->pdev->dev.fwnode, in ag71xx_phylink_setup()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h189 struct phylink_config phylink_config; member
Dstmmac_main.c833 static void stmmac_validate(struct phylink_config *config, in stmmac_validate()
928 static void stmmac_mac_pcs_get_state(struct phylink_config *config, in stmmac_mac_pcs_get_state()
937 static void stmmac_mac_config(struct phylink_config *config, unsigned int mode, in stmmac_mac_config()
945 static void stmmac_mac_an_restart(struct phylink_config *config) in stmmac_mac_an_restart()
950 static void stmmac_mac_link_down(struct phylink_config *config, in stmmac_mac_link_down()
962 static void stmmac_mac_link_up(struct phylink_config *config, in stmmac_mac_link_up()
1160 priv->phylink_config.dev = &priv->dev->dev; in stmmac_phy_setup()
1161 priv->phylink_config.type = PHYLINK_NETDEV; in stmmac_phy_setup()
1162 priv->phylink_config.pcs_poll = true; in stmmac_phy_setup()
1167 phylink = phylink_create(&priv->phylink_config, fwnode, in stmmac_phy_setup()
/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c211 static void mtk_mac_config(struct phylink_config *config, unsigned int mode, in mtk_mac_config()
215 phylink_config); in mtk_mac_config()
376 static void mtk_mac_pcs_get_state(struct phylink_config *config, in mtk_mac_pcs_get_state()
380 phylink_config); in mtk_mac_pcs_get_state()
408 static void mtk_mac_an_restart(struct phylink_config *config) in mtk_mac_an_restart()
411 phylink_config); in mtk_mac_an_restart()
416 static void mtk_mac_link_down(struct phylink_config *config, unsigned int mode, in mtk_mac_link_down()
420 phylink_config); in mtk_mac_link_down()
427 static void mtk_mac_link_up(struct phylink_config *config, in mtk_mac_link_up()
433 phylink_config); in mtk_mac_link_up()
[all …]
Dmtk_eth_soc.h937 struct phylink_config phylink_config; member
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c5764 static struct mvpp2_port *mvpp2_phylink_to_port(struct phylink_config *config) in mvpp2_phylink_to_port()
5766 return container_of(config, struct mvpp2_port, phylink_config); in mvpp2_phylink_to_port()
5918 static void mvpp2_phylink_validate(struct phylink_config *config, in mvpp2_phylink_validate()
6083 static int mvpp2__mac_prepare(struct phylink_config *config, unsigned int mode, in mvpp2__mac_prepare()
6142 static int mvpp2_mac_prepare(struct phylink_config *config, unsigned int mode, in mvpp2_mac_prepare()
6155 static void mvpp2_mac_config(struct phylink_config *config, unsigned int mode, in mvpp2_mac_config()
6172 static int mvpp2_mac_finish(struct phylink_config *config, unsigned int mode, in mvpp2_mac_finish()
6217 static void mvpp2_mac_link_up(struct phylink_config *config, in mvpp2_mac_link_up()
6282 static void mvpp2_mac_link_down(struct phylink_config *config, in mvpp2_mac_link_down()
6328 mvpp2__mac_prepare(&port->phylink_config, MLO_AN_INBAND, in mvpp2_acpi_start()
[all …]
Dmvpp2.h1149 struct phylink_config phylink_config; member
/drivers/net/ethernet/marvell/
Dmvneta.c498 struct phylink_config phylink_config; member
3810 static void mvneta_validate(struct phylink_config *config, in mvneta_validate()
3864 static void mvneta_mac_pcs_get_state(struct phylink_config *config, in mvneta_mac_pcs_get_state()
3893 static void mvneta_mac_an_restart(struct phylink_config *config) in mvneta_mac_an_restart()
3905 static void mvneta_mac_config(struct phylink_config *config, unsigned int mode, in mvneta_mac_config()
4027 static void mvneta_mac_link_down(struct phylink_config *config, in mvneta_mac_link_down()
4047 static void mvneta_mac_link_up(struct phylink_config *config, in mvneta_mac_link_up()
5099 pp->phylink_config.dev = &dev->dev; in mvneta_probe()
5100 pp->phylink_config.type = PHYLINK_NETDEV; in mvneta_probe()
5102 phylink = phylink_create(&pp->phylink_config, pdev->dev.fwnode, in mvneta_probe()
/drivers/net/ethernet/cadence/
Dmacb.h1203 struct phylink_config phylink_config; member
Dmacb_main.c502 static void macb_validate(struct phylink_config *config, in macb_validate()
554 static void macb_mac_pcs_get_state(struct phylink_config *config, in macb_mac_pcs_get_state()
560 static void macb_mac_an_restart(struct phylink_config *config) in macb_mac_an_restart()
565 static void macb_mac_config(struct phylink_config *config, unsigned int mode, in macb_mac_config()
594 static void macb_mac_link_down(struct phylink_config *config, unsigned int mode, in macb_mac_link_down()
615 static void macb_mac_link_up(struct phylink_config *config, in macb_mac_link_up()
727 bp->phylink_config.dev = &dev->dev; in macb_mii_probe()
728 bp->phylink_config.type = PHYLINK_NETDEV; in macb_mii_probe()
730 bp->phylink = phylink_create(&bp->phylink_config, bp->pdev->dev.fwnode, in macb_mii_probe()
/drivers/net/phy/
Dphylink.c45 struct phylink_config *config;
823 struct phylink *phylink_create(struct phylink_config *config, in phylink_create()