Lines Matching full:wol
777 struct ethtool_wolinfo *wol) in lan743x_ethtool_get_wol() argument
781 wol->supported = 0; in lan743x_ethtool_get_wol()
782 wol->wolopts = 0; in lan743x_ethtool_get_wol()
783 phy_ethtool_get_wol(netdev->phydev, wol); in lan743x_ethtool_get_wol()
785 wol->supported |= WAKE_BCAST | WAKE_UCAST | WAKE_MCAST | in lan743x_ethtool_get_wol()
788 wol->wolopts |= adapter->wolopts; in lan743x_ethtool_get_wol()
792 struct ethtool_wolinfo *wol) in lan743x_ethtool_set_wol() argument
797 if (wol->wolopts & WAKE_UCAST) in lan743x_ethtool_set_wol()
799 if (wol->wolopts & WAKE_MCAST) in lan743x_ethtool_set_wol()
801 if (wol->wolopts & WAKE_BCAST) in lan743x_ethtool_set_wol()
803 if (wol->wolopts & WAKE_MAGIC) in lan743x_ethtool_set_wol()
805 if (wol->wolopts & WAKE_PHY) in lan743x_ethtool_set_wol()
807 if (wol->wolopts & WAKE_ARP) in lan743x_ethtool_set_wol()
810 device_set_wakeup_enable(&adapter->pdev->dev, (bool)wol->wolopts); in lan743x_ethtool_set_wol()
812 phy_ethtool_set_wol(netdev->phydev, wol); in lan743x_ethtool_set_wol()