Lines Matching full:mt76
30 struct mt7921_dev *dev = container_of(mdev, struct mt7921_dev, mt76); in mt7921_rx_poll_complete()
62 intr &= dev->mt76.mmio.irqmask; in mt7921_irq_tasklet()
65 trace_dev_irq(&dev->mt76, intr, dev->mt76.mmio.irqmask); in mt7921_irq_tasklet()
83 mt76_set_irq_mask(&dev->mt76, MT_WFDMA0_HOST_INT_ENA, mask, 0); in mt7921_irq_tasklet()
86 napi_schedule(&dev->mt76.tx_napi); in mt7921_irq_tasklet()
89 napi_schedule(&dev->mt76.napi[MT_RXQ_MCU]); in mt7921_irq_tasklet()
92 napi_schedule(&dev->mt76.napi[MT_RXQ_MCU_WA]); in mt7921_irq_tasklet()
95 napi_schedule(&dev->mt76.napi[MT_RXQ_MAIN]); in mt7921_irq_tasklet()
109 mt76_unregister_device(&dev->mt76); in mt7921e_unregister_device()
110 mt76_for_each_q_rx(&dev->mt76, i) in mt7921e_unregister_device()
111 napi_disable(&dev->mt76.napi[i]); in mt7921e_unregister_device()
119 skb_queue_purge(&dev->mt76.mcu.res_q); in mt7921e_unregister_device()
195 dev_err(dev->mt76.dev, "Access currently unsupported address %08x\n", in __mt7921_reg_addr()
203 struct mt7921_dev *dev = container_of(mdev, struct mt7921_dev, mt76); in mt7921_rr()
211 struct mt7921_dev *dev = container_of(mdev, struct mt7921_dev, mt76); in mt7921_wr()
219 struct mt7921_dev *dev = container_of(mdev, struct mt7921_dev, mt76); in mt7921_rmw()
290 dev = container_of(mdev, struct mt7921_dev, mt76); in mt7921_pci_probe()
293 mt76_mmio_init(&dev->mt76, pcim_iomap_table(pdev)[0]); in mt7921_pci_probe()
297 dev->phy.mt76 = &dev->mt76.phy; in mt7921_pci_probe()
298 dev->mt76.phy.priv = &dev->phy; in mt7921_pci_probe()
299 dev->bus_ops = dev->mt76.bus; in mt7921_pci_probe()
300 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7921_pci_probe()
310 dev->mt76.bus = bus_ops; in mt7921_pci_probe()
342 mt76_free_device(&dev->mt76); in mt7921_pci_probe()
352 struct mt7921_dev *dev = container_of(mdev, struct mt7921_dev, mt76); in mt7921_pci_remove()
356 mt76_free_device(&dev->mt76); in mt7921_pci_remove()
364 struct mt7921_dev *dev = container_of(mdev, struct mt7921_dev, mt76); in mt7921_pci_suspend()
384 mt76_connac_mcu_set_deep_sleep(&dev->mt76, true); in mt7921_pci_suspend()
421 mt76_connac_mcu_set_deep_sleep(&dev->mt76, false); in mt7921_pci_suspend()
429 mt7921_reset(&dev->mt76); in mt7921_pci_suspend()
438 struct mt7921_dev *dev = container_of(mdev, struct mt7921_dev, mt76); in mt7921_pci_resume()
471 mt76_connac_mcu_set_deep_sleep(&dev->mt76, false); in mt7921_pci_resume()
478 mt7921_reset(&dev->mt76); in mt7921_pci_resume()