Lines Matching refs:wolopts
782 wol->wolopts = 0; in lan743x_ethtool_get_wol()
790 wol->wolopts |= adapter->wolopts; in lan743x_ethtool_get_wol()
798 adapter->wolopts = 0; in lan743x_ethtool_set_wol()
799 if (wol->wolopts & WAKE_UCAST) in lan743x_ethtool_set_wol()
800 adapter->wolopts |= WAKE_UCAST; in lan743x_ethtool_set_wol()
801 if (wol->wolopts & WAKE_MCAST) in lan743x_ethtool_set_wol()
802 adapter->wolopts |= WAKE_MCAST; in lan743x_ethtool_set_wol()
803 if (wol->wolopts & WAKE_BCAST) in lan743x_ethtool_set_wol()
804 adapter->wolopts |= WAKE_BCAST; in lan743x_ethtool_set_wol()
805 if (wol->wolopts & WAKE_MAGIC) in lan743x_ethtool_set_wol()
806 adapter->wolopts |= WAKE_MAGIC; in lan743x_ethtool_set_wol()
807 if (wol->wolopts & WAKE_PHY) in lan743x_ethtool_set_wol()
808 adapter->wolopts |= WAKE_PHY; in lan743x_ethtool_set_wol()
809 if (wol->wolopts & WAKE_ARP) in lan743x_ethtool_set_wol()
810 adapter->wolopts |= WAKE_ARP; in lan743x_ethtool_set_wol()
812 device_set_wakeup_enable(&adapter->pdev->dev, (bool)wol->wolopts); in lan743x_ethtool_set_wol()