Lines Matching refs:wldev
5473 struct b43_wldev *wldev; in b43_one_core_detach() local
5478 wldev = b43_bus_get_wldev(dev); in b43_one_core_detach()
5479 b43_debugfs_remove_device(wldev); in b43_one_core_detach()
5480 b43_wireless_core_detach(wldev); in b43_one_core_detach()
5481 list_del(&wldev->list); in b43_one_core_detach()
5483 kfree(wldev); in b43_one_core_detach()
5488 struct b43_wldev *wldev; in b43_one_core_attach() local
5491 wldev = kzalloc(sizeof(*wldev), GFP_KERNEL); in b43_one_core_attach()
5492 if (!wldev) in b43_one_core_attach()
5495 wldev->use_pio = b43_modparam_pio; in b43_one_core_attach()
5496 wldev->dev = dev; in b43_one_core_attach()
5497 wldev->wl = wl; in b43_one_core_attach()
5498 b43_set_status(wldev, B43_STAT_UNINIT); in b43_one_core_attach()
5499 wldev->bad_frames_preempt = modparam_bad_frames_preempt; in b43_one_core_attach()
5500 INIT_LIST_HEAD(&wldev->list); in b43_one_core_attach()
5502 err = b43_wireless_core_attach(wldev); in b43_one_core_attach()
5506 b43_bus_set_wldev(dev, wldev); in b43_one_core_attach()
5507 b43_debugfs_add_device(wldev); in b43_one_core_attach()
5513 kfree(wldev); in b43_one_core_attach()
5658 struct b43_wldev *wldev = bcma_get_drvdata(core); in b43_bcma_remove() local
5659 struct b43_wl *wl = wldev->wl; in b43_bcma_remove()
5663 cancel_work_sync(&wldev->restart_work); in b43_bcma_remove()
5667 if (!wldev->fw.ucode.data) in b43_bcma_remove()
5669 if (wl->current_dev == wldev && wl->hw_registered) { in b43_bcma_remove()
5670 b43_leds_stop(wldev); in b43_bcma_remove()
5674 b43_one_core_detach(wldev->dev); in b43_bcma_remove()
5681 kfree(wldev->dev); in b43_bcma_remove()
5741 struct b43_wldev *wldev = ssb_get_drvdata(sdev); in b43_ssb_remove() local
5742 struct b43_bus_dev *dev = wldev->dev; in b43_ssb_remove()
5746 cancel_work_sync(&wldev->restart_work); in b43_ssb_remove()
5750 if (!wldev->fw.ucode.data) in b43_ssb_remove()
5752 if (wl->current_dev == wldev && wl->hw_registered) { in b43_ssb_remove()
5753 b43_leds_stop(wldev); in b43_ssb_remove()