Lines Matching refs:usb_intf
208 static int mt76x0u_probe(struct usb_interface *usb_intf, in mt76x0u_probe() argument
223 struct usb_device *usb_dev = interface_to_usbdev(usb_intf); in mt76x0u_probe()
229 mdev = mt76_alloc_device(&usb_intf->dev, sizeof(*dev), &mt76x0u_ops, in mt76x0u_probe()
244 usb_set_intfdata(usb_intf, dev); in mt76x0u_probe()
247 ret = mt76u_init(mdev, usb_intf, false); in mt76x0u_probe()
279 usb_set_intfdata(usb_intf, NULL); in mt76x0u_probe()
280 usb_put_dev(interface_to_usbdev(usb_intf)); in mt76x0u_probe()
287 static void mt76x0_disconnect(struct usb_interface *usb_intf) in mt76x0_disconnect() argument
289 struct mt76x02_dev *dev = usb_get_intfdata(usb_intf); in mt76x0_disconnect()
298 usb_set_intfdata(usb_intf, NULL); in mt76x0_disconnect()
299 usb_put_dev(interface_to_usbdev(usb_intf)); in mt76x0_disconnect()
304 static int __maybe_unused mt76x0_suspend(struct usb_interface *usb_intf, in mt76x0_suspend() argument
307 struct mt76x02_dev *dev = usb_get_intfdata(usb_intf); in mt76x0_suspend()
316 static int __maybe_unused mt76x0_resume(struct usb_interface *usb_intf) in mt76x0_resume() argument
318 struct mt76x02_dev *dev = usb_get_intfdata(usb_intf); in mt76x0_resume()