Home
last modified time | relevance | path

Searched refs:attached_dev (Results 1 – 23 of 23) sorted by relevance

/linux-6.6.21/net/ethtool/
Dcabletest.c35 err = ethnl_fill_reply_header(skb, phydev->attached_dev, in ethnl_cable_test_started()
47 return ethnl_multicast(skb, phydev->attached_dev); in ethnl_cable_test_started()
120 err = ethnl_fill_reply_header(phydev->skb, phydev->attached_dev, in ethnl_cable_test_alloc()
159 ethnl_multicast(phydev->skb, phydev->attached_dev); in ethnl_cable_test_finished()
/linux-6.6.21/drivers/net/phy/
Dphy_device.c275 struct net_device *netdev = phydev->attached_dev; in mdio_bus_phy_may_suspend()
331 if (phydev->attached_dev && phydev->adjust_link) in mdio_bus_phy_suspend()
385 if (phydev->attached_dev && phydev->adjust_link) in mdio_bus_phy_resume()
1074 struct net_device *netdev = phydev->attached_dev; in phy_link_change()
1319 struct net_device *dev = phydev->attached_dev; in phy_sysfs_create_links()
1351 return sysfs_emit(buf, "%d\n", !phydev->attached_dev); in phy_standalone_show()
1366 if (phydev->attached_dev) in phy_sfp_attach()
1367 phydev->attached_dev->sfp_bus = bus; in phy_sfp_attach()
1383 if (phydev->attached_dev) in phy_sfp_detach()
1384 phydev->attached_dev->sfp_bus = NULL; in phy_sfp_detach()
[all …]
Dphy.c119 netdev_info(phydev->attached_dev, in phy_print_status()
126 netdev_info(phydev->attached_dev, "Link is Down\n"); in phy_print_status()
794 struct net_device *dev = phydev->attached_dev; in phy_start_cable_test()
865 struct net_device *dev = phydev->attached_dev; in phy_start_cable_test_tdr()
1281 struct net_device *netdev = phydev->attached_dev; in phy_interrupt()
1364 struct net_device *dev = phydev->attached_dev; in phy_stop()
1443 struct net_device *dev = phydev->attached_dev; in phy_state_machine()
Dmarvell10g.c1299 ((phydev->attached_dev->dev_addr[5] << 8) | in mv3110_set_wol()
1300 phydev->attached_dev->dev_addr[4])); in mv3110_set_wol()
1306 ((phydev->attached_dev->dev_addr[3] << 8) | in mv3110_set_wol()
1307 phydev->attached_dev->dev_addr[2])); in mv3110_set_wol()
1313 ((phydev->attached_dev->dev_addr[1] << 8) | in mv3110_set_wol()
1314 phydev->attached_dev->dev_addr[0])); in mv3110_set_wol()
Dphy_led_triggers.c41 netdev_alert(phy->attached_dev, in phy_led_trigger_change_speed()
Ddp83tc811.c100 struct net_device *ndev = phydev->attached_dev; in dp83811_set_wol()
Dfixed_phy.c86 fp->link_update(fp->phydev->attached_dev, in fixed_mdio_read()
Dmarvell.c1882 ((phydev->attached_dev->dev_addr[5] << 8) | in m88e1318_set_wol()
1883 phydev->attached_dev->dev_addr[4])); in m88e1318_set_wol()
1887 ((phydev->attached_dev->dev_addr[3] << 8) | in m88e1318_set_wol()
1888 phydev->attached_dev->dev_addr[2])); in m88e1318_set_wol()
1892 ((phydev->attached_dev->dev_addr[1] << 8) | in m88e1318_set_wol()
1893 phydev->attached_dev->dev_addr[0])); in m88e1318_set_wol()
Dbcm-phy-lib.c834 struct net_device *ndev = phydev->attached_dev; in bcm_phy_set_wol()
984 struct net_device *ndev = phydev->attached_dev; in bcm_phy_get_wol()
Ddp83640.c567 if (!phydev->attached_dev) { in enable_status_frames()
574 if (dev_mc_add(phydev->attached_dev, status_frame_dst)) in enable_status_frames()
577 if (dev_mc_del(phydev->attached_dev, status_frame_dst)) in enable_status_frames()
Dicplus.c143 netif_carrier_on(phydev->attached_dev); in ip175c_config_init()
Ddp83822.c126 struct net_device *ndev = phydev->attached_dev; in dp83822_set_wol()
Dsmsc.c409 struct net_device *ndev = phydev->attached_dev; in lan874x_set_wol()
Ddp83869.c248 struct net_device *ndev = phydev->attached_dev; in dp83869_set_wol()
Dmotorcomm.c475 p_attached_dev = phydev->attached_dev; in ytphy_set_wol()
545 mac_addr = phydev->attached_dev->dev_addr; in yt8531_set_wol()
Ddp83867.c194 struct net_device *ndev = phydev->attached_dev; in dp83867_set_wol()
Dmxl-gpy.c672 struct net_device *attach_dev = phydev->attached_dev; in gpy_set_wol()
Dat803x.c448 struct net_device *ndev = phydev->attached_dev; in at803x_set_wol()
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-class-net-phydev1 What: /sys/class/mdio_bus/<bus>/<device>/attached_dev
/linux-6.6.21/drivers/net/ethernet/amd/
Dau1000_eth.c522 if (tmp_phydev->attached_dev) in au1000_mii_probe()
537 BUG_ON(phydev->attached_dev); in au1000_mii_probe()
/linux-6.6.21/include/linux/
Dphy.h746 struct net_device *attached_dev; member
/linux-6.6.21/drivers/net/usb/
Dlan78xx.c2247 struct lan78xx_net *dev = netdev_priv(phydev->attached_dev); in lan8835_fixup()
2269 struct lan78xx_net *dev = netdev_priv(phydev->attached_dev); in ksz9031rnx_fixup()
/linux-6.6.21/drivers/net/phy/mscc/
Dmscc_main.c279 const u8 *mac_addr = phydev->attached_dev->dev_addr; in vsc85xx_wol_set()