Lines Matching refs:usb_intf
168 static int mt7921u_probe(struct usb_interface *usb_intf, in mt7921u_probe() argument
201 struct usb_device *udev = interface_to_usbdev(usb_intf); in mt7921u_probe()
208 ops = devm_kmemdup(&usb_intf->dev, &mt7921_ops, sizeof(mt7921_ops), in mt7921u_probe()
215 mdev = mt76_alloc_device(&usb_intf->dev, sizeof(*dev), ops, &drv_ops); in mt7921u_probe()
225 usb_set_intfdata(usb_intf, dev); in mt7921u_probe()
227 ret = __mt76u_init(mdev, usb_intf, &bus_ops); in mt7921u_probe()
270 usb_set_intfdata(usb_intf, NULL); in mt7921u_probe()
271 usb_put_dev(interface_to_usbdev(usb_intf)); in mt7921u_probe()
278 static void mt7921u_disconnect(struct usb_interface *usb_intf) in mt7921u_disconnect() argument
280 struct mt7921_dev *dev = usb_get_intfdata(usb_intf); in mt7921u_disconnect()
289 usb_set_intfdata(usb_intf, NULL); in mt7921u_disconnect()
290 usb_put_dev(interface_to_usbdev(usb_intf)); in mt7921u_disconnect()