Lines Matching defs:wolinfo
885 struct ethtool_wolinfo *wolinfo)
889 if (wolinfo->wolopts & (~tp->wolinfo.supported))
892 tp->wolinfo.wolopts = wolinfo->wolopts;
893 device_set_wakeup_enable(&tp->pdev->dev, tp->wolinfo.wolopts);
898 struct ethtool_wolinfo *wolinfo)
902 wolinfo->supported = tp->wolinfo.supported;
903 wolinfo->wolopts = tp->wolinfo.wolopts;
1468 tp->wolinfo.supported = 0;
1469 tp->wolinfo.wolopts = 0;
1476 tp->wolinfo.supported = WAKE_PHY | WAKE_MAGIC;
1868 tulip_set_wolopts(pdev, tp->wolinfo.wolopts);
1869 rc = pci_enable_wake(pdev, pstate, tp->wolinfo.wolopts);