Lines Matching refs:bus_ops
204 return dev->bus_ops->rr(mdev, addr); in mt7915_rr()
212 dev->bus_ops->wr(mdev, addr, val); in mt7915_wr()
220 return dev->bus_ops->rmw(mdev, addr, mask, val); in mt7915_rmw()
226 struct mt76_bus_ops *bus_ops; in mt7915_dma_init() local
230 dev->bus_ops = dev->mt76.bus; in mt7915_dma_init()
231 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7915_dma_init()
233 if (!bus_ops) in mt7915_dma_init()
236 bus_ops->rr = mt7915_rr; in mt7915_dma_init()
237 bus_ops->wr = mt7915_wr; in mt7915_dma_init()
238 bus_ops->rmw = mt7915_rmw; in mt7915_dma_init()
239 dev->mt76.bus = bus_ops; in mt7915_dma_init()