Lines Matching refs:bus_ops
428 dev->bus_ops->rmw(&dev->mt76, l1_remap,
432 dev->bus_ops->rr(&dev->mt76, l1_remap);
445 dev->bus_ops->rmw(&dev->mt76, MT_HIF_REMAP_L2,
450 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L2);
457 dev->bus_ops->rmw(&dev->mt76, MT_HIF_REMAP_L2_MT7916 + ofs,
462 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L2_MT7916 + ofs);
541 return dev->bus_ops->rr(mdev, addr);
544 val = dev->bus_ops->rr(mdev, __mt7915_reg_remap_addr(dev, offset));
556 dev->bus_ops->wr(mdev, addr, val);
561 dev->bus_ops->wr(mdev, __mt7915_reg_remap_addr(dev, offset), val);
571 return dev->bus_ops->rmw(mdev, addr, mask, val);
574 val = dev->bus_ops->rmw(mdev, __mt7915_reg_remap_addr(dev, offset), mask, val);
741 struct mt76_bus_ops *bus_ops;
772 dev->bus_ops = dev->mt76.bus;
773 bus_ops = devm_kmemdup(dev->mt76.dev, dev->bus_ops, sizeof(*bus_ops),
775 if (!bus_ops)
778 bus_ops->rr = mt7915_rr;
779 bus_ops->wr = mt7915_wr;
780 bus_ops->rmw = mt7915_rmw;
781 dev->mt76.bus = bus_ops;