Lines Matching refs:wldev
41 struct b43_wldev *wldev = dev_to_b43_wldev(dev); in b43_attr_interfmode_show() local
47 mutex_lock(&wldev->wl->mutex); in b43_attr_interfmode_show()
49 if (wldev->phy.type != B43_PHYTYPE_G) { in b43_attr_interfmode_show()
50 mutex_unlock(&wldev->wl->mutex); in b43_attr_interfmode_show()
54 switch (wldev->phy.g->interfmode) { in b43_attr_interfmode_show()
69 mutex_unlock(&wldev->wl->mutex); in b43_attr_interfmode_show()
78 struct b43_wldev *wldev = dev_to_b43_wldev(dev); in b43_attr_interfmode_store() local
103 mutex_lock(&wldev->wl->mutex); in b43_attr_interfmode_store()
105 if (wldev->phy.ops->interf_mitigation) { in b43_attr_interfmode_store()
106 err = wldev->phy.ops->interf_mitigation(wldev, mode); in b43_attr_interfmode_store()
108 b43err(wldev->wl, "Interference Mitigation not " in b43_attr_interfmode_store()
114 mutex_unlock(&wldev->wl->mutex); in b43_attr_interfmode_store()
122 int b43_sysfs_register(struct b43_wldev *wldev) in b43_sysfs_register() argument
124 struct device *dev = wldev->dev->dev; in b43_sysfs_register()
126 B43_WARN_ON(b43_status(wldev) != B43_STAT_INITIALIZED); in b43_sysfs_register()
131 void b43_sysfs_unregister(struct b43_wldev *wldev) in b43_sysfs_unregister() argument
133 struct device *dev = wldev->dev->dev; in b43_sysfs_unregister()