Home
last modified time | relevance | path

Searched refs:wldev (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
H A Dsysfs.c68 struct b43legacy_wldev *wldev = dev_to_b43legacy_wldev(dev); in b43legacy_attr_interfmode_show() local
74 mutex_lock(&wldev->wl->mutex); in b43legacy_attr_interfmode_show()
76 switch (wldev->phy.interfmode) { in b43legacy_attr_interfmode_show()
93 mutex_unlock(&wldev->wl->mutex); in b43legacy_attr_interfmode_show()
102 struct b43legacy_wldev *wldev = dev_to_b43legacy_wldev(dev); in b43legacy_attr_interfmode_store() local
128 mutex_lock(&wldev->wl->mutex); in b43legacy_attr_interfmode_store()
129 spin_lock_irqsave(&wldev->wl->irq_lock, flags); in b43legacy_attr_interfmode_store()
131 err = b43legacy_radio_set_interference_mitigation(wldev, mode); in b43legacy_attr_interfmode_store()
133 b43legacyerr(wldev->wl, "Interference Mitigation not " in b43legacy_attr_interfmode_store()
135 spin_unlock_irqrestore(&wldev in b43legacy_attr_interfmode_store()
149 struct b43legacy_wldev *wldev = dev_to_b43legacy_wldev(dev); b43legacy_attr_preamble_show() local
173 struct b43legacy_wldev *wldev = dev_to_b43legacy_wldev(dev); b43legacy_attr_preamble_store() local
198 b43legacy_sysfs_register(struct b43legacy_wldev *wldev) b43legacy_sysfs_register() argument
220 b43legacy_sysfs_unregister(struct b43legacy_wldev *wldev) b43legacy_sysfs_unregister() argument
[all...]
H A Dmain.c3715 struct b43legacy_wldev *wldev; in b43legacy_one_core_detach() local
3721 wldev = ssb_get_drvdata(dev); in b43legacy_one_core_detach()
3722 wl = wldev->wl; in b43legacy_one_core_detach()
3723 b43legacy_debugfs_remove_device(wldev); in b43legacy_one_core_detach()
3724 b43legacy_wireless_core_detach(wldev); in b43legacy_one_core_detach()
3725 list_del(&wldev->list); in b43legacy_one_core_detach()
3728 kfree(wldev); in b43legacy_one_core_detach()
3734 struct b43legacy_wldev *wldev; in b43legacy_one_core_attach() local
3737 wldev = kzalloc(sizeof(*wldev), GFP_KERNE in b43legacy_one_core_attach()
3884 struct b43legacy_wldev *wldev = ssb_get_drvdata(dev); b43legacy_remove() local
3922 struct b43legacy_wldev *wldev = ssb_get_drvdata(dev); b43legacy_suspend() local
3942 struct b43legacy_wldev *wldev = ssb_get_drvdata(dev); b43legacy_resume() local
[all...]
H A Db43legacy.h663 #define b43legacy_status(wldev) atomic_read(&(wldev)->__init_status)
664 #define b43legacy_set_status(wldev, stat) do { \
665 atomic_set(&(wldev)->__init_status, (stat)); \
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43legacy/
H A Dsysfs.c68 struct b43legacy_wldev *wldev = dev_to_b43legacy_wldev(dev); in b43legacy_attr_interfmode_show() local
74 mutex_lock(&wldev->wl->mutex); in b43legacy_attr_interfmode_show()
76 switch (wldev->phy.interfmode) { in b43legacy_attr_interfmode_show()
93 mutex_unlock(&wldev->wl->mutex); in b43legacy_attr_interfmode_show()
102 struct b43legacy_wldev *wldev = dev_to_b43legacy_wldev(dev); in b43legacy_attr_interfmode_store() local
128 mutex_lock(&wldev->wl->mutex); in b43legacy_attr_interfmode_store()
129 spin_lock_irqsave(&wldev->wl->irq_lock, flags); in b43legacy_attr_interfmode_store()
131 err = b43legacy_radio_set_interference_mitigation(wldev, mode); in b43legacy_attr_interfmode_store()
133 b43legacyerr(wldev->wl, "Interference Mitigation not " in b43legacy_attr_interfmode_store()
135 spin_unlock_irqrestore(&wldev in b43legacy_attr_interfmode_store()
149 struct b43legacy_wldev *wldev = dev_to_b43legacy_wldev(dev); b43legacy_attr_preamble_show() local
173 struct b43legacy_wldev *wldev = dev_to_b43legacy_wldev(dev); b43legacy_attr_preamble_store() local
198 b43legacy_sysfs_register(struct b43legacy_wldev *wldev) b43legacy_sysfs_register() argument
220 b43legacy_sysfs_unregister(struct b43legacy_wldev *wldev) b43legacy_sysfs_unregister() argument
[all...]
H A Dmain.c3716 struct b43legacy_wldev *wldev; in b43legacy_one_core_detach() local
3722 wldev = ssb_get_drvdata(dev); in b43legacy_one_core_detach()
3723 wl = wldev->wl; in b43legacy_one_core_detach()
3724 b43legacy_debugfs_remove_device(wldev); in b43legacy_one_core_detach()
3725 b43legacy_wireless_core_detach(wldev); in b43legacy_one_core_detach()
3726 list_del(&wldev->list); in b43legacy_one_core_detach()
3729 kfree(wldev); in b43legacy_one_core_detach()
3735 struct b43legacy_wldev *wldev; in b43legacy_one_core_attach() local
3738 wldev = kzalloc(sizeof(*wldev), GFP_KERNE in b43legacy_one_core_attach()
3882 struct b43legacy_wldev *wldev = ssb_get_drvdata(dev); b43legacy_remove() local
3920 struct b43legacy_wldev *wldev = ssb_get_drvdata(dev); b43legacy_suspend() local
3940 struct b43legacy_wldev *wldev = ssb_get_drvdata(dev); b43legacy_resume() local
[all...]
H A Db43legacy.h663 #define b43legacy_status(wldev) atomic_read(&(wldev)->__init_status)
664 #define b43legacy_set_status(wldev, stat) do { \
665 atomic_set(&(wldev)->__init_status, (stat)); \
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
H A Dsysfs.c41 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()
74 mutex_unlock(&wldev->wl->mutex); in b43_attr_interfmode_show()
83 struct b43_wldev *wldev = dev_to_b43_wldev(dev); in b43_attr_interfmode_store() local
108 mutex_lock(&wldev->wl->mutex); in b43_attr_interfmode_store()
110 if (wldev->phy.ops->interf_mitigation) { in b43_attr_interfmode_store()
111 err = wldev in b43_attr_interfmode_store()
127 b43_sysfs_register(struct b43_wldev *wldev) b43_sysfs_register() argument
136 b43_sysfs_unregister(struct b43_wldev *wldev) b43_sysfs_unregister() argument
[all...]
H A Db43.h820 #define b43_status(wldev) atomic_read(&(wldev)->__init_status)
821 #define b43_set_status(wldev, stat) do { \
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()
1007 static inline int b43_bus_powerup(struct b43_wldev *wldev, bool dynamic_pctl) in b43_bus_powerup() argument
1009 return wldev->dev->bus_powerup(wldev in b43_bus_powerup()
1011 b43_device_is_enabled(struct b43_wldev *wldev) b43_device_is_enabled() argument
1015 b43_device_enable(struct b43_wldev *wldev, u32 core_specific_flags) b43_device_enable() argument
1020 b43_device_disable(struct b43_wldev *wldev, u32 core_specific_flags) b43_device_disable() argument
[all...]
H 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()
H A Dmain.c5472 struct b43_wldev *wldev; in b43_one_core_detach() local
5477 wldev = b43_bus_get_wldev(dev); in b43_one_core_detach()
5478 b43_debugfs_remove_device(wldev); in b43_one_core_detach()
5479 b43_wireless_core_detach(wldev); in b43_one_core_detach()
5480 list_del(&wldev->list); in b43_one_core_detach()
5482 kfree(wldev); in b43_one_core_detach()
5487 struct b43_wldev *wldev; in b43_one_core_attach() local
5490 wldev = kzalloc(sizeof(*wldev), GFP_KERNEL); in b43_one_core_attach()
5491 if (!wldev) in b43_one_core_attach()
5660 struct b43_wldev *wldev = bcma_get_drvdata(core); b43_bcma_remove() local
5743 struct b43_wldev *wldev = ssb_get_drvdata(sdev); b43_ssb_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/
H A Dsysfs.c41 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()
74 mutex_unlock(&wldev->wl->mutex); in b43_attr_interfmode_show()
83 struct b43_wldev *wldev = dev_to_b43_wldev(dev); in b43_attr_interfmode_store() local
108 mutex_lock(&wldev->wl->mutex); in b43_attr_interfmode_store()
110 if (wldev->phy.ops->interf_mitigation) { in b43_attr_interfmode_store()
111 err = wldev in b43_attr_interfmode_store()
127 b43_sysfs_register(struct b43_wldev *wldev) b43_sysfs_register() argument
136 b43_sysfs_unregister(struct b43_wldev *wldev) b43_sysfs_unregister() argument
[all...]
H A Db43.h820 #define b43_status(wldev) atomic_read(&(wldev)->__init_status)
821 #define b43_set_status(wldev, stat) do { \
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()
1007 static inline int b43_bus_powerup(struct b43_wldev *wldev, bool dynamic_pctl) in b43_bus_powerup() argument
1009 return wldev->dev->bus_powerup(wldev in b43_bus_powerup()
1011 b43_device_is_enabled(struct b43_wldev *wldev) b43_device_is_enabled() argument
1015 b43_device_enable(struct b43_wldev *wldev, u32 core_specific_flags) b43_device_enable() argument
1020 b43_device_disable(struct b43_wldev *wldev, u32 core_specific_flags) b43_device_disable() argument
[all...]
H 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()
H A Dmain.c5475 struct b43_wldev *wldev; in b43_one_core_detach() local
5480 wldev = b43_bus_get_wldev(dev); in b43_one_core_detach()
5481 b43_debugfs_remove_device(wldev); in b43_one_core_detach()
5482 b43_wireless_core_detach(wldev); in b43_one_core_detach()
5483 list_del(&wldev->list); in b43_one_core_detach()
5485 kfree(wldev); in b43_one_core_detach()
5490 struct b43_wldev *wldev; in b43_one_core_attach() local
5493 wldev = kzalloc(sizeof(*wldev), GFP_KERNEL); in b43_one_core_attach()
5494 if (!wldev) in b43_one_core_attach()
5660 struct b43_wldev *wldev = bcma_get_drvdata(core); b43_bcma_remove() local
5743 struct b43_wldev *wldev = ssb_get_drvdata(sdev); b43_ssb_remove() local
[all...]

Completed in 54 milliseconds