/linux-6.12.1/include/linux/ |
D | phylink.h | 152 struct phylink_config { struct 159 void (*get_fixed_state)(struct phylink_config *config, argument 165 void phylink_limit_mac_speed(struct phylink_config *config, u32 max_speed); argument 180 unsigned long (*mac_get_caps)(struct phylink_config *config, 182 struct phylink_pcs *(*mac_select_pcs)(struct phylink_config *config, 184 int (*mac_prepare)(struct phylink_config *config, unsigned int mode, 186 void (*mac_config)(struct phylink_config *config, unsigned int mode, 188 int (*mac_finish)(struct phylink_config *config, unsigned int mode, 190 void (*mac_link_down)(struct phylink_config *config, unsigned int mode, 192 void (*mac_link_up)(struct phylink_config *config, [all …]
|
/linux-6.12.1/drivers/net/ethernet/meta/fbnic/ |
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() 139 fbn->phylink_config.dev = &netdev->dev; in fbnic_phylink_init() 140 fbn->phylink_config.type = PHYLINK_NETDEV; in fbnic_phylink_init() 141 fbn->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE | in fbnic_phylink_init() 145 fbn->phylink_config.default_an_inband = true; in fbnic_phylink_init() 148 fbn->phylink_config.supported_interfaces); in fbnic_phylink_init() 150 fbn->phylink_config.supported_interfaces); in fbnic_phylink_init() [all …]
|
D | fbnic_netdev.h | 29 struct phylink_config phylink_config; member
|
/linux-6.12.1/drivers/net/ethernet/tehuti/ |
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()
|
D | tn40.h | 148 struct phylink_config phylink_config; member
|
/linux-6.12.1/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-6.12.1/drivers/net/ethernet/freescale/fman/ |
D | mac.h | 30 struct phylink_config phylink_config; member 62 *fman_config_to_mac(struct phylink_config *config) in fman_config_to_mac() 64 return container_of(config, struct mac_device, phylink_config); in fman_config_to_mac()
|
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() 1168 supported = mac_dev->phylink_config.supported_interfaces; in memac_initialization() 1210 mac_dev->phylink_config.mac_capabilities = capabilities; in memac_initialization() 1232 mac_dev->phylink_config.default_an_inband = true; in memac_initialization()
|
/linux-6.12.1/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 | 827 port->phylink_config.dev = &port->dev->dev; in lan966x_probe_port() 828 port->phylink_config.type = PHYLINK_NETDEV; in lan966x_probe_port() 833 port->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | in lan966x_probe_port() 836 phy_interface_set_rgmii(port->phylink_config.supported_interfaces); in lan966x_probe_port() 838 port->phylink_config.supported_interfaces); in lan966x_probe_port() 840 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() [all …]
|
/linux-6.12.1/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 | 951 enetc_pl_mac_select_pcs(struct phylink_config *config, phy_interface_t iface) in enetc_pl_mac_select_pcs() 958 static void enetc_pl_mac_config(struct phylink_config *config, in enetc_pl_mac_config() 995 static void enetc_pl_mac_link_up(struct phylink_config *config, in enetc_pl_mac_link_up() 1072 static void enetc_pl_mac_link_down(struct phylink_config *config, in enetc_pl_mac_link_down() 1102 pf->phylink_config.dev = &priv->ndev->dev; in enetc_phylink_create() 1103 pf->phylink_config.type = PHYLINK_NETDEV; in enetc_phylink_create() 1104 pf->phylink_config.mac_capabilities = MAC_ASYM_PAUSE | MAC_SYM_PAUSE | in enetc_phylink_create() 1108 pf->phylink_config.supported_interfaces); in enetc_phylink_create() 1110 pf->phylink_config.supported_interfaces); in enetc_phylink_create() 1112 pf->phylink_config.supported_interfaces); in enetc_phylink_create() [all …]
|
/linux-6.12.1/drivers/net/ethernet/wangxun/ngbe/ |
D | ngbe_mdio.c | 59 static void ngbe_mac_config(struct phylink_config *config, unsigned int mode, in ngbe_mac_config() 64 static void ngbe_mac_link_down(struct phylink_config *config, in ngbe_mac_link_down() 69 static void ngbe_mac_link_up(struct phylink_config *config, in ngbe_mac_link_up() 116 struct phylink_config *config; in ngbe_phylink_init() 120 config = &wx->phylink_config; in ngbe_phylink_init()
|
/linux-6.12.1/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-6.12.1/Documentation/networking/ |
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.12.1/drivers/net/ethernet/mscc/ |
D | ocelot.h | 50 struct phylink_config phylink_config; member
|
/linux-6.12.1/drivers/net/ethernet/altera/ |
D | altera_tse_main.c | 1039 static void alt_tse_mac_config(struct phylink_config *config, unsigned int mode, in alt_tse_mac_config() 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() 1081 static struct phylink_pcs *alt_tse_select_pcs(struct phylink_config *config, in alt_tse_select_pcs() 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() [all …]
|
/linux-6.12.1/drivers/net/ethernet/freescale/fs_enet/ |
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.12.1/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() 171 static void txgbe_mac_config(struct phylink_config *config, unsigned int mode, in txgbe_mac_config() 176 static void txgbe_mac_link_down(struct phylink_config *config, in txgbe_mac_link_down() 184 static void txgbe_mac_link_up(struct phylink_config *config, in txgbe_mac_link_up() 220 static int txgbe_mac_prepare(struct phylink_config *config, unsigned int mode, in txgbe_mac_prepare() 231 static int txgbe_mac_finish(struct phylink_config *config, unsigned int mode, in txgbe_mac_finish() 254 struct phylink_config *config; in txgbe_phylink_init() 259 config = &wx->phylink_config; in txgbe_phylink_init()
|
/linux-6.12.1/drivers/net/dsa/microchip/ |
D | ksz8.h | 50 struct phylink_config *config); 60 void ksz8_phylink_mac_link_up(struct phylink_config *config,
|
/linux-6.12.1/drivers/net/ethernet/atheros/ |
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-6.12.1/drivers/net/ethernet/ti/ |
D | am65-cpsw-nuss.h | 40 struct phylink_config phylink_config; member
|
/linux-6.12.1/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()
|