/linux-6.3-rc2/include/linux/ |
A D | phylink.h | 133 struct phylink_config { struct 140 void (*get_fixed_state)(struct phylink_config *config, argument 161 void (*validate)(struct phylink_config *config, argument 166 void (*mac_pcs_get_state)(struct phylink_config *config, 174 void (*mac_an_restart)(struct phylink_config *config); 177 void (*mac_link_up)(struct phylink_config *config, 231 struct phylink_pcs *mac_select_pcs(struct phylink_config *config, 250 void mac_pcs_get_state(struct phylink_config *config, 376 int mac_finish(struct phylink_config *config, unsigned int mode, 387 void mac_an_restart(struct phylink_config *config); [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-mac.c | 13 container_of((config), struct dpaa2_mac, phylink_config) 187 static void dpaa2_mac_link_up(struct phylink_config *config, in dpaa2_mac_link_up() 223 static void dpaa2_mac_link_down(struct phylink_config *config, in dpaa2_mac_link_down() 304 __set_bit(mac->if_mode, mac->phylink_config.supported_interfaces); in dpaa2_mac_set_supported_interfaces() 310 mac->phylink_config.supported_interfaces); in dpaa2_mac_set_supported_interfaces() 312 mac->phylink_config.supported_interfaces); in dpaa2_mac_set_supported_interfaces() 335 __set_bit(intf, mac->phylink_config.supported_interfaces); in dpaa2_mac_set_supported_interfaces() 414 memset(&mac->phylink_config, 0, sizeof(mac->phylink_config)); in dpaa2_mac_connect() 415 mac->phylink_config.dev = &net_dev->dev; in dpaa2_mac_connect() 416 mac->phylink_config.type = PHYLINK_NETDEV; in dpaa2_mac_connect() [all …]
|
A D | dpaa2-mac.h | 23 struct phylink_config phylink_config; member
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/fman/ |
A D | mac.h | 29 struct phylink_config phylink_config; member 58 *fman_config_to_mac(struct phylink_config *config) in fman_config_to_mac() 60 return container_of(config, struct mac_device, phylink_config); in fman_config_to_mac()
|
A D | fman_memac.c | 621 static void memac_validate(struct phylink_config *config, in memac_validate() 664 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() 699 static void memac_mac_config(struct phylink_config *config, unsigned int mode, in memac_mac_config() 713 static void memac_link_up(struct phylink_config *config, struct phy_device *phy, in memac_link_up() 765 static void memac_link_down(struct phylink_config *config, unsigned int mode, in memac_link_down() 1181 supported = mac_dev->phylink_config.supported_interfaces; in memac_initialization() 1223 mac_dev->phylink_config.mac_capabilities = capabilities; in memac_initialization() 1247 mac_dev->phylink_config.ovr_an_inband = true; in memac_initialization()
|
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() 793 mac_dev->phylink_config.supported_interfaces); in tgec_initialization() 794 mac_dev->phylink_config.mac_capabilities = in tgec_initialization()
|
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() 1452 supported = mac_dev->phylink_config.supported_interfaces; in dtsec_initialization() 1482 mac_dev->phylink_config.mac_capabilities = capabilities; in dtsec_initialization()
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/ |
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()
|
A D | lan966x_main.c | 791 port->phylink_config.dev = &port->dev->dev; in lan966x_probe_port() 792 port->phylink_config.type = PHYLINK_NETDEV; in lan966x_probe_port() 799 phy_interface_set_rgmii(port->phylink_config.supported_interfaces); in lan966x_probe_port() 801 port->phylink_config.supported_interfaces); in lan966x_probe_port() 803 port->phylink_config.supported_interfaces); in lan966x_probe_port() 805 port->phylink_config.supported_interfaces); in lan966x_probe_port() 807 port->phylink_config.supported_interfaces); in lan966x_probe_port() 809 port->phylink_config.supported_interfaces); in lan966x_probe_port() 811 port->phylink_config.supported_interfaces); in lan966x_probe_port() 813 port->phylink_config.supported_interfaces); in lan966x_probe_port() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/enetc/ |
A D | enetc_pf.h | 52 struct phylink_config phylink_config; member 56 container_of((config), struct enetc_pf, phylink_config)
|
A D | enetc_pf.c | 980 static void enetc_pl_mac_config(struct phylink_config *config, in enetc_pl_mac_config() 1017 static void enetc_pl_mac_link_up(struct phylink_config *config, in enetc_pl_mac_link_up() 1094 static void enetc_pl_mac_link_down(struct phylink_config *config, in enetc_pl_mac_link_down() 1124 pf->phylink_config.dev = &priv->ndev->dev; in enetc_phylink_create() 1125 pf->phylink_config.type = PHYLINK_NETDEV; in enetc_phylink_create() 1130 pf->phylink_config.supported_interfaces); in enetc_phylink_create() 1132 pf->phylink_config.supported_interfaces); in enetc_phylink_create() 1134 pf->phylink_config.supported_interfaces); in enetc_phylink_create() 1136 pf->phylink_config.supported_interfaces); in enetc_phylink_create() 1137 phy_interface_set_rgmii(pf->phylink_config.supported_interfaces); in enetc_phylink_create() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_phylink.c | 30 sparx5_phylink_mac_select_pcs(struct phylink_config *config, in sparx5_phylink_mac_select_pcs() 38 static void sparx5_phylink_mac_config(struct phylink_config *config, in sparx5_phylink_mac_config() 45 static void sparx5_phylink_mac_link_up(struct phylink_config *config, in sparx5_phylink_mac_link_up() 68 static void sparx5_phylink_mac_link_down(struct phylink_config *config, in sparx5_phylink_mac_link_down()
|
A D | sparx5_main.c | 298 spx5_port->phylink_config.dev = &spx5_port->ndev->dev; in sparx5_create_port() 299 spx5_port->phylink_config.type = PHYLINK_NETDEV; in sparx5_create_port() 300 spx5_port->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | in sparx5_create_port() 305 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 307 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 309 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 311 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 317 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 322 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 326 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/altera/ |
A D | altera_tse_main.c | 1039 static void alt_tse_mac_an_restart(struct phylink_config *config) in alt_tse_mac_an_restart() 1055 static void alt_tse_mac_link_down(struct phylink_config *config, in alt_tse_mac_link_down() 1060 static void alt_tse_mac_link_up(struct phylink_config *config, in alt_tse_mac_link_up() 1394 priv->phylink_config.dev = &ndev->dev; in altera_tse_probe() 1395 priv->phylink_config.type = PHYLINK_NETDEV; in altera_tse_probe() 1396 priv->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_10 | in altera_tse_probe() 1401 priv->phylink_config.supported_interfaces); in altera_tse_probe() 1403 priv->phylink_config.supported_interfaces); in altera_tse_probe() 1405 priv->phylink_config.supported_interfaces); in altera_tse_probe() 1407 priv->phylink_config.supported_interfaces); in altera_tse_probe() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/mscc/ |
A D | ocelot.h | 50 struct phylink_config phylink_config; member
|
/linux-6.3-rc2/drivers/net/ethernet/ti/ |
A D | am65-cpsw-nuss.h | 41 struct phylink_config phylink_config; member
|
/linux-6.3-rc2/Documentation/networking/ |
A D | sfp-phylink.rst | 105 struct phylink_config phylink_config; 239 priv->phylink_config.dev = &dev.dev; 240 priv->phylink_config.type = PHYLINK_NETDEV; 242 phylink = phylink_create(&priv->phylink_config, node, phy_mode, &phylink_ops); 266 it should set ``priv->phylink_config.pcs_poll = true;`` in step 9.
|
/linux-6.3-rc2/drivers/net/ethernet/atheros/ |
A D | ag71xx.c | 371 struct phylink_config phylink_config; member 1027 static void ag71xx_mac_link_down(struct phylink_config *config, in ag71xx_mac_link_down() 1035 static void ag71xx_mac_link_up(struct phylink_config *config, in ag71xx_mac_link_up() 1098 ag->phylink_config.dev = &ag->ndev->dev; in ag71xx_phylink_setup() 1099 ag->phylink_config.type = PHYLINK_NETDEV; in ag71xx_phylink_setup() 1108 ag->phylink_config.supported_interfaces); in ag71xx_phylink_setup() 1114 ag->phylink_config.supported_interfaces); in ag71xx_phylink_setup() 1118 ag->phylink_config.supported_interfaces); in ag71xx_phylink_setup() 1122 ag->phylink_config.supported_interfaces); in ag71xx_phylink_setup() 1127 ag->phylink_config.supported_interfaces); in ag71xx_phylink_setup() [all …]
|
/linux-6.3-rc2/drivers/net/usb/ |
A D | asix_devices.c | 729 static void ax88772_mac_config(struct phylink_config *config, unsigned int mode, in ax88772_mac_config() 735 static void ax88772_mac_link_down(struct phylink_config *config, in ax88772_mac_link_down() 744 static void ax88772_mac_link_up(struct phylink_config *config, in ax88772_mac_link_up() 787 priv->phylink_config.dev = &dev->net->dev; in ax88772_phylink_setup() 788 priv->phylink_config.type = PHYLINK_NETDEV; in ax88772_phylink_setup() 789 priv->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE | in ax88772_phylink_setup() 793 priv->phylink_config.supported_interfaces); in ax88772_phylink_setup() 795 priv->phylink_config.supported_interfaces); in ax88772_phylink_setup() 802 phylink = phylink_create(&priv->phylink_config, dev->net->dev.fwnode, in ax88772_phylink_setup()
|
A D | asix.h | 190 struct phylink_config phylink_config; member
|
/linux-6.3-rc2/drivers/net/dsa/microchip/ |
A D | lan937x.h | 20 struct phylink_config *config);
|
/linux-6.3-rc2/drivers/net/ethernet/xilinx/ |
A D | xilinx_axienet_main.c | 1669 static struct phylink_pcs *axienet_mac_select_pcs(struct phylink_config *config, in axienet_mac_select_pcs() 1682 static void axienet_mac_config(struct phylink_config *config, unsigned int mode, in axienet_mac_config() 1688 static void axienet_mac_link_down(struct phylink_config *config, in axienet_mac_link_down() 1695 static void axienet_mac_link_up(struct phylink_config *config, in axienet_mac_link_up() 2135 lp->phylink_config.dev = &ndev->dev; in axienet_probe() 2136 lp->phylink_config.type = PHYLINK_NETDEV; in axienet_probe() 2137 lp->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE | in axienet_probe() 2140 __set_bit(lp->phy_mode, lp->phylink_config.supported_interfaces); in axienet_probe() 2143 lp->phylink_config.supported_interfaces); in axienet_probe() 2145 lp->phylink_config.supported_interfaces); in axienet_probe() [all …]
|
A D | xilinx_axienet.h | 444 struct phylink_config phylink_config; member
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/mvpp2/ |
A D | mvpp2_main.c | 6642 mvpp2_mac_link_up(&port->phylink_config, NULL, in mvpp2_acpi_start() 6885 port->phylink_config.dev = &dev->dev; in mvpp2_port_probe() 6886 port->phylink_config.type = PHYLINK_NETDEV; in mvpp2_port_probe() 6887 port->phylink_config.mac_capabilities = in mvpp2_port_probe() 6891 port->phylink_config.mac_capabilities |= in mvpp2_port_probe() 6917 port->phylink_config.mac_capabilities |= in mvpp2_port_probe() 6920 port->phylink_config.mac_capabilities |= in mvpp2_port_probe() 6923 port->phylink_config.mac_capabilities |= in mvpp2_port_probe() 6935 port->phylink_config.supported_interfaces); in mvpp2_port_probe() 6937 port->phylink_config.supported_interfaces); in mvpp2_port_probe() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac.h | 237 struct phylink_config phylink_config; member
|