Home
last modified time | relevance | path

Searched refs:phylink_config (Results 1 – 25 of 85) sorted by relevance

1234

/linux/include/linux/
H A Dphylink.h152 struct phylink_config { struct
159 void (*get_fixed_state)(struct phylink_config *config, argument
180 unsigned long (*mac_get_caps)(struct phylink_config *config,
188 int (*mac_finish)(struct phylink_config *config, unsigned int mode,
192 void (*mac_link_up)(struct phylink_config *config,
209 unsigned long mac_get_caps(struct phylink_config *config,
224 struct phylink_pcs *mac_select_pcs(struct phylink_config *config,
249 int mac_prepare(struct phylink_config *config, unsigned int mode,
325 void mac_config(struct phylink_config *config, unsigned int mode,
342 int mac_finish(struct phylink_config *config, unsigned int mode,
[all …]
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_phylink.c83 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 …]
H A Dfbnic_netdev.h29 struct phylink_config phylink_config; member
/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.h148 struct phylink_config phylink_config; member
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-mac.c13 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 Ddpaa2-mac.h23 struct phylink_config phylink_config; member
/linux/drivers/net/ethernet/freescale/fman/
H A Dmac.h29 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()
H A Dfman_memac.c620 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/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_phylink.c11 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 Dlan966x_main.c827 port->phylink_config.dev = &port->dev->dev; in lan966x_probe_port()
828 port->phylink_config.type = PHYLINK_NETDEV; 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()
850 port->phylink_config.supported_interfaces); in lan966x_probe_port()
[all …]
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf.h52 struct phylink_config phylink_config; member
56 container_of((config), struct enetc_pf, phylink_config)
H A Denetc_pf.c967 static void enetc_pl_mac_config(struct phylink_config *config, in enetc_pl_mac_config()
1004 static void enetc_pl_mac_link_up(struct phylink_config *config, in enetc_pl_mac_link_up()
1081 static void enetc_pl_mac_link_down(struct phylink_config *config, in enetc_pl_mac_link_down()
1111 pf->phylink_config.dev = &priv->ndev->dev; in enetc_phylink_create()
1112 pf->phylink_config.type = PHYLINK_NETDEV; in enetc_phylink_create()
1117 pf->phylink_config.supported_interfaces); in enetc_phylink_create()
1119 pf->phylink_config.supported_interfaces); in enetc_phylink_create()
1121 pf->phylink_config.supported_interfaces); in enetc_phylink_create()
1123 pf->phylink_config.supported_interfaces); in enetc_phylink_create()
1125 pf->phylink_config.supported_interfaces); in enetc_phylink_create()
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_phylink.c30 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()
H A Dsparx5_main.c300 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/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/mscc/
H A Docelot.h50 struct phylink_config phylink_config; member
/linux/drivers/net/ethernet/altera/
H A Daltera_tse_main.c1051 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/drivers/net/ethernet/freescale/fs_enet/
H A Dfs_enet-main.c623 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/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_phy.c159 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/drivers/net/dsa/microchip/
H A Dksz8.h50 struct phylink_config *config);
60 void ksz8_phylink_mac_link_up(struct phylink_config *config,
/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.h40 struct phylink_config phylink_config; member
/linux/drivers/net/ethernet/atheros/
H A Dag71xx.c372 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/drivers/net/usb/
H A Dasix_devices.c743 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()
H A Dasix.h190 struct phylink_config phylink_config; member

1234