Lines Matching refs:bus_ops
205 return dev->bus_ops->rr(mdev, addr); in mt7921_rr()
213 dev->bus_ops->wr(mdev, addr, val); in mt7921_wr()
221 return dev->bus_ops->rmw(mdev, addr, mask, val); in mt7921_rmw()
383 struct mt76_bus_ops *bus_ops; in mt7921_dma_init() local
386 dev->bus_ops = dev->mt76.bus; in mt7921_dma_init()
387 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7921_dma_init()
389 if (!bus_ops) in mt7921_dma_init()
392 bus_ops->rr = mt7921_rr; in mt7921_dma_init()
393 bus_ops->wr = mt7921_wr; in mt7921_dma_init()
394 bus_ops->rmw = mt7921_rmw; in mt7921_dma_init()
395 dev->mt76.bus = bus_ops; in mt7921_dma_init()