Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/include/linux/
A Dphylink.h133 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 Ddpaa2-mac.c13 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 Ddpaa2-mac.h23 struct phylink_config phylink_config; member
/linux-6.3-rc2/drivers/net/ethernet/freescale/fman/
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()
A Dfman_memac.c621 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 Dfman_tgec.c434 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 Dfman_dtsec.c883 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 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()
A Dlan966x_main.c791 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 Denetc_pf.h52 struct phylink_config phylink_config; member
56 container_of((config), struct enetc_pf, phylink_config)
A Denetc_pf.c980 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 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()
A Dsparx5_main.c298 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 Daltera_tse_main.c1039 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 Docelot.h50 struct phylink_config phylink_config; member
/linux-6.3-rc2/drivers/net/ethernet/ti/
A Dam65-cpsw-nuss.h41 struct phylink_config phylink_config; member
/linux-6.3-rc2/Documentation/networking/
A Dsfp-phylink.rst105 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 Dag71xx.c371 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 Dasix_devices.c729 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 Dasix.h190 struct phylink_config phylink_config; member
/linux-6.3-rc2/drivers/net/dsa/microchip/
A Dlan937x.h20 struct phylink_config *config);
/linux-6.3-rc2/drivers/net/ethernet/xilinx/
A Dxilinx_axienet_main.c1669 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 Dxilinx_axienet.h444 struct phylink_config phylink_config; member
/linux-6.3-rc2/drivers/net/ethernet/marvell/mvpp2/
A Dmvpp2_main.c6642 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 Dstmmac.h237 struct phylink_config phylink_config; member

Completed in 57 milliseconds

123