Lines Matching +full:- +full:pdma

1 // SPDX-License-Identifier: ISC
42 ret = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32)); in mt7615_pci_probe()
48 map = id->device == 0x7663 ? mt7663e_reg_map : mt7615e_reg_map; in mt7615_pci_probe()
49 ret = mt7615_mmio_probe(&pdev->dev, pcim_iomap_table(pdev)[0], in mt7615_pci_probe()
50 pdev->irq, map); in mt7615_pci_probe()
67 devm_free_irq(&pdev->dev, pdev->irq, dev); in mt7615_pci_remove()
79 err = mt76_connac_pm_wake(&dev->mphy, &dev->pm); in mt7615_pci_suspend()
83 hif_suspend = !test_bit(MT76_STATE_SUSPEND, &dev->mphy.state) && in mt7615_pci_suspend()
91 napi_disable(&mdev->tx_napi); in mt7615_pci_suspend()
92 mt76_worker_disable(&mdev->tx_worker); in mt7615_pci_suspend()
95 napi_disable(&mdev->napi[i]); in mt7615_pci_suspend()
97 tasklet_kill(&mdev->irq_tasklet); in mt7615_pci_suspend()
110 dev_err(mdev->dev, "PDMA sleep protection failed\n"); in mt7615_pci_suspend()
111 err = -EIO; in mt7615_pci_suspend()
130 napi_enable(&mdev->napi[i]); in mt7615_pci_suspend()
132 napi_enable(&mdev->tx_napi); in mt7615_pci_suspend()
156 if (is_mt7663(&dev->mt76)) { in mt7615_pci_resume()
164 dev_err(mdev->dev, "PDMA engine must be reinitialized\n"); in mt7615_pci_resume()
166 mt76_worker_enable(&mdev->tx_worker); in mt7615_pci_resume()
169 napi_enable(&mdev->napi[i]); in mt7615_pci_resume()
170 napi_schedule(&mdev->napi[i]); in mt7615_pci_resume()
172 napi_enable(&mdev->tx_napi); in mt7615_pci_resume()
173 napi_schedule(&mdev->tx_napi); in mt7615_pci_resume()
176 if (!test_bit(MT76_STATE_SUSPEND, &dev->mphy.state) && in mt7615_pci_resume()