• Home
  • Raw
  • Download

Lines Matching refs:wldev

3634 	struct b43legacy_wldev *wldev;  in b43legacy_one_core_detach()  local
3640 wldev = ssb_get_drvdata(dev); in b43legacy_one_core_detach()
3641 wl = wldev->wl; in b43legacy_one_core_detach()
3642 b43legacy_debugfs_remove_device(wldev); in b43legacy_one_core_detach()
3643 b43legacy_wireless_core_detach(wldev); in b43legacy_one_core_detach()
3644 list_del(&wldev->list); in b43legacy_one_core_detach()
3647 kfree(wldev); in b43legacy_one_core_detach()
3653 struct b43legacy_wldev *wldev; in b43legacy_one_core_attach() local
3674 wldev = kzalloc(sizeof(*wldev), GFP_KERNEL); in b43legacy_one_core_attach()
3675 if (!wldev) in b43legacy_one_core_attach()
3678 wldev->dev = dev; in b43legacy_one_core_attach()
3679 wldev->wl = wl; in b43legacy_one_core_attach()
3680 b43legacy_set_status(wldev, B43legacy_STAT_UNINIT); in b43legacy_one_core_attach()
3681 wldev->bad_frames_preempt = modparam_bad_frames_preempt; in b43legacy_one_core_attach()
3682 tasklet_init(&wldev->isr_tasklet, in b43legacy_one_core_attach()
3684 (unsigned long)wldev); in b43legacy_one_core_attach()
3686 wldev->__using_pio = 1; in b43legacy_one_core_attach()
3687 INIT_LIST_HEAD(&wldev->list); in b43legacy_one_core_attach()
3689 err = b43legacy_wireless_core_attach(wldev); in b43legacy_one_core_attach()
3693 list_add(&wldev->list, &wl->devlist); in b43legacy_one_core_attach()
3695 ssb_set_drvdata(dev, wldev); in b43legacy_one_core_attach()
3696 b43legacy_debugfs_add_device(wldev); in b43legacy_one_core_attach()
3701 kfree(wldev); in b43legacy_one_core_attach()
3812 struct b43legacy_wldev *wldev = ssb_get_drvdata(dev); in b43legacy_remove() local
3816 cancel_work_sync(&wldev->restart_work); in b43legacy_remove()
3819 if (wl->current_dev == wldev) in b43legacy_remove()
3846 struct b43legacy_wldev *wldev = ssb_get_drvdata(dev); in b43legacy_suspend() local
3847 struct b43legacy_wl *wl = wldev->wl; in b43legacy_suspend()
3852 wldev->suspend_init_status = b43legacy_status(wldev); in b43legacy_suspend()
3853 if (wldev->suspend_init_status >= B43legacy_STAT_STARTED) in b43legacy_suspend()
3854 b43legacy_wireless_core_stop(wldev); in b43legacy_suspend()
3855 if (wldev->suspend_init_status >= B43legacy_STAT_INITIALIZED) in b43legacy_suspend()
3856 b43legacy_wireless_core_exit(wldev); in b43legacy_suspend()
3866 struct b43legacy_wldev *wldev = ssb_get_drvdata(dev); in b43legacy_resume() local
3867 struct b43legacy_wl *wl = wldev->wl; in b43legacy_resume()
3873 if (wldev->suspend_init_status >= B43legacy_STAT_INITIALIZED) { in b43legacy_resume()
3874 err = b43legacy_wireless_core_init(wldev); in b43legacy_resume()
3880 if (wldev->suspend_init_status >= B43legacy_STAT_STARTED) { in b43legacy_resume()
3881 err = b43legacy_wireless_core_start(wldev); in b43legacy_resume()
3883 b43legacy_wireless_core_exit(wldev); in b43legacy_resume()