Lines Matching defs:mdev
14 struct mt76_dev *mdev;
26 mdev = mt76_alloc_device(&pdev->dev, sizeof(*dev), &mt7603_ops,
28 if (!mdev)
31 dev = container_of(mdev, struct mt7603_dev, mt76);
32 mt76_mmio_init(mdev, mem_base);
34 mdev->rev = (mt76_rr(dev, MT_HW_CHIPID) << 16) |
36 dev_info(mdev->dev, "ASIC revision: %04x\n", mdev->rev);
40 ret = devm_request_irq(mdev->dev, irq, mt7603_irq_handler,
57 struct mt76_dev *mdev = platform_get_drvdata(pdev);
58 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76);