Lines Matching defs:wldev
68 struct b43legacy_wldev *wldev = dev_to_b43legacy_wldev(dev);
74 mutex_lock(&wldev->wl->mutex);
76 switch (wldev->phy.interfmode) {
93 mutex_unlock(&wldev->wl->mutex);
102 struct b43legacy_wldev *wldev = dev_to_b43legacy_wldev(dev);
128 mutex_lock(&wldev->wl->mutex);
129 spin_lock_irqsave(&wldev->wl->irq_lock, flags);
131 err = b43legacy_radio_set_interference_mitigation(wldev, mode);
133 b43legacyerr(wldev->wl, "Interference Mitigation not "
135 spin_unlock_irqrestore(&wldev->wl->irq_lock, flags);
136 mutex_unlock(&wldev->wl->mutex);
149 struct b43legacy_wldev *wldev = dev_to_b43legacy_wldev(dev);
155 mutex_lock(&wldev->wl->mutex);
157 if (wldev->short_preamble)
164 mutex_unlock(&wldev->wl->mutex);
173 struct b43legacy_wldev *wldev = dev_to_b43legacy_wldev(dev);
183 mutex_lock(&wldev->wl->mutex);
184 spin_lock_irqsave(&wldev->wl->irq_lock, flags);
186 wldev->short_preamble = !!value;
188 spin_unlock_irqrestore(&wldev->wl->irq_lock, flags);
189 mutex_unlock(&wldev->wl->mutex);
198 int b43legacy_sysfs_register(struct b43legacy_wldev *wldev)
200 struct device *dev = wldev->dev->dev;
203 B43legacy_WARN_ON(b43legacy_status(wldev) !=
220 void b43legacy_sysfs_unregister(struct b43legacy_wldev *wldev)
222 struct device *dev = wldev->dev->dev;