Lines Matching full:mmio
13 val = readl(dev->mmio.regs + offset); in mt76_mmio_rr()
22 writel(val, dev->mmio.regs + offset); in mt76_mmio_wr()
35 __iowrite32_copy(dev->mmio.regs + offset, data, DIV_ROUND_UP(len, 4)); in mt76_mmio_write_copy()
41 __ioread32_copy(data, dev->mmio.regs + offset, DIV_ROUND_UP(len, 4)); in mt76_mmio_read_copy()
73 spin_lock_irqsave(&dev->mmio.irq_lock, flags); in mt76_set_irq_mask()
74 dev->mmio.irqmask &= ~clear; in mt76_set_irq_mask()
75 dev->mmio.irqmask |= set; in mt76_set_irq_mask()
77 mt76_mmio_wr(dev, addr, dev->mmio.irqmask); in mt76_set_irq_mask()
78 spin_unlock_irqrestore(&dev->mmio.irq_lock, flags); in mt76_set_irq_mask()
96 dev->mmio.regs = regs; in mt76_mmio_init()
98 spin_lock_init(&dev->mmio.irq_lock); in mt76_mmio_init()