Lines Matching full:pm
32 if (!mt76_connac_pm_ref(&dev->mphy, &dev->pm)) { in mt7921s_txrx_worker()
33 queue_work(mdev->wq, &dev->pm.wake_work); in mt7921s_txrx_worker()
38 mt76_connac_pm_unref(&dev->mphy, &dev->pm); in mt7921s_txrx_worker()
43 struct mt76_connac_pm *pm = &dev->pm; in mt7921s_unregister_device() local
47 cancel_delayed_work_sync(&pm->ps_work); in mt7921s_unregister_device()
48 cancel_work_sync(&pm->wake_work); in mt7921s_unregister_device()
208 struct mt76_connac_pm *pm = &dev->pm; in mt7921s_suspend() local
212 pm->suspended = true; in mt7921s_suspend()
216 cancel_delayed_work_sync(&pm->ps_work); in mt7921s_suspend()
217 cancel_work_sync(&pm->wake_work); in mt7921s_suspend()
264 if (!pm->ds_enable) in mt7921s_suspend()
269 pm->suspended = false; in mt7921s_suspend()
281 struct mt76_connac_pm *pm = &dev->pm; in mt7921s_resume() local
297 if (!pm->ds_enable) in mt7921s_resume()
302 pm->suspended = false; in mt7921s_resume()
321 .drv.pm = pm_sleep_ptr(&mt7921s_pm_ops),