Lines Matching refs:wldev
5479 struct b43_wldev *wldev; in b43_one_core_detach() local
5484 wldev = b43_bus_get_wldev(dev); in b43_one_core_detach()
5485 b43_debugfs_remove_device(wldev); in b43_one_core_detach()
5486 b43_wireless_core_detach(wldev); in b43_one_core_detach()
5487 list_del(&wldev->list); in b43_one_core_detach()
5489 kfree(wldev); in b43_one_core_detach()
5494 struct b43_wldev *wldev; in b43_one_core_attach() local
5497 wldev = kzalloc(sizeof(*wldev), GFP_KERNEL); in b43_one_core_attach()
5498 if (!wldev) in b43_one_core_attach()
5501 wldev->use_pio = b43_modparam_pio; in b43_one_core_attach()
5502 wldev->dev = dev; in b43_one_core_attach()
5503 wldev->wl = wl; in b43_one_core_attach()
5504 b43_set_status(wldev, B43_STAT_UNINIT); in b43_one_core_attach()
5505 wldev->bad_frames_preempt = modparam_bad_frames_preempt; in b43_one_core_attach()
5506 INIT_LIST_HEAD(&wldev->list); in b43_one_core_attach()
5508 err = b43_wireless_core_attach(wldev); in b43_one_core_attach()
5512 b43_bus_set_wldev(dev, wldev); in b43_one_core_attach()
5513 b43_debugfs_add_device(wldev); in b43_one_core_attach()
5519 kfree(wldev); in b43_one_core_attach()
5664 struct b43_wldev *wldev = bcma_get_drvdata(core); in b43_bcma_remove() local
5665 struct b43_wl *wl = wldev->wl; in b43_bcma_remove()
5669 cancel_work_sync(&wldev->restart_work); in b43_bcma_remove()
5673 if (!wldev->fw.ucode.data) in b43_bcma_remove()
5675 if (wl->current_dev == wldev && wl->hw_registered) { in b43_bcma_remove()
5676 b43_leds_stop(wldev); in b43_bcma_remove()
5680 b43_one_core_detach(wldev->dev); in b43_bcma_remove()
5687 kfree(wldev->dev); in b43_bcma_remove()
5747 struct b43_wldev *wldev = ssb_get_drvdata(sdev); in b43_ssb_remove() local
5748 struct b43_bus_dev *dev = wldev->dev; in b43_ssb_remove()
5752 cancel_work_sync(&wldev->restart_work); in b43_ssb_remove()
5756 if (!wldev->fw.ucode.data) in b43_ssb_remove()
5758 if (wl->current_dev == wldev && wl->hw_registered) { in b43_ssb_remove()
5759 b43_leds_stop(wldev); in b43_ssb_remove()