Lines Matching refs:wldev

5514 	struct b43_wldev *wldev;  in b43_one_core_detach()  local
5520 wldev = b43_bus_get_wldev(dev); in b43_one_core_detach()
5521 wl = wldev->wl; in b43_one_core_detach()
5522 b43_debugfs_remove_device(wldev); in b43_one_core_detach()
5523 b43_wireless_core_detach(wldev); in b43_one_core_detach()
5524 list_del(&wldev->list); in b43_one_core_detach()
5526 kfree(wldev); in b43_one_core_detach()
5531 struct b43_wldev *wldev; in b43_one_core_attach() local
5534 wldev = kzalloc(sizeof(*wldev), GFP_KERNEL); in b43_one_core_attach()
5535 if (!wldev) in b43_one_core_attach()
5538 wldev->use_pio = b43_modparam_pio; in b43_one_core_attach()
5539 wldev->dev = dev; in b43_one_core_attach()
5540 wldev->wl = wl; in b43_one_core_attach()
5541 b43_set_status(wldev, B43_STAT_UNINIT); in b43_one_core_attach()
5542 wldev->bad_frames_preempt = modparam_bad_frames_preempt; in b43_one_core_attach()
5543 INIT_LIST_HEAD(&wldev->list); in b43_one_core_attach()
5545 err = b43_wireless_core_attach(wldev); in b43_one_core_attach()
5549 b43_bus_set_wldev(dev, wldev); in b43_one_core_attach()
5550 b43_debugfs_add_device(wldev); in b43_one_core_attach()
5556 kfree(wldev); in b43_one_core_attach()
5699 struct b43_wldev *wldev = bcma_get_drvdata(core); in b43_bcma_remove() local
5700 struct b43_wl *wl = wldev->wl; in b43_bcma_remove()
5704 cancel_work_sync(&wldev->restart_work); in b43_bcma_remove()
5708 if (!wldev->fw.ucode.data) in b43_bcma_remove()
5710 if (wl->current_dev == wldev && wl->hw_registred) { in b43_bcma_remove()
5711 b43_leds_stop(wldev); in b43_bcma_remove()
5715 b43_one_core_detach(wldev->dev); in b43_bcma_remove()
5782 struct b43_wldev *wldev = ssb_get_drvdata(sdev); in b43_ssb_remove() local
5783 struct b43_bus_dev *dev = wldev->dev; in b43_ssb_remove()
5787 cancel_work_sync(&wldev->restart_work); in b43_ssb_remove()
5791 if (!wldev->fw.ucode.data) in b43_ssb_remove()
5793 if (wl->current_dev == wldev && wl->hw_registred) { in b43_ssb_remove()
5794 b43_leds_stop(wldev); in b43_ssb_remove()