Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/tehuti/
H A Dtn40_phy.c10 static struct tn40_priv *tn40_config_to_priv(struct phylink_config *config) in tn40_config_to_priv()
12 return container_of(config, struct tn40_priv, phylink_config); in tn40_config_to_priv()
15 static void tn40_link_up(struct phylink_config *config, struct phy_device *phy, in tn40_link_up()
25 static void tn40_link_down(struct phylink_config *config, unsigned int mode, in tn40_link_down()
34 static void tn40_mac_config(struct phylink_config *config, unsigned int mode, in tn40_mac_config()
47 struct phylink_config *config; in tn40_phy_register()
57 config = &priv->phylink_config; in tn40_phy_register()
H A Dtn40.h148 struct phylink_config phylink_config; member
/linux/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_mdio.c59 static void ngbe_mac_config(struct phylink_config *config, unsigned int mode, in ngbe_mac_config()
64 static void ngbe_mac_link_down(struct phylink_config *config, in ngbe_mac_link_down()
69 static void ngbe_mac_link_up(struct phylink_config *config, in ngbe_mac_link_up()
116 struct phylink_config *config; in ngbe_phylink_init()
120 config = &wx->phylink_config; in ngbe_phylink_init()
/linux/Documentation/networking/
H A Dsfp-phylink.rst105 struct phylink_config phylink_config;
234 9. Fill-in the :c:type:`struct phylink_config <phylink_config>` fields with
240 priv->phylink_config.dev = &dev.dev;
241 priv->phylink_config.type = PHYLINK_NETDEV;
247 priv->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_10 | MAC_100 | MAC_1000FD;
327 static struct phylink_pcs *foo_select_pcs(struct phylink_config *config,
331 phylink_config);
350 phy_interface_set_rgmii(priv->phylink_config.supported_interfaces);
352 priv->phylink_config.supported_interfaces);
354 priv->phylink_config.supported_interfaces);
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_main.c357 spx5_port->phylink_config.dev = &spx5_port->ndev->dev; in sparx5_create_port()
358 spx5_port->phylink_config.type = PHYLINK_NETDEV; in sparx5_create_port()
359 spx5_port->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | in sparx5_create_port()
364 phy_interface_set_rgmii(spx5_port->phylink_config.supported_interfaces); in sparx5_create_port()
367 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port()
369 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port()
371 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port()
373 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port()
379 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port()
384 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port()
[all …]
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_phy.c159 static struct phylink_pcs *txgbe_phylink_mac_select(struct phylink_config *config, in txgbe_phylink_mac_select()
171 static void txgbe_mac_config(struct phylink_config *config, unsigned int mode, in txgbe_mac_config()
176 static void txgbe_mac_link_down(struct phylink_config *config, in txgbe_mac_link_down()
184 static void txgbe_mac_link_up(struct phylink_config *config, in txgbe_mac_link_up()
220 static int txgbe_mac_prepare(struct phylink_config *config, unsigned int mode, in txgbe_mac_prepare()
231 static int txgbe_mac_finish(struct phylink_config *config, unsigned int mode, in txgbe_mac_finish()
254 struct phylink_config *config; in txgbe_phylink_init()
259 config = &wx->phylink_config; in txgbe_phylink_init()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_main.c827 port->phylink_config.dev = &port->dev->dev; in lan966x_probe_port()
828 port->phylink_config.type = PHYLINK_NETDEV; in lan966x_probe_port()
833 port->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | in lan966x_probe_port()
836 phy_interface_set_rgmii(port->phylink_config.supported_interfaces); in lan966x_probe_port()
838 port->phylink_config.supported_interfaces); in lan966x_probe_port()
840 port->phylink_config.supported_interfaces); in lan966x_probe_port()
842 port->phylink_config.supported_interfaces); in lan966x_probe_port()
844 port->phylink_config.supported_interfaces); in lan966x_probe_port()
846 port->phylink_config.supported_interfaces); in lan966x_probe_port()
848 port->phylink_config.supported_interfaces); in lan966x_probe_port()
[all …]
/linux/drivers/net/ethernet/freescale/fs_enet/
H A Dfs_enet-main.c623 static void fs_mac_link_up(struct phylink_config *config, in fs_mac_link_up()
638 static void fs_mac_link_down(struct phylink_config *config, in fs_mac_link_down()
650 static void fs_mac_config(struct phylink_config *config, unsigned int mode, in fs_mac_config()
922 fep->phylink_config.dev = &ndev->dev; in fs_enet_probe()
923 fep->phylink_config.type = PHYLINK_NETDEV; in fs_enet_probe()
924 fep->phylink_config.mac_capabilities = MAC_10 | MAC_100; in fs_enet_probe()
927 fep->phylink_config.supported_interfaces); in fs_enet_probe()
931 fep->phylink_config.supported_interfaces); in fs_enet_probe()
933 phylink = phylink_create(&fep->phylink_config, dev_fwnode(fep->dev), in fs_enet_probe()
H A Dfs_enet.h145 struct phylink_config phylink_config; member
/linux/drivers/net/ethernet/mscc/
H A Docelot.h50 struct phylink_config phylink_config; member
/linux/drivers/net/dsa/microchip/
H A Dksz8.h50 struct phylink_config *config);
60 void ksz8_phylink_mac_link_up(struct phylink_config *config,
/linux/drivers/net/ethernet/atheros/
H A Dag71xx.c372 struct phylink_config phylink_config; member
988 static void ag71xx_mac_config(struct phylink_config *config, unsigned int mode, in ag71xx_mac_config()
1007 static void ag71xx_mac_link_down(struct phylink_config *config, in ag71xx_mac_link_down()
1015 static void ag71xx_mac_link_up(struct phylink_config *config, in ag71xx_mac_link_up()
1078 ag->phylink_config.dev = &ag->ndev->dev; in ag71xx_phylink_setup()
1079 ag->phylink_config.type = PHYLINK_NETDEV; in ag71xx_phylink_setup()
1080 ag->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE | in ag71xx_phylink_setup()
1088 ag->phylink_config.supported_interfaces); in ag71xx_phylink_setup()
1094 ag->phylink_config.supported_interfaces); in ag71xx_phylink_setup()
1098 ag->phylink_config.supported_interfaces); in ag71xx_phylink_setup()
[all …]
/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.h40 struct phylink_config phylink_config; member
H A Dam65-cpsw-nuss.c2146 static void am65_cpsw_nuss_mac_config(struct phylink_config *config, unsigned int mode, in am65_cpsw_nuss_mac_config()
2150 phylink_config); in am65_cpsw_nuss_mac_config()
2176 static void am65_cpsw_nuss_mac_link_down(struct phylink_config *config, unsigned int mode, in am65_cpsw_nuss_mac_link_down()
2180 phylink_config); in am65_cpsw_nuss_mac_link_down()
2209 static void am65_cpsw_nuss_mac_link_up(struct phylink_config *config, struct phy_device *phy, in am65_cpsw_nuss_mac_link_up()
2214 phylink_config); in am65_cpsw_nuss_mac_link_up()
2859 port->slave.phylink_config.dev = &port->ndev->dev; in am65_cpsw_nuss_init_port_ndev()
2860 port->slave.phylink_config.type = PHYLINK_NETDEV; in am65_cpsw_nuss_init_port_ndev()
2861 port->slave.phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_10 | MAC_100 | in am65_cpsw_nuss_init_port_ndev()
2863 port->slave.phylink_config.mac_managed_pm = true; /* MAC does PM */ in am65_cpsw_nuss_init_port_ndev()
[all …]
/linux/drivers/net/usb/
H A Dasix_devices.c743 static void ax88772_mac_config(struct phylink_config *config, unsigned int mode, in ax88772_mac_config()
749 static void ax88772_mac_link_down(struct phylink_config *config, in ax88772_mac_link_down()
758 static void ax88772_mac_link_up(struct phylink_config *config, in ax88772_mac_link_up()
801 priv->phylink_config.dev = &dev->net->dev; in ax88772_phylink_setup()
802 priv->phylink_config.type = PHYLINK_NETDEV; in ax88772_phylink_setup()
803 priv->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE | in ax88772_phylink_setup()
807 priv->phylink_config.supported_interfaces); in ax88772_phylink_setup()
809 priv->phylink_config.supported_interfaces); in ax88772_phylink_setup()
816 phylink = phylink_create(&priv->phylink_config, dev->net->dev.fwnode, in ax88772_phylink_setup()
H A Dasix.h190 struct phylink_config phylink_config; member
/linux/drivers/net/ethernet/marvell/
H A Dmvneta.c539 struct phylink_config phylink_config; member
4087 static struct phylink_pcs *mvneta_mac_select_pcs(struct phylink_config *config, in mvneta_mac_select_pcs()
4096 static int mvneta_mac_prepare(struct phylink_config *config, unsigned int mode, in mvneta_mac_prepare()
4130 static void mvneta_mac_config(struct phylink_config *config, unsigned int mode, in mvneta_mac_config()
4186 static int mvneta_mac_finish(struct phylink_config *config, unsigned int mode, in mvneta_mac_finish()
4216 static void mvneta_mac_link_down(struct phylink_config *config, in mvneta_mac_link_down()
4233 static void mvneta_mac_link_up(struct phylink_config *config, in mvneta_mac_link_up()
4281 static void mvneta_mac_disable_tx_lpi(struct phylink_config *config) in mvneta_mac_disable_tx_lpi()
4293 static int mvneta_mac_enable_tx_lpi(struct phylink_config *config, u32 timer, in mvneta_mac_enable_tx_lpi()
5474 mvneta_mac_disable_tx_lpi(&pp->phylink_config); in mvneta_port_power_up()
[all …]
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc4_pf.c289 enetc4_pl_mac_select_pcs(struct phylink_config *config, phy_interface_t iface) in enetc4_pl_mac_select_pcs()
339 static void enetc4_pl_mac_config(struct phylink_config *config, unsigned int mode, in enetc4_pl_mac_config()
513 static void enetc4_pl_mac_link_up(struct phylink_config *config, in enetc4_pl_mac_link_up()
556 static void enetc4_pl_mac_link_down(struct phylink_config *config, in enetc4_pl_mac_link_down()
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c520 static struct phylink_pcs *mtk_mac_select_pcs(struct phylink_config *config, in mtk_mac_select_pcs()
524 phylink_config); in mtk_mac_select_pcs()
539 static void mtk_mac_config(struct phylink_config *config, unsigned int mode, in mtk_mac_config()
543 phylink_config); in mtk_mac_config()
671 static int mtk_mac_finish(struct phylink_config *config, unsigned int mode, in mtk_mac_finish()
675 phylink_config); in mtk_mac_finish()
698 static void mtk_mac_link_down(struct phylink_config *config, unsigned int mode, in mtk_mac_link_down()
702 phylink_config); in mtk_mac_link_down()
778 static void mtk_mac_link_up(struct phylink_config *config, in mtk_mac_link_up()
784 phylink_config); in mtk_mac_link_up()
[all …]
/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.c2399 static struct phylink_pcs *axienet_mac_select_pcs(struct phylink_config *config, in axienet_mac_select_pcs()
2412 static void axienet_mac_config(struct phylink_config *config, unsigned int mode, in axienet_mac_config()
2418 static void axienet_mac_link_down(struct phylink_config *config, in axienet_mac_link_down()
2425 static void axienet_mac_link_up(struct phylink_config *config, in axienet_mac_link_up()
2898 lp->phylink_config.dev = &ndev->dev; in axienet_probe()
2899 lp->phylink_config.type = PHYLINK_NETDEV; in axienet_probe()
2900 lp->phylink_config.mac_managed_pm = true; in axienet_probe()
2901 lp->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE | in axienet_probe()
2904 __set_bit(lp->phy_mode, lp->phylink_config.supported_interfaces); in axienet_probe()
2907 lp->phylink_config.supported_interfaces); in axienet_probe()
[all …]
/linux/drivers/net/ethernet/altera/
H A Daltera_tse.h478 struct phylink_config phylink_config; member
/linux/drivers/net/dsa/b53/
H A Db53_serdes.h116 struct phylink_config *config);
/linux/drivers/net/ethernet/cadence/
H A Dmacb_main.c634 static void macb_mac_config(struct phylink_config *config, unsigned int mode, in macb_mac_config()
692 static void macb_mac_link_down(struct phylink_config *config, unsigned int mode, in macb_mac_link_down()
713 static void macb_mac_link_up(struct phylink_config *config, in macb_mac_link_up()
782 static struct phylink_pcs *macb_mac_select_pcs(struct phylink_config *config, in macb_mac_select_pcs()
841 static void macb_get_pcs_fixed_state(struct phylink_config *config, in macb_get_pcs_fixed_state()
860 bp->phylink_config.dev = &dev->dev; in macb_mii_probe()
861 bp->phylink_config.type = PHYLINK_NETDEV; in macb_mii_probe()
862 bp->phylink_config.mac_managed_pm = true; in macb_mii_probe()
865 bp->phylink_config.poll_fixed_state = true; in macb_mii_probe()
866 bp->phylink_config.get_fixed_state = macb_get_pcs_fixed_state; in macb_mii_probe()
[all …]
/linux/drivers/net/dsa/qca/
H A Dar9331.c504 struct phylink_config *config) in ar9331_sw_phylink_get_caps()
526 static void ar9331_sw_phylink_mac_config(struct phylink_config *config, in ar9331_sw_phylink_mac_config()
542 static void ar9331_sw_phylink_mac_link_down(struct phylink_config *config, in ar9331_sw_phylink_mac_link_down()
560 static void ar9331_sw_phylink_mac_link_up(struct phylink_config *config, in ar9331_sw_phylink_mac_link_up()
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_type.h1076 struct phylink_config phylink_config; member
1191 static inline struct wx *phylink_to_wx(struct phylink_config *config) in phylink_to_wx()
1193 return container_of(config, struct wx, phylink_config); in phylink_to_wx()

12