Lines Matching refs:bus_ops
152 return dev->bus_ops->rr(mdev, addr); in mt7615_rr()
160 dev->bus_ops->wr(mdev, addr, val); in mt7615_wr()
168 return dev->bus_ops->rmw(mdev, addr, mask, val); in mt7615_rmw()
190 struct mt76_bus_ops *bus_ops; in mt7615_mmio_probe() local
214 dev->bus_ops = dev->mt76.bus; in mt7615_mmio_probe()
215 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7615_mmio_probe()
217 if (!bus_ops) { in mt7615_mmio_probe()
222 bus_ops->rr = mt7615_rr; in mt7615_mmio_probe()
223 bus_ops->wr = mt7615_wr; in mt7615_mmio_probe()
224 bus_ops->rmw = mt7615_rmw; in mt7615_mmio_probe()
225 dev->mt76.bus = bus_ops; in mt7615_mmio_probe()