Lines Matching refs:mdev
28 mt7921u_mcu_send_message(struct mt76_dev *mdev, struct sk_buff *skb,
31 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76);
35 ret = mt76_connac2_mcu_fill_message(mdev, skb, cmd, seq);
39 mdev->mcu.timeout = 3 * HZ;
175 struct mt76_dev *mdev;
185 mdev = mt76_alloc_device(&usb_intf->dev, sizeof(*dev), ops, &drv_ops);
186 if (!mdev)
189 dev = container_of(mdev, struct mt792x_dev, mt76);
198 ret = __mt76u_init(mdev, usb_intf, &bus_ops);
202 mdev->rev = (mt76_rr(dev, MT_HW_CHIPID) << 16) |
204 dev_dbg(mdev->dev, "ASIC revision: %04x\n", mdev->rev);
230 hw->max_tx_fragments = mdev->usb.sg_en ? MT_HW_TXP_MAX_BUF_NUM : 1;