Home
last modified time | relevance | path

Searched refs:wldev (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/wireless/broadcom/b43legacy/
A Dsysfs.c74 mutex_lock(&wldev->wl->mutex); in b43legacy_attr_interfmode_show()
76 switch (wldev->phy.interfmode) { in b43legacy_attr_interfmode_show()
91 mutex_unlock(&wldev->wl->mutex); in b43legacy_attr_interfmode_show()
126 mutex_lock(&wldev->wl->mutex); in b43legacy_attr_interfmode_store()
134 mutex_unlock(&wldev->wl->mutex); in b43legacy_attr_interfmode_store()
153 mutex_lock(&wldev->wl->mutex); in b43legacy_attr_preamble_show()
155 if (wldev->short_preamble) in b43legacy_attr_preamble_show()
160 mutex_unlock(&wldev->wl->mutex); in b43legacy_attr_preamble_show()
179 mutex_lock(&wldev->wl->mutex); in b43legacy_attr_preamble_store()
182 wldev->short_preamble = !!value; in b43legacy_attr_preamble_store()
[all …]
A Dmain.c3727 wl = wldev->wl; in b43legacy_one_core_detach()
3730 list_del(&wldev->list); in b43legacy_one_core_detach()
3733 kfree(wldev); in b43legacy_one_core_detach()
3742 wldev = kzalloc(sizeof(*wldev), GFP_KERNEL); in b43legacy_one_core_attach()
3743 if (!wldev) in b43legacy_one_core_attach()
3746 wldev->dev = dev; in b43legacy_one_core_attach()
3747 wldev->wl = wl; in b43legacy_one_core_attach()
3752 wldev->__using_pio = true; in b43legacy_one_core_attach()
3767 kfree(wldev); in b43legacy_one_core_attach()
3895 if (!wldev->fw.ucode) in b43legacy_remove()
[all …]
A Db43legacy.h663 #define b43legacy_status(wldev) atomic_read(&(wldev)->__init_status) argument
664 #define b43legacy_set_status(wldev, stat) do { \ argument
665 atomic_set(&(wldev)->__init_status, (stat)); \
/linux/drivers/net/wireless/broadcom/b43/
A Dsysfs.c47 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()
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()
114 mutex_unlock(&wldev->wl->mutex); in b43_attr_interfmode_store()
124 struct device *dev = wldev->dev->dev; in b43_sysfs_register()
[all …]
A Db43.h820 #define b43_status(wldev) atomic_read(&(wldev)->__init_status) argument
821 #define b43_set_status(wldev, stat) do { \ argument
822 atomic_set(&(wldev)->__init_status, (stat)); \
1003 static inline int b43_bus_may_powerdown(struct b43_wldev *wldev) in b43_bus_may_powerdown() argument
1005 return wldev->dev->bus_may_powerdown(wldev->dev); in b43_bus_may_powerdown()
1009 return wldev->dev->bus_powerup(wldev->dev, dynamic_pctl); in b43_bus_powerup()
1013 return wldev->dev->device_is_enabled(wldev->dev); in b43_device_is_enabled()
1015 static inline void b43_device_enable(struct b43_wldev *wldev, in b43_device_enable() argument
1018 wldev->dev->device_enable(wldev->dev, core_specific_flags); in b43_device_enable()
1020 static inline void b43_device_disable(struct b43_wldev *wldev, in b43_device_disable() argument
[all …]
A Dbus.c238 void b43_bus_set_wldev(struct b43_bus_dev *dev, void *wldev) in b43_bus_set_wldev() argument
243 bcma_set_drvdata(dev->bdev, wldev); in b43_bus_set_wldev()
248 ssb_set_drvdata(dev->sdev, wldev); in b43_bus_set_wldev()
A Dmain.c5479 struct b43_wldev *wldev; in b43_one_core_detach() local
5487 list_del(&wldev->list); in b43_one_core_detach()
5489 kfree(wldev); in b43_one_core_detach()
5497 wldev = kzalloc(sizeof(*wldev), GFP_KERNEL); in b43_one_core_attach()
5498 if (!wldev) in b43_one_core_attach()
5502 wldev->dev = dev; in b43_one_core_attach()
5503 wldev->wl = wl; in b43_one_core_attach()
5519 kfree(wldev); in b43_one_core_attach()
5676 b43_leds_stop(wldev); in b43_bcma_remove()
5687 kfree(wldev->dev); in b43_bcma_remove()
[all …]

Completed in 30 milliseconds