/Linux-v6.6/include/linux/ |
D | phylink.h | 214 struct phylink_config { struct 220 void (*get_fixed_state)(struct phylink_config *config, argument 226 void phylink_limit_mac_speed(struct phylink_config *config, u32 max_speed); argument 241 void (*validate)(struct phylink_config *config, 244 struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, 246 int (*mac_prepare)(struct phylink_config *config, unsigned int mode, 248 void (*mac_config)(struct phylink_config *config, unsigned int mode, 250 int (*mac_finish)(struct phylink_config *config, unsigned int mode, 252 void (*mac_link_down)(struct phylink_config *config, unsigned int mode, 254 void (*mac_link_up)(struct phylink_config *config, [all …]
|
/Linux-v6.6/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-mac.c | 13 container_of((config), struct dpaa2_mac, phylink_config) 152 static struct phylink_pcs *dpaa2_mac_select_pcs(struct phylink_config *config, in dpaa2_mac_select_pcs() 160 static void dpaa2_mac_config(struct phylink_config *config, unsigned int mode, in dpaa2_mac_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() [all …]
|
D | dpaa2-mac.h | 23 struct phylink_config phylink_config; member
|
/Linux-v6.6/drivers/net/ethernet/freescale/fman/ |
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()
|
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() 1171 supported = mac_dev->phylink_config.supported_interfaces; in memac_initialization() 1213 mac_dev->phylink_config.mac_capabilities = capabilities; in memac_initialization() 1237 mac_dev->phylink_config.ovr_an_inband = true; in memac_initialization()
|
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()
|
/Linux-v6.6/drivers/net/ethernet/microchip/lan966x/ |
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()
|
D | lan966x_main.c | 828 port->phylink_config.dev = &port->dev->dev; in lan966x_probe_port() 829 port->phylink_config.type = PHYLINK_NETDEV; in lan966x_probe_port() 834 port->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | in lan966x_probe_port() 837 phy_interface_set_rgmii(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-v6.6/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.h | 52 struct phylink_config phylink_config; member 56 container_of((config), struct enetc_pf, phylink_config)
|
D | enetc_pf.c | 959 enetc_pl_mac_select_pcs(struct phylink_config *config, phy_interface_t iface) in enetc_pl_mac_select_pcs() 966 static void enetc_pl_mac_config(struct phylink_config *config, in enetc_pl_mac_config() 1003 static void enetc_pl_mac_link_up(struct phylink_config *config, in enetc_pl_mac_link_up() 1080 static void enetc_pl_mac_link_down(struct phylink_config *config, in enetc_pl_mac_link_down() 1110 pf->phylink_config.dev = &priv->ndev->dev; in enetc_phylink_create() 1111 pf->phylink_config.type = PHYLINK_NETDEV; in enetc_phylink_create() 1112 pf->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | in enetc_phylink_create() 1116 pf->phylink_config.supported_interfaces); in enetc_phylink_create() 1118 pf->phylink_config.supported_interfaces); in enetc_phylink_create() 1120 pf->phylink_config.supported_interfaces); in enetc_phylink_create() [all …]
|
/Linux-v6.6/drivers/net/ethernet/microchip/sparx5/ |
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()
|
D | sparx5_main.c | 300 spx5_port->phylink_config.dev = &spx5_port->ndev->dev; in sparx5_create_port() 301 spx5_port->phylink_config.type = PHYLINK_NETDEV; in sparx5_create_port() 302 spx5_port->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | 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() 313 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 319 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 324 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() 328 spx5_port->phylink_config.supported_interfaces); in sparx5_create_port() [all …]
|
/Linux-v6.6/drivers/net/ethernet/mscc/ |
D | ocelot.h | 50 struct phylink_config phylink_config; member
|
/Linux-v6.6/drivers/net/ethernet/altera/ |
D | altera_tse_main.c | 1041 static void alt_tse_mac_config(struct phylink_config *config, unsigned int mode, in alt_tse_mac_config() 1053 static void alt_tse_mac_link_down(struct phylink_config *config, in alt_tse_mac_link_down() 1058 static void alt_tse_mac_link_up(struct phylink_config *config, in alt_tse_mac_link_up() 1083 static struct phylink_pcs *alt_tse_select_pcs(struct phylink_config *config, in alt_tse_select_pcs() 1428 priv->phylink_config.dev = &ndev->dev; in altera_tse_probe() 1429 priv->phylink_config.type = PHYLINK_NETDEV; in altera_tse_probe() 1430 priv->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_10 | in altera_tse_probe() 1433 phy_interface_set_rgmii(priv->phylink_config.supported_interfaces); in altera_tse_probe() 1435 priv->phylink_config.supported_interfaces); in altera_tse_probe() 1437 priv->phylink_config.supported_interfaces); in altera_tse_probe() [all …]
|
/Linux-v6.6/drivers/net/ethernet/ti/ |
D | am65-cpsw-nuss.h | 41 struct phylink_config phylink_config; member
|
/Linux-v6.6/Documentation/networking/ |
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-v6.6/drivers/net/ethernet/wangxun/txgbe/ |
D | txgbe_phy.c | 159 static struct phylink_pcs *txgbe_phylink_mac_select(struct phylink_config *config, in txgbe_phylink_mac_select() 170 static void txgbe_mac_config(struct phylink_config *config, unsigned int mode, in txgbe_mac_config() 175 static void txgbe_mac_link_down(struct phylink_config *config, in txgbe_mac_link_down() 183 static void txgbe_mac_link_up(struct phylink_config *config, in txgbe_mac_link_up() 217 static int txgbe_mac_prepare(struct phylink_config *config, unsigned int mode, in txgbe_mac_prepare() 228 static int txgbe_mac_finish(struct phylink_config *config, unsigned int mode, in txgbe_mac_finish() 251 struct phylink_config *config; in txgbe_phylink_init()
|
/Linux-v6.6/drivers/net/ethernet/atheros/ |
D | ag71xx.c | 372 struct phylink_config phylink_config; member 1009 static void ag71xx_mac_config(struct phylink_config *config, unsigned int mode, in ag71xx_mac_config() 1028 static void ag71xx_mac_link_down(struct phylink_config *config, in ag71xx_mac_link_down() 1036 static void ag71xx_mac_link_up(struct phylink_config *config, in ag71xx_mac_link_up() 1099 ag->phylink_config.dev = &ag->ndev->dev; in ag71xx_phylink_setup() 1100 ag->phylink_config.type = PHYLINK_NETDEV; in ag71xx_phylink_setup() 1101 ag->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE | in ag71xx_phylink_setup() 1109 ag->phylink_config.supported_interfaces); in ag71xx_phylink_setup() 1115 ag->phylink_config.supported_interfaces); in ag71xx_phylink_setup() 1119 ag->phylink_config.supported_interfaces); in ag71xx_phylink_setup() [all …]
|
/Linux-v6.6/drivers/net/usb/ |
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()
|
D | asix.h | 190 struct phylink_config phylink_config; member
|
/Linux-v6.6/drivers/net/dsa/microchip/ |
D | lan937x.h | 20 struct phylink_config *config);
|
/Linux-v6.6/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet_main.c | 1671 static struct phylink_pcs *axienet_mac_select_pcs(struct phylink_config *config, in axienet_mac_select_pcs() 1684 static void axienet_mac_config(struct phylink_config *config, unsigned int mode, in axienet_mac_config() 1690 static void axienet_mac_link_down(struct phylink_config *config, in axienet_mac_link_down() 1697 static void axienet_mac_link_up(struct phylink_config *config, in axienet_mac_link_up() 2138 lp->phylink_config.dev = &ndev->dev; in axienet_probe() 2139 lp->phylink_config.type = PHYLINK_NETDEV; in axienet_probe() 2140 lp->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE | in axienet_probe() 2143 __set_bit(lp->phy_mode, lp->phylink_config.supported_interfaces); in axienet_probe() 2146 lp->phylink_config.supported_interfaces); in axienet_probe() 2148 lp->phylink_config.supported_interfaces); in axienet_probe() [all …]
|
D | xilinx_axienet.h | 444 struct phylink_config phylink_config; member
|
/Linux-v6.6/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_main.c | 6137 static struct mvpp2_port *mvpp2_phylink_to_port(struct phylink_config *config) in mvpp2_phylink_to_port() 6139 return container_of(config, struct mvpp2_port, phylink_config); in mvpp2_phylink_to_port() 6393 static struct phylink_pcs *mvpp2_select_pcs(struct phylink_config *config, in mvpp2_select_pcs() 6408 static int mvpp2_mac_prepare(struct phylink_config *config, unsigned int mode, in mvpp2_mac_prepare() 6461 static void mvpp2_mac_config(struct phylink_config *config, unsigned int mode, in mvpp2_mac_config() 6478 static int mvpp2_mac_finish(struct phylink_config *config, unsigned int mode, in mvpp2_mac_finish() 6520 static void mvpp2_mac_link_up(struct phylink_config *config, in mvpp2_mac_link_up() 6603 static void mvpp2_mac_link_down(struct phylink_config *config, in mvpp2_mac_link_down() 6651 pcs = mvpp2_select_pcs(&port->phylink_config, port->phy_interface); in mvpp2_acpi_start() 6653 mvpp2_mac_prepare(&port->phylink_config, MLO_AN_INBAND, in mvpp2_acpi_start() [all …]
|
/Linux-v6.6/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 510 static struct phylink_pcs *mtk_mac_select_pcs(struct phylink_config *config, in mtk_mac_select_pcs() 514 phylink_config); in mtk_mac_select_pcs() 529 static void mtk_mac_config(struct phylink_config *config, unsigned int mode, in mtk_mac_config() 533 phylink_config); in mtk_mac_config() 661 static int mtk_mac_finish(struct phylink_config *config, unsigned int mode, in mtk_mac_finish() 665 phylink_config); in mtk_mac_finish() 689 static void mtk_mac_link_down(struct phylink_config *config, unsigned int mode, in mtk_mac_link_down() 693 phylink_config); in mtk_mac_link_down() 769 static void mtk_mac_link_up(struct phylink_config *config, in mtk_mac_link_up() 775 phylink_config); in mtk_mac_link_up() [all …]
|