Home
last modified time | relevance | path

Searched refs:phylink_config (Results 1 – 25 of 35) 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.h180 struct phylink_config phylink_config; member
/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/lan966x/
H A Dlan966x_main.c832 port->phylink_config.dev = &port->dev->dev; in lan966x_probe_port()
833 port->phylink_config.type = PHYLINK_NETDEV; in lan966x_probe_port()
837 port->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | in lan966x_probe_port()
840 phy_interface_set_rgmii(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()
850 port->phylink_config.supported_interfaces); in lan966x_probe_port()
852 port->phylink_config.supported_interfaces); in lan966x_probe_port()
[all …]
H A Dlan966x_main.h405 struct phylink_config phylink_config; member
/linux/drivers/net/ethernet/altera/
H A Daltera_tse_main.c1035 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/ti/
H A Dam65-cpsw-nuss.h40 struct phylink_config phylink_config; member
/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_memac.c620 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 Dfman_tgec.c434 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 Dfman_dtsec.c883 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/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/freescale/fs_enet/
H A Dfs_enet.h145 struct phylink_config phylink_config; member
/linux/drivers/net/usb/
H A Dasix_devices.c747 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/dsa/lantiq/
H A Dlantiq_gswip.h265 struct phylink_config *config);
266 struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config,
H A Dmxl-gsw1xx.c522 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 Dlantiq_gswip_common.c1293 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()
H A Dlantiq_gswip.c33 struct phylink_config *config) in gswip_xrx200_phylink_get_caps()
64 struct phylink_config *config) in gswip_xrx300_phylink_get_caps()
/linux/drivers/net/dsa/b53/
H A Db53_serdes.h116 struct phylink_config *config);
H A Db53_serdes.c166 struct phylink_config *config) in b53_serdes_phylink_get_caps()
/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet.h554 struct phylink_config phylink_config; member
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac.h295 struct phylink_config phylink_config; member
/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/freescale/
H A Ducc_geth.h1077 struct phylink_config;
1218 struct phylink_config phylink_config; member
/linux/drivers/net/dsa/
H A Dmt7530.c2803 struct phylink_config *config) in mt7530_mac_port_get_caps()
2834 struct phylink_config *config) in mt7531_mac_port_get_caps()
2872 struct phylink_config *config) in mt7988_mac_port_get_caps()
2894 struct phylink_config *config) in en7581_mac_port_get_caps()
2983 mt753x_phylink_mac_select_pcs(struct phylink_config *config, in mt753x_phylink_mac_select_pcs()
3002 mt753x_phylink_mac_config(struct phylink_config *config, unsigned int mode, in mt753x_phylink_mac_config()
3020 static void mt753x_phylink_mac_link_down(struct phylink_config *config, in mt753x_phylink_mac_link_down()
3030 static void mt753x_phylink_mac_link_up(struct phylink_config *config, in mt753x_phylink_mac_link_up()
3064 static void mt753x_phylink_mac_disable_tx_lpi(struct phylink_config *config) in mt753x_phylink_mac_disable_tx_lpi()
3073 static int mt753x_phylink_mac_enable_tx_lpi(struct phylink_config *config, in mt753x_phylink_mac_enable_tx_lpi()
[all …]
H A Dlan9303-core.c1299 struct phylink_config *config) in lan9303_phylink_get_caps()
1324 static void lan9303_phylink_mac_config(struct phylink_config *config, in lan9303_phylink_mac_config()
1330 static void lan9303_phylink_mac_link_down(struct phylink_config *config, in lan9303_phylink_mac_link_down()
1336 static void lan9303_phylink_mac_link_up(struct phylink_config *config, in lan9303_phylink_mac_link_up()

12