Lines Matching refs:mmio

518 	memcpy_fromio(buf, dev->mt76.mmio.regs + addr, len);  in mt7915_memcpy_fromio()
520 memcpy_fromio(buf, (u8 *)dev->mt76.mmio.regs + addr, len); in mt7915_memcpy_fromio()
553 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_mmio_wed_offload_enable()
567 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_mmio_wed_offload_disable()
579 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_mmio_wed_release_rx_buf()
604 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_mmio_wed_init_rx_buf()
655 dev = container_of(wed, struct mt7915_dev, mt76.mmio.wed); in mt7915_mmio_wed_update_rx_stats()
675 struct mt76_dev *mdev = container_of(wed, struct mt76_dev, mmio.wed); in mt7915_mmio_wed_reset()
691 if (!wait_for_completion_timeout(&mdev->mmio.wed_reset, 20 * HZ)) { in mt7915_mmio_wed_reset()
704 struct mt76_dev *dev = container_of(wed, struct mt76_dev, mmio.wed); in mt7915_mmio_wed_reset_complete()
706 complete(&dev->mmio.wed_reset_complete); in mt7915_mmio_wed_reset_complete()
714 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_mmio_wed_init()
870 spin_lock_irqsave(&mdev->mmio.irq_lock, flags); in mt7915_dual_hif_set_irq_mask()
872 mdev->mmio.irqmask &= ~clear; in mt7915_dual_hif_set_irq_mask()
873 mdev->mmio.irqmask |= set; in mt7915_dual_hif_set_irq_mask()
876 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt7915_dual_hif_set_irq_mask()
877 mtk_wed_device_irq_set_mask(&mdev->mmio.wed, in mt7915_dual_hif_set_irq_mask()
878 mdev->mmio.irqmask); in mt7915_dual_hif_set_irq_mask()
880 mt76_wr(dev, MT_INT_MASK_CSR, mdev->mmio.irqmask); in mt7915_dual_hif_set_irq_mask()
881 mt76_wr(dev, MT_INT1_MASK_CSR, mdev->mmio.irqmask); in mt7915_dual_hif_set_irq_mask()
884 spin_unlock_irqrestore(&mdev->mmio.irq_lock, flags); in mt7915_dual_hif_set_irq_mask()
899 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_irq_tasklet()
906 intr = mtk_wed_device_irq_get(wed, dev->mt76.mmio.irqmask); in mt7915_irq_tasklet()
913 intr &= dev->mt76.mmio.irqmask; in mt7915_irq_tasklet()
919 intr1 &= dev->mt76.mmio.irqmask; in mt7915_irq_tasklet()
925 trace_dev_irq(&dev->mt76, intr, dev->mt76.mmio.irqmask); in mt7915_irq_tasklet()
969 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7915_irq_handler()