Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/phy/
Dphy_device.c241 struct net_device *netdev = phydev->attached_dev; in mdio_bus_phy_may_suspend()
297 if (phydev->attached_dev && phydev->adjust_link) in mdio_bus_phy_suspend()
351 if (phydev->attached_dev && phydev->adjust_link) in mdio_bus_phy_resume()
1041 struct net_device *netdev = phydev->attached_dev; in phy_link_change()
1286 struct net_device *dev = phydev->attached_dev; in phy_sysfs_create_links()
1318 return sysfs_emit(buf, "%d\n", !phydev->attached_dev); in phy_standalone_show()
1333 if (phydev->attached_dev) in phy_sfp_attach()
1334 phydev->attached_dev->sfp_bus = bus; in phy_sfp_attach()
1350 if (phydev->attached_dev) in phy_sfp_detach()
1351 phydev->attached_dev->sfp_bus = NULL; in phy_sfp_detach()
[all …]
Dphy.c105 netdev_info(phydev->attached_dev, in phy_print_status()
112 netdev_info(phydev->attached_dev, "Link is Down\n"); in phy_print_status()
554 struct net_device *dev = phydev->attached_dev; in phy_start_cable_test()
625 struct net_device *dev = phydev->attached_dev; in phy_start_cable_test_tdr()
1012 struct net_device *netdev = phydev->attached_dev; in phy_interrupt()
1095 struct net_device *dev = phydev->attached_dev; in phy_stop()
1170 struct net_device *dev = phydev->attached_dev; in phy_state_machine()
Dmarvell10g.c1292 ((phydev->attached_dev->dev_addr[5] << 8) | in mv3110_set_wol()
1293 phydev->attached_dev->dev_addr[4])); in mv3110_set_wol()
1299 ((phydev->attached_dev->dev_addr[3] << 8) | in mv3110_set_wol()
1300 phydev->attached_dev->dev_addr[2])); in mv3110_set_wol()
1306 ((phydev->attached_dev->dev_addr[1] << 8) | in mv3110_set_wol()
1307 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()
Dmarvell.c1878 ((phydev->attached_dev->dev_addr[5] << 8) | in m88e1318_set_wol()
1879 phydev->attached_dev->dev_addr[4])); in m88e1318_set_wol()
1883 ((phydev->attached_dev->dev_addr[3] << 8) | in m88e1318_set_wol()
1884 phydev->attached_dev->dev_addr[2])); in m88e1318_set_wol()
1888 ((phydev->attached_dev->dev_addr[1] << 8) | in m88e1318_set_wol()
1889 phydev->attached_dev->dev_addr[0])); in m88e1318_set_wol()
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()
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()
Dmxl-gpy.c588 struct net_device *attach_dev = phydev->attached_dev; in gpy_set_wol()
Ddp83867.c185 struct net_device *ndev = phydev->attached_dev; in dp83867_set_wol()
Ddp83869.c248 struct net_device *ndev = phydev->attached_dev; in dp83869_set_wol()
Dat803x.c443 struct net_device *ndev = phydev->attached_dev; in at803x_set_wol()
/linux-6.1.9/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.1.9/Documentation/ABI/testing/
Dsysfs-class-net-phydev1 What: /sys/class/mdio_bus/<bus>/<device>/attached_dev
/linux-6.1.9/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.1.9/include/linux/
Dphy.h717 struct net_device *attached_dev; member
/linux-6.1.9/drivers/net/usb/
Dlan78xx.c2270 struct lan78xx_net *dev = netdev_priv(phydev->attached_dev); in lan8835_fixup()
2292 struct lan78xx_net *dev = netdev_priv(phydev->attached_dev); in ksz9031rnx_fixup()
/linux-6.1.9/drivers/net/phy/mscc/
Dmscc_main.c276 const u8 *mac_addr = phydev->attached_dev->dev_addr; in vsc85xx_wol_set()