Lines Matching defs:rdev
65 struct cfg80211_registered_device *rdev = dev_to_rdev(dev);
67 cfg80211_dev_free(rdev);
80 struct cfg80211_registered_device *rdev = dev_to_rdev(dev);
83 rdev->suspend_at = get_seconds();
85 if (rdev->ops->suspend) {
87 ret = rdev->ops->suspend(&rdev->wiphy);
96 struct cfg80211_registered_device *rdev = dev_to_rdev(dev);
100 spin_lock_bh(&rdev->bss_lock);
101 cfg80211_bss_age(rdev, get_seconds() - rdev->suspend_at);
102 spin_unlock_bh(&rdev->bss_lock);
104 if (rdev->ops->resume) {
106 ret = rdev->ops->resume(&rdev->wiphy);