• Home
  • Raw
  • Download

Lines Matching refs:wldev

5472 	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()
5494 wldev->use_pio = b43_modparam_pio; in b43_one_core_attach()
5495 wldev->dev = dev; in b43_one_core_attach()
5496 wldev->wl = wl; in b43_one_core_attach()
5497 b43_set_status(wldev, B43_STAT_UNINIT); in b43_one_core_attach()
5498 wldev->bad_frames_preempt = modparam_bad_frames_preempt; in b43_one_core_attach()
5499 INIT_LIST_HEAD(&wldev->list); in b43_one_core_attach()
5501 err = b43_wireless_core_attach(wldev); in b43_one_core_attach()
5505 b43_bus_set_wldev(dev, wldev); in b43_one_core_attach()
5506 b43_debugfs_add_device(wldev); in b43_one_core_attach()
5512 kfree(wldev); in b43_one_core_attach()
5660 struct b43_wldev *wldev = bcma_get_drvdata(core); in b43_bcma_remove() local
5661 struct b43_wl *wl = wldev->wl; in b43_bcma_remove()
5665 cancel_work_sync(&wldev->restart_work); in b43_bcma_remove()
5669 if (!wldev->fw.ucode.data) in b43_bcma_remove()
5671 if (wl->current_dev == wldev && wl->hw_registered) { in b43_bcma_remove()
5672 b43_leds_stop(wldev); in b43_bcma_remove()
5676 b43_one_core_detach(wldev->dev); in b43_bcma_remove()
5683 kfree(wldev->dev); in b43_bcma_remove()
5743 struct b43_wldev *wldev = ssb_get_drvdata(sdev); in b43_ssb_remove() local
5744 struct b43_bus_dev *dev = wldev->dev; in b43_ssb_remove()
5748 cancel_work_sync(&wldev->restart_work); in b43_ssb_remove()
5752 if (!wldev->fw.ucode.data) in b43_ssb_remove()
5754 if (wl->current_dev == wldev && wl->hw_registered) { in b43_ssb_remove()
5755 b43_leds_stop(wldev); in b43_ssb_remove()