| /linux/drivers/net/ethernet/tehuti/ |
| H A D | tn40_phy.c | 10 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 D | tn40.h | 180 struct phylink_config phylink_config; member
|
| /linux/drivers/net/ethernet/wangxun/txgbe/ |
| H A D | txgbe_aml.c | 261 wx->phylink_config.supported_interfaces, in txgbe_sfp_to_linkmodes() 326 wx->phylink_config.supported_interfaces, in txgbe_qsfp_to_linkmodes() 385 static void txgbe_get_link_state(struct phylink_config *config, in txgbe_get_link_state() 416 static void txgbe_mac_link_up_aml(struct phylink_config *config, in txgbe_mac_link_up_aml() 459 static void txgbe_mac_link_down_aml(struct phylink_config *config, in txgbe_mac_link_down_aml() 475 static void txgbe_mac_config_aml(struct phylink_config *config, unsigned int mode, in txgbe_mac_config_aml() 489 struct phylink_config *config; in txgbe_phylink_init_aml() 495 config = &wx->phylink_config; in txgbe_phylink_init_aml()
|
| /linux/Documentation/networking/ |
| H A D | sfp-phylink.rst | 105 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/lan966x/ |
| H A D | lan966x_main.c | 833 port->phylink_config.dev = &port->dev->dev; in lan966x_probe_port() 834 port->phylink_config.type = PHYLINK_NETDEV; in lan966x_probe_port() 838 port->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | in lan966x_probe_port() 841 phy_interface_set_rgmii(port->phylink_config.supported_interfaces); in lan966x_probe_port() 843 port->phylink_config.supported_interfaces); in lan966x_probe_port() 845 port->phylink_config.supported_interfaces); in lan966x_probe_port() 847 port->phylink_config.supported_interfaces); in lan966x_probe_port() 849 port->phylink_config.supported_interfaces); in lan966x_probe_port() 851 port->phylink_config.supported_interfaces); in lan966x_probe_port() 853 port->phylink_config.supported_interfaces); in lan966x_probe_port() [all …]
|
| /linux/drivers/net/ethernet/altera/ |
| H A D | altera_tse_main.c | 1035 static void alt_tse_mac_config(struct phylink_config *config, unsigned int mode, in alt_tse_mac_config() 1047 static void alt_tse_mac_link_down(struct phylink_config *config, in alt_tse_mac_link_down() 1052 static void alt_tse_mac_link_up(struct phylink_config *config, in alt_tse_mac_link_up() 1077 static struct phylink_pcs *alt_tse_select_pcs(struct phylink_config *config, in alt_tse_select_pcs() 1401 priv->phylink_config.dev = &ndev->dev; in altera_tse_probe() 1402 priv->phylink_config.type = PHYLINK_NETDEV; in altera_tse_probe() 1403 priv->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_10 | in altera_tse_probe() 1406 phy_interface_set_rgmii(priv->phylink_config.supported_interfaces); in altera_tse_probe() 1408 priv->phylink_config.supported_interfaces); in altera_tse_probe() 1410 priv->phylink_config.supported_interfaces); in altera_tse_probe() [all …]
|
| /linux/drivers/net/ethernet/mscc/ |
| H A D | ocelot.h | 50 struct phylink_config phylink_config; member
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz8.h | 50 struct phylink_config *config); 60 void ksz8_phylink_mac_link_up(struct phylink_config *config,
|
| /linux/drivers/net/ethernet/atheros/ |
| H A D | ag71xx.c | 372 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/freescale/fman/ |
| H A D | fman_memac.c | 620 static unsigned long memac_get_caps(struct phylink_config *config, in memac_get_caps() 663 static struct phylink_pcs *memac_select_pcs(struct phylink_config *config, in memac_select_pcs() 682 static int memac_prepare(struct phylink_config *config, unsigned int mode, in memac_prepare() 700 static void memac_mac_config(struct phylink_config *config, unsigned int mode, in memac_mac_config() 714 static void memac_link_up(struct phylink_config *config, struct phy_device *phy, in memac_link_up() 766 static void memac_link_down(struct phylink_config *config, unsigned int mode, in memac_link_down() 1257 supported = mac_dev->phylink_config.supported_interfaces; in memac_initialization() 1299 mac_dev->phylink_config.mac_capabilities = capabilities; in memac_initialization() 1322 mac_dev->phylink_config.default_an_inband = true; in memac_initialization()
|
| H A D | fman_tgec.c | 434 static void tgec_mac_config(struct phylink_config *config, unsigned int mode, in tgec_mac_config() 439 static void tgec_link_up(struct phylink_config *config, struct phy_device *phy, in tgec_link_up() 459 static void tgec_link_down(struct phylink_config *config, unsigned int mode, in tgec_link_down() 792 mac_dev->phylink_config.supported_interfaces); in tgec_initialization() 793 mac_dev->phylink_config.mac_capabilities = in tgec_initialization()
|
| H A D | fman_dtsec.c | 883 static struct phylink_pcs *dtsec_select_pcs(struct phylink_config *config, in dtsec_select_pcs() 898 static void dtsec_mac_config(struct phylink_config *config, unsigned int mode, in dtsec_mac_config() 929 static void dtsec_link_up(struct phylink_config *config, struct phy_device *phy, in dtsec_link_up() 973 static void dtsec_link_down(struct phylink_config *config, unsigned int mode, in dtsec_link_down() 1451 supported = mac_dev->phylink_config.supported_interfaces; in dtsec_initialization() 1481 mac_dev->phylink_config.mac_capabilities = capabilities; in dtsec_initialization()
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | am65-cpsw-nuss.h | 40 struct phylink_config phylink_config; member
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 517 static struct phylink_pcs *mtk_mac_select_pcs(struct phylink_config *config, in mtk_mac_select_pcs() 521 phylink_config); in mtk_mac_select_pcs() 536 static int mtk_mac_prepare(struct phylink_config *config, unsigned int mode, in mtk_mac_prepare() 540 phylink_config); in mtk_mac_prepare() 556 static void mtk_mac_config(struct phylink_config *config, unsigned int mode, in mtk_mac_config() 560 phylink_config); in mtk_mac_config() 692 static int mtk_mac_finish(struct phylink_config *config, unsigned int mode, in mtk_mac_finish() 696 phylink_config); in mtk_mac_finish() 719 static void mtk_mac_link_down(struct phylink_config *config, unsigned int mode, in mtk_mac_link_down() 723 phylink_config); in mtk_mac_link_down() [all …]
|
| /linux/drivers/net/usb/ |
| H A D | asix_devices.c | 747 static void ax88772_mac_config(struct phylink_config *config, unsigned int mode, in ax88772_mac_config() 753 static void ax88772_mac_link_down(struct phylink_config *config, in ax88772_mac_link_down() 762 static void ax88772_mac_link_up(struct phylink_config *config, in ax88772_mac_link_up() 805 priv->phylink_config.dev = &dev->net->dev; in ax88772_phylink_setup() 806 priv->phylink_config.type = PHYLINK_NETDEV; in ax88772_phylink_setup() 807 priv->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE | in ax88772_phylink_setup() 811 priv->phylink_config.supported_interfaces); in ax88772_phylink_setup() 813 priv->phylink_config.supported_interfaces); in ax88772_phylink_setup() 820 phylink = phylink_create(&priv->phylink_config, dev->net->dev.fwnode, in ax88772_phylink_setup()
|
| /linux/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2_main.c | 6215 static struct mvpp2_port *mvpp2_phylink_to_port(struct phylink_config *config) in mvpp2_phylink_to_port() 6217 return container_of(config, struct mvpp2_port, phylink_config); in mvpp2_phylink_to_port() 6487 static struct phylink_pcs *mvpp2_select_pcs(struct phylink_config *config, in mvpp2_select_pcs() 6502 static int mvpp2_mac_prepare(struct phylink_config *config, unsigned int mode, in mvpp2_mac_prepare() 6555 static void mvpp2_mac_config(struct phylink_config *config, unsigned int mode, in mvpp2_mac_config() 6572 static int mvpp2_mac_finish(struct phylink_config *config, unsigned int mode, in mvpp2_mac_finish() 6614 static void mvpp2_mac_link_up(struct phylink_config *config, in mvpp2_mac_link_up() 6697 static void mvpp2_mac_link_down(struct phylink_config *config, in mvpp2_mac_link_down() 6724 static void mvpp2_mac_disable_tx_lpi(struct phylink_config *config) in mvpp2_mac_disable_tx_lpi() 6732 static int mvpp2_mac_enable_tx_lpi(struct phylink_config *config, u32 timer, in mvpp2_mac_enable_tx_lpi() [all …]
|
| /linux/drivers/net/ethernet/microchip/ |
| H A D | lan743x_main.c | 2986 static void lan743x_phylink_mac_config(struct phylink_config *config, in lan743x_phylink_mac_config() 3030 static void lan743x_phylink_mac_link_down(struct phylink_config *config, in lan743x_phylink_mac_link_down() 3039 static void lan743x_phylink_mac_link_up(struct phylink_config *config, in lan743x_phylink_mac_link_up() 3086 static void lan743x_mac_disable_tx_lpi(struct phylink_config *config) in lan743x_mac_disable_tx_lpi() 3094 static int lan743x_mac_enable_tx_lpi(struct phylink_config *config, u32 timer, in lan743x_mac_enable_tx_lpi() 3124 adapter->phylink_config.dev = &netdev->dev; in lan743x_phylink_create() 3125 adapter->phylink_config.type = PHYLINK_NETDEV; in lan743x_phylink_create() 3126 adapter->phylink_config.mac_managed_pm = false; in lan743x_phylink_create() 3128 adapter->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | in lan743x_phylink_create() 3130 adapter->phylink_config.lpi_capabilities = MAC_100FD | MAC_1000FD; in lan743x_phylink_create() [all …]
|
| /linux/drivers/net/ethernet/freescale/fs_enet/ |
| H A D | fs_enet.h | 145 struct phylink_config phylink_config; member
|
| /linux/drivers/net/dsa/lantiq/ |
| H A D | lantiq_gswip.h | 265 struct phylink_config *config); 266 struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config,
|
| H A D | mxl-gsw1xx.c | 522 static void gsw1xx_phylink_get_lpi_caps(struct phylink_config *config) in gsw1xx_phylink_get_lpi_caps() 531 struct phylink_config *config) in gsw1xx_phylink_get_caps() 567 struct phylink_config *config) in gsw150_phylink_get_caps() 591 static struct phylink_pcs *gsw1xx_phylink_mac_select_pcs(struct phylink_config *config, in gsw1xx_phylink_mac_select_pcs()
|
| H A D | lantiq_gswip_common.c | 1293 struct phylink_config *config) in gswip_phylink_get_caps() 1405 static void gswip_phylink_mac_config(struct phylink_config *config, in gswip_phylink_mac_config() 1456 static void gswip_phylink_mac_link_down(struct phylink_config *config, in gswip_phylink_mac_link_down() 1470 static void gswip_phylink_mac_link_up(struct phylink_config *config, in gswip_phylink_mac_link_up() 1568 static void gswip_phylink_mac_disable_tx_lpi(struct phylink_config *config) in gswip_phylink_mac_disable_tx_lpi() 1577 static int gswip_phylink_mac_enable_tx_lpi(struct phylink_config *config, in gswip_phylink_mac_enable_tx_lpi() 1602 static struct phylink_pcs *gswip_phylink_mac_select_pcs(struct phylink_config *config, in gswip_phylink_mac_select_pcs()
|
| /linux/drivers/net/ethernet/cadence/ |
| H A D | macb_main.c | 698 static void macb_mac_disable_tx_lpi(struct phylink_config *config) in macb_mac_disable_tx_lpi() 712 static int macb_mac_enable_tx_lpi(struct phylink_config *config, u32 timer, in macb_mac_enable_tx_lpi() 732 static void macb_mac_config(struct phylink_config *config, unsigned int mode, in macb_mac_config() 774 static void macb_mac_link_down(struct phylink_config *config, unsigned int mode, in macb_mac_link_down() 886 static void macb_mac_link_up(struct phylink_config *config, in macb_mac_link_up() 952 static struct phylink_pcs *macb_mac_select_pcs(struct phylink_config *config, in macb_mac_select_pcs() 1013 static void macb_get_pcs_fixed_state(struct phylink_config *config, in macb_get_pcs_fixed_state() 1030 bp->phylink_config.dev = &dev->dev; in macb_mii_probe() 1031 bp->phylink_config.type = PHYLINK_NETDEV; in macb_mii_probe() 1032 bp->phylink_config.mac_managed_pm = true; in macb_mii_probe() [all …]
|
| /linux/drivers/net/ethernet/xilinx/ |
| H A D | xilinx_axienet.h | 554 struct phylink_config phylink_config; member
|
| H A D | xilinx_axienet_main.c | 2596 static struct phylink_pcs *axienet_mac_select_pcs(struct phylink_config *config, in axienet_mac_select_pcs() 2609 static void axienet_mac_config(struct phylink_config *config, unsigned int mode, in axienet_mac_config() 2615 static void axienet_mac_link_down(struct phylink_config *config, in axienet_mac_link_down() 2622 static void axienet_mac_link_up(struct phylink_config *config, in axienet_mac_link_up() 3083 lp->phylink_config.dev = &ndev->dev; in axienet_probe() 3084 lp->phylink_config.type = PHYLINK_NETDEV; in axienet_probe() 3085 lp->phylink_config.mac_managed_pm = true; in axienet_probe() 3086 lp->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE | in axienet_probe() 3089 __set_bit(lp->phy_mode, lp->phylink_config.supported_interfaces); in axienet_probe() 3092 lp->phylink_config.supported_interfaces); in axienet_probe() [all …]
|
| /linux/drivers/net/dsa/b53/ |
| H A D | b53_serdes.h | 116 struct phylink_config *config);
|