| /linux-6.15/include/linux/ |
| H A D | phylink.h | 160 struct phylink_config { struct 168 void (*get_fixed_state)(struct phylink_config *config, argument 195 unsigned long (*mac_get_caps)(struct phylink_config *config, 207 void (*mac_link_up)(struct phylink_config *config, 211 void (*mac_disable_tx_lpi)(struct phylink_config *config); 227 unsigned long mac_get_caps(struct phylink_config *config, 242 struct phylink_pcs *mac_select_pcs(struct phylink_config *config, 360 int mac_finish(struct phylink_config *config, unsigned int mode, 425 void mac_disable_tx_lpi(struct phylink_config *config); 442 int mac_enable_tx_lpi(struct phylink_config *config, u32 timer, [all …]
|
| /linux-6.15/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_phylink.c | 83 fbnic_phylink_mac_select_pcs(struct phylink_config *config, in fbnic_phylink_mac_select_pcs() 93 fbnic_phylink_mac_config(struct phylink_config *config, unsigned int mode, in fbnic_phylink_mac_config() 99 fbnic_phylink_mac_link_down(struct phylink_config *config, unsigned int mode, in fbnic_phylink_mac_link_down() 112 fbnic_phylink_mac_link_up(struct phylink_config *config, in fbnic_phylink_mac_link_up() 138 fbn->phylink_config.dev = &netdev->dev; in fbnic_phylink_init() 139 fbn->phylink_config.type = PHYLINK_NETDEV; in fbnic_phylink_init() 140 fbn->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE | in fbnic_phylink_init() 144 fbn->phylink_config.default_an_inband = true; in fbnic_phylink_init() 147 fbn->phylink_config.supported_interfaces); in fbnic_phylink_init() 149 fbn->phylink_config.supported_interfaces); in fbnic_phylink_init() [all …]
|
| H A D | fbnic_netdev.h | 42 struct phylink_config phylink_config; member
|
| /linux-6.15/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()
|
| /linux-6.15/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-mac.c | 13 container_of((config), struct dpaa2_mac, phylink_config) 193 static void dpaa2_mac_link_up(struct phylink_config *config, in dpaa2_mac_link_up() 229 static void dpaa2_mac_link_down(struct phylink_config *config, in dpaa2_mac_link_down() 307 __set_bit(mac->if_mode, mac->phylink_config.supported_interfaces); in dpaa2_mac_set_supported_interfaces() 313 mac->phylink_config.supported_interfaces); in dpaa2_mac_set_supported_interfaces() 315 mac->phylink_config.supported_interfaces); in dpaa2_mac_set_supported_interfaces() 338 __set_bit(intf, mac->phylink_config.supported_interfaces); in dpaa2_mac_set_supported_interfaces() 417 memset(&mac->phylink_config, 0, sizeof(mac->phylink_config)); in dpaa2_mac_connect() 418 mac->phylink_config.dev = &net_dev->dev; in dpaa2_mac_connect() 419 mac->phylink_config.type = PHYLINK_NETDEV; in dpaa2_mac_connect() [all …]
|
| H A D | dpaa2-mac.h | 23 struct phylink_config phylink_config; member
|
| /linux-6.15/drivers/net/ethernet/freescale/fman/ |
| H A D | mac.h | 30 struct phylink_config phylink_config; member 60 *fman_config_to_mac(struct phylink_config *config) in fman_config_to_mac() 62 return container_of(config, struct mac_device, phylink_config); in fman_config_to_mac()
|
| H A D | fman_memac.c | 620 static unsigned long memac_get_caps(struct phylink_config *config, in memac_get_caps() 662 static struct phylink_pcs *memac_select_pcs(struct phylink_config *config, in memac_select_pcs() 680 static int memac_prepare(struct phylink_config *config, unsigned int mode, in memac_prepare() 697 static void memac_mac_config(struct phylink_config *config, unsigned int mode, in memac_mac_config() 711 static void memac_link_up(struct phylink_config *config, struct phy_device *phy, in memac_link_up() 763 static void memac_link_down(struct phylink_config *config, unsigned int mode, in memac_link_down() 1167 supported = mac_dev->phylink_config.supported_interfaces; in memac_initialization() 1209 mac_dev->phylink_config.mac_capabilities = capabilities; in memac_initialization() 1231 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()
|
| /linux-6.15/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc_pf_common.c | 308 pf->phylink_config.dev = &priv->ndev->dev; in enetc_phylink_create() 309 pf->phylink_config.type = PHYLINK_NETDEV; in enetc_phylink_create() 310 pf->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | in enetc_phylink_create() 314 pf->phylink_config.supported_interfaces); in enetc_phylink_create() 316 pf->phylink_config.supported_interfaces); in enetc_phylink_create() 318 pf->phylink_config.supported_interfaces); in enetc_phylink_create() 320 pf->phylink_config.supported_interfaces); in enetc_phylink_create() 322 pf->phylink_config.supported_interfaces); in enetc_phylink_create() 323 phy_interface_set_rgmii(pf->phylink_config.supported_interfaces); in enetc_phylink_create() 325 phylink = phylink_create(&pf->phylink_config, of_fwnode_handle(node), in enetc_phylink_create()
|
| H A D | enetc_pf.h | 70 struct phylink_config phylink_config; member 77 container_of((config), struct enetc_pf, phylink_config)
|
| /linux-6.15/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_phylink.c | 11 static struct phylink_pcs *lan966x_phylink_mac_select(struct phylink_config *config, in lan966x_phylink_mac_select() 19 static void lan966x_phylink_mac_config(struct phylink_config *config, in lan966x_phylink_mac_config() 25 static int lan966x_phylink_mac_prepare(struct phylink_config *config, in lan966x_phylink_mac_prepare() 46 static void lan966x_phylink_mac_link_up(struct phylink_config *config, in lan966x_phylink_mac_link_up() 68 static void lan966x_phylink_mac_link_down(struct phylink_config *config, in lan966x_phylink_mac_link_down()
|
| H A D | lan966x_main.c | 827 port->phylink_config.dev = &port->dev->dev; in lan966x_probe_port() 828 port->phylink_config.type = PHYLINK_NETDEV; in lan966x_probe_port() 835 phy_interface_set_rgmii(port->phylink_config.supported_interfaces); in lan966x_probe_port() 837 port->phylink_config.supported_interfaces); in lan966x_probe_port() 839 port->phylink_config.supported_interfaces); in lan966x_probe_port() 841 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() [all …]
|
| /linux-6.15/drivers/net/ethernet/wangxun/ngbe/ |
| H A D | ngbe_mdio.c | 60 static void ngbe_mac_config(struct phylink_config *config, unsigned int mode, in ngbe_mac_config() 65 static void ngbe_mac_link_down(struct phylink_config *config, in ngbe_mac_link_down() 75 static void ngbe_mac_link_up(struct phylink_config *config, in ngbe_mac_link_up() 127 struct phylink_config *config; in ngbe_phylink_init() 131 config = &wx->phylink_config; in ngbe_phylink_init()
|
| /linux-6.15/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_phylink.c | 30 sparx5_phylink_mac_select_pcs(struct phylink_config *config, in sparx5_phylink_mac_select_pcs() 50 static void sparx5_phylink_mac_config(struct phylink_config *config, in sparx5_phylink_mac_config() 57 static void sparx5_phylink_mac_link_up(struct phylink_config *config, in sparx5_phylink_mac_link_up() 80 static void sparx5_phylink_mac_link_down(struct phylink_config *config, in sparx5_phylink_mac_link_down()
|
| H A D | sparx5_main.c | 356 spx5_port->phylink_config.dev = &spx5_port->ndev->dev; in sparx5_create_port() 357 spx5_port->phylink_config.type = PHYLINK_NETDEV; in sparx5_create_port() 358 spx5_port->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | in sparx5_create_port() 366 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 368 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 370 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 372 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 378 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 383 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 387 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() [all …]
|
| /linux-6.15/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-6.15/drivers/net/ethernet/wangxun/txgbe/ |
| H A D | txgbe_phy.c | 160 static struct phylink_pcs *txgbe_phylink_mac_select(struct phylink_config *config, in txgbe_phylink_mac_select() 172 static void txgbe_mac_config(struct phylink_config *config, unsigned int mode, in txgbe_mac_config() 177 static void txgbe_mac_link_down(struct phylink_config *config, in txgbe_mac_link_down() 189 static void txgbe_mac_link_up(struct phylink_config *config, in txgbe_mac_link_up() 230 static int txgbe_mac_prepare(struct phylink_config *config, unsigned int mode, in txgbe_mac_prepare() 241 static int txgbe_mac_finish(struct phylink_config *config, unsigned int mode, in txgbe_mac_finish() 264 struct phylink_config *config; in txgbe_phylink_init() 269 config = &wx->phylink_config; in txgbe_phylink_init()
|
| /linux-6.15/drivers/net/ethernet/mscc/ |
| H A D | ocelot.h | 50 struct phylink_config phylink_config; member
|
| /linux-6.15/drivers/net/ethernet/altera/ |
| H A D | altera_tse_main.c | 1051 static void alt_tse_mac_link_down(struct phylink_config *config, in alt_tse_mac_link_down() 1056 static void alt_tse_mac_link_up(struct phylink_config *config, in alt_tse_mac_link_up() 1421 priv->phylink_config.dev = &ndev->dev; in altera_tse_probe() 1422 priv->phylink_config.type = PHYLINK_NETDEV; in altera_tse_probe() 1423 priv->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_10 | in altera_tse_probe() 1426 phy_interface_set_rgmii(priv->phylink_config.supported_interfaces); in altera_tse_probe() 1428 priv->phylink_config.supported_interfaces); in altera_tse_probe() 1430 priv->phylink_config.supported_interfaces); in altera_tse_probe() 1432 priv->phylink_config.supported_interfaces); in altera_tse_probe() 1434 priv->phylink_config.supported_interfaces); in altera_tse_probe() [all …]
|
| /linux-6.15/drivers/net/ethernet/freescale/fs_enet/ |
| H A D | fs_enet-main.c | 623 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()
|
| /linux-6.15/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-6.15/drivers/net/ethernet/ti/ |
| H A D | am65-cpsw-nuss.h | 40 struct phylink_config phylink_config; member
|
| /linux-6.15/drivers/net/ethernet/atheros/ |
| H A D | ag71xx.c | 372 struct phylink_config phylink_config; member 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() 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() 1102 ag->phylink_config.supported_interfaces); in ag71xx_phylink_setup() 1107 ag->phylink_config.supported_interfaces); in ag71xx_phylink_setup() [all …]
|
| /linux-6.15/drivers/net/usb/ |
| H A D | asix_devices.c | 743 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()
|