• Home
  • Raw
  • Download

Lines Matching refs:wldev

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