Lines Matching refs:bus_ops
147 return dev->bus_ops->rr(mdev, addr); in mt7615_rr()
155 dev->bus_ops->wr(mdev, addr, val); in mt7615_wr()
163 return dev->bus_ops->rmw(mdev, addr, mask, val); in mt7615_rmw()
187 struct mt76_bus_ops *bus_ops; in mt7615_mmio_probe() local
211 dev->bus_ops = dev->mt76.bus; in mt7615_mmio_probe()
212 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7615_mmio_probe()
214 if (!bus_ops) { in mt7615_mmio_probe()
219 bus_ops->rr = mt7615_rr; in mt7615_mmio_probe()
220 bus_ops->wr = mt7615_wr; in mt7615_mmio_probe()
221 bus_ops->rmw = mt7615_rmw; in mt7615_mmio_probe()
222 dev->mt76.bus = bus_ops; in mt7615_mmio_probe()