Lines Matching refs:bus_ops
425 return dev->bus_ops->rr(mdev, addr); in mt7603_rr()
433 dev->bus_ops->wr(mdev, addr, val); in mt7603_wr()
441 return dev->bus_ops->rmw(mdev, addr, mask, val); in mt7603_rmw()
515 struct mt76_bus_ops *bus_ops; in mt7603_register_device() local
520 dev->bus_ops = dev->mt76.bus; in mt7603_register_device()
521 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops), in mt7603_register_device()
523 if (!bus_ops) in mt7603_register_device()
526 bus_ops->rr = mt7603_rr; in mt7603_register_device()
527 bus_ops->wr = mt7603_wr; in mt7603_register_device()
528 bus_ops->rmw = mt7603_rmw; in mt7603_register_device()
529 dev->mt76.bus = bus_ops; in mt7603_register_device()