Lines Matching defs:wldev
79 struct b43legacy_wldev *wldev = dev_to_b43legacy_wldev(dev);
85 mutex_lock(&wldev->wl->mutex);
87 switch (wldev->phy.interfmode) {
104 mutex_unlock(&wldev->wl->mutex);
113 struct b43legacy_wldev *wldev = dev_to_b43legacy_wldev(dev);
139 mutex_lock(&wldev->wl->mutex);
140 spin_lock_irqsave(&wldev->wl->irq_lock, flags);
142 err = b43legacy_radio_set_interference_mitigation(wldev, mode);
144 b43legacyerr(wldev->wl, "Interference Mitigation not "
147 spin_unlock_irqrestore(&wldev->wl->irq_lock, flags);
148 mutex_unlock(&wldev->wl->mutex);
161 struct b43legacy_wldev *wldev = dev_to_b43legacy_wldev(dev);
167 mutex_lock(&wldev->wl->mutex);
169 if (wldev->short_preamble)
176 mutex_unlock(&wldev->wl->mutex);
185 struct b43legacy_wldev *wldev = dev_to_b43legacy_wldev(dev);
195 mutex_lock(&wldev->wl->mutex);
196 spin_lock_irqsave(&wldev->wl->irq_lock, flags);
198 wldev->short_preamble = !!value;
200 spin_unlock_irqrestore(&wldev->wl->irq_lock, flags);
201 mutex_unlock(&wldev->wl->mutex);
210 int b43legacy_sysfs_register(struct b43legacy_wldev *wldev)
212 struct device *dev = wldev->dev->dev;
215 B43legacy_WARN_ON(b43legacy_status(wldev) !=
232 void b43legacy_sysfs_unregister(struct b43legacy_wldev *wldev)
234 struct device *dev = wldev->dev->dev;