Lines Matching refs:mdev
19 mt7925u_mcu_send_message(struct mt76_dev *mdev, struct sk_buff *skb,
22 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76);
26 ret = mt7925_mcu_fill_message(mdev, skb, cmd, seq);
30 mdev->mcu.timeout = 3 * HZ;
166 struct mt76_dev *mdev;
177 mdev = mt76_alloc_device(&usb_intf->dev, sizeof(*dev), ops, &drv_ops);
178 if (!mdev)
181 dev = container_of(mdev, struct mt792x_dev, mt76);
190 ret = __mt76u_init(mdev, usb_intf, &bus_ops);
194 mdev->rev = (mt76_rr(dev, MT_HW_CHIPID) << 16) |
196 dev_dbg(mdev->dev, "ASIC revision: %04x\n", mdev->rev);
222 hw->max_tx_fragments = mdev->usb.sg_en ? MT_HW_TXP_MAX_BUF_NUM : 1;