Lines Matching refs:intf
28 static int mt76x2u_probe(struct usb_interface *intf, in mt76x2u_probe() argument
44 struct usb_device *udev = interface_to_usbdev(intf); in mt76x2u_probe()
49 mdev = mt76_alloc_device(&intf->dev, sizeof(*dev), &mt76x2u_ops, in mt76x2u_probe()
59 usb_set_intfdata(intf, dev); in mt76x2u_probe()
62 err = mt76u_init(mdev, intf); in mt76x2u_probe()
82 usb_set_intfdata(intf, NULL); in mt76x2u_probe()
88 static void mt76x2u_disconnect(struct usb_interface *intf) in mt76x2u_disconnect() argument
90 struct usb_device *udev = interface_to_usbdev(intf); in mt76x2u_disconnect()
91 struct mt76x02_dev *dev = usb_get_intfdata(intf); in mt76x2u_disconnect()
98 usb_set_intfdata(intf, NULL); in mt76x2u_disconnect()
102 static int __maybe_unused mt76x2u_suspend(struct usb_interface *intf, in mt76x2u_suspend() argument
105 struct mt76x02_dev *dev = usb_get_intfdata(intf); in mt76x2u_suspend()
112 static int __maybe_unused mt76x2u_resume(struct usb_interface *intf) in mt76x2u_resume() argument
114 struct mt76x02_dev *dev = usb_get_intfdata(intf); in mt76x2u_resume()