Searched refs:phylink (Results 1 - 25 of 92) sorted by relevance

1234

/linux-master/include/linux/
H A Dpcs-rzn1-miic.h11 struct phylink;
H A Dphylink.h12 struct phylink;
228 * phylink will call this method at the beginning of a full initialisation
329 * phylink will call this if it called mac_prepare() to allow the MAC to
392 * @phylink: pointer to &struct phylink_config
397 * and will be passed between phylink and the PCS.
399 * The @phylink member is private to phylink and must not be touched by
404 struct phylink *phylink; member in struct:phylink_pcs
547 struct phylink *phylink_creat
[all...]
H A Dpcs-lynx.h10 #include <linux/phylink.h>
/linux-master/include/linux/pcs/
H A Dpcs-mtk-lynxi.h5 #include <linux/phylink.h>
H A Dpcs-xpcs.h11 #include <linux/phylink.h>
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-mac.h9 #include <linux/phylink.h>
24 struct phylink *phylink; member in struct:dpaa2_mac
H A Ddpaa2-mac.c349 phylink_start(mac->phylink);
356 phylink_stop(mac->phylink);
367 struct phylink *phylink; local
427 phylink = phylink_create(&mac->phylink_config,
430 if (IS_ERR(phylink)) {
431 err = PTR_ERR(phylink);
434 mac->phylink = phylink;
437 err = phylink_fwnode_phy_connect(mac->phylink, dpmac_nod
[all...]
/linux-master/drivers/net/ethernet/freescale/fman/
H A Dmac.h12 #include <linux/phylink.h>
28 struct phylink *phylink; member in struct:mac_device
/linux-master/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_mdio.c118 struct phylink *phylink; local
130 phylink = phylink_create(config, NULL, phy_mode, &ngbe_mac_ops);
131 if (IS_ERR(phylink))
132 return PTR_ERR(phylink);
134 wx->phylink = phylink;
178 wx_err(wx, "failed to init phylink: %d\n", ret);
H A Dngbe_main.c318 phylink_stop(wx->phylink);
341 phylink_start(wx->phylink);
370 err = phylink_connect_phy(wx->phylink, wx->phydev);
386 phylink_disconnect_phy(wx->phylink);
412 phylink_disconnect_phy(wx->phylink);
696 phylink_destroy(wx->phylink);
726 phylink_destroy(wx->phylink);
/linux-master/drivers/net/phy/
H A Dphylink.c3 * phylink models the MAC to optional PHY connection, supporting
17 #include <linux/phylink.h>
44 * struct phylink - internal data type for phylink
46 struct phylink { struct
650 static int phylink_validate_mac_and_pcs(struct phylink *pl,
705 static void phylink_validate_one(struct phylink *pl, struct phy_device *phy,
735 static int phylink_validate_mask(struct phylink *pl, struct phy_device *phy,
754 static int phylink_validate(struct phylink *pl, unsigned long *supported,
769 static int phylink_parse_fixedlink(struct phylink *p
[all...]
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_netdev.c104 err = phylink_of_phy_connect(port->phylink, port->of_node, 0);
110 phylink_start(port->phylink);
128 phylink_stop(port->phylink);
129 phylink_disconnect_phy(port->phylink);
142 phylink_stop(port->phylink);
143 phylink_disconnect_phy(port->phylink);
314 if (port && port->phylink) {
318 phylink_disconnect_phy(port->phylink);
320 phylink_destroy(port->phylink);
321 port->phylink
[all...]
/linux-master/drivers/net/ethernet/mscc/
H A Docelot.h15 #include <linux/phylink.h>
49 struct phylink *phylink; member in struct:ocelot_port_private
/linux-master/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf.h5 #include <linux/phylink.h>
/linux-master/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.h13 #include <linux/phylink.h>
40 struct phylink *phylink; member in struct:am65_cpsw_slave_data
H A Dam65-cpsw-ethtool.c9 #include <linux/phylink.h>
473 phylink_ethtool_get_pauseparam(salve->phylink, pause);
481 return phylink_ethtool_set_pauseparam(salve->phylink, pause);
489 phylink_ethtool_get_wol(salve->phylink, wol);
497 return phylink_ethtool_set_wol(salve->phylink, wol);
505 return phylink_ethtool_ksettings_get(salve->phylink, ecmd);
514 return phylink_ethtool_ksettings_set(salve->phylink, ecmd);
521 return phylink_ethtool_get_eee(salve->phylink, edata);
528 return phylink_ethtool_set_eee(salve->phylink, edata);
535 return phylink_ethtool_nway_reset(salve->phylink);
[all...]
/linux-master/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_phy.c14 #include <linux/phylink.h>
257 struct phylink *phylink; local
276 phylink = phylink_create(config, fwnode, phy_mode, &txgbe_mac_ops);
277 if (IS_ERR(phylink))
278 return PTR_ERR(phylink);
283 ret = phylink_connect_phy(phylink, wx->phydev);
285 phylink_destroy(phylink);
290 wx->phylink = phylink;
[all...]
/linux-master/drivers/net/usb/
H A Dasix_devices.c312 phylink_ethtool_get_pauseparam(priv->phylink, pause);
321 return phylink_ethtool_set_pauseparam(priv->phylink, pause);
366 phylink_start(priv->phylink);
615 phylink_suspend(priv->phylink, false);
650 phylink_resume(priv->phylink);
710 ret = phylink_connect_phy(priv->phylink, priv->phydev);
731 phylink_disconnect_phy(priv->phylink);
799 struct phylink *phylink; local
816 phylink
[all...]
H A Dasix.h30 #include <linux/phylink.h>
189 struct phylink *phylink; member in struct:asix_common_private
/linux-master/drivers/net/ethernet/atheros/
H A Dag71xx.c36 #include <linux/phylink.h>
371 struct phylink *phylink; member in struct:ag71xx
465 return phylink_ethtool_ksettings_get(ag->phylink, kset);
473 return phylink_ethtool_ksettings_set(ag->phylink, kset);
480 return phylink_ethtool_nway_reset(ag->phylink);
488 phylink_ethtool_get_pauseparam(ag->phylink, pause);
496 return phylink_ethtool_set_pauseparam(ag->phylink, pause);
1097 struct phylink *phylink; local
[all...]
/linux-master/drivers/net/ethernet/wangxun/libwx/
H A Dwx_ethtool.c194 return phylink_ethtool_nway_reset(wx->phylink);
203 return phylink_ethtool_ksettings_get(wx->phylink, cmd);
212 return phylink_ethtool_ksettings_set(wx->phylink, cmd);
221 phylink_ethtool_get_pauseparam(wx->phylink, pause);
230 return phylink_ethtool_set_pauseparam(wx->phylink, pause);
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_main.c186 err = phylink_fwnode_phy_connect(port->phylink, port->fwnode, 0);
192 phylink_start(port->phylink);
202 phylink_stop(port->phylink);
203 phylink_disconnect_phy(port->phylink);
756 if (port->phylink) {
760 phylink_destroy(port->phylink);
761 port->phylink = NULL;
791 struct phylink *phylink; local
852 phylink
[all...]
/linux-master/drivers/net/ethernet/
H A Djme.c388 u32 phylink, bmsr; local
390 phylink = jme_mdio_read(jme->dev, jme->mii_if.phy_id, 17);
393 phylink |= PHY_LINK_AUTONEG_COMPLETE;
395 return phylink;
414 u32 phylink, cnt = JME_SPDRSV_TIMEOUT, bmcr; local
421 phylink = jme_linkstat_from_phy(jme);
423 phylink = jread32(jme, JME_PHY_LINK);
425 if (phylink & PHY_LINK_UP) {
426 if (!(phylink & PHY_LINK_AUTONEG_COMPLETE)) {
431 phylink
1171 u32 phylink; local
1880 u32 phylink, to = JME_WAIT_LINK_TIME; local
[all...]
/linux-master/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet.h16 #include <linux/phylink.h>
403 * @phylink: Pointer to phylink instance
404 * @phylink_config: phylink configuration settings
406 * @pcs: phylink pcs structure for PCS PHY
469 struct phylink *phylink; member in struct:axienet_local
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac.h18 #include <linux/phylink.h>
259 struct phylink *phylink; member in struct:stmmac_priv

Completed in 401 milliseconds

1234