Lines Matching refs:usb_intf
209 static int mt76x0u_probe(struct usb_interface *usb_intf, in mt76x0u_probe() argument
224 struct usb_device *usb_dev = interface_to_usbdev(usb_intf); in mt76x0u_probe()
230 mdev = mt76_alloc_device(&usb_intf->dev, sizeof(*dev), &mt76x0u_ops, in mt76x0u_probe()
245 usb_set_intfdata(usb_intf, dev); in mt76x0u_probe()
248 ret = mt76u_init(mdev, usb_intf); in mt76x0u_probe()
280 usb_set_intfdata(usb_intf, NULL); in mt76x0u_probe()
281 usb_put_dev(interface_to_usbdev(usb_intf)); in mt76x0u_probe()
288 static void mt76x0_disconnect(struct usb_interface *usb_intf) in mt76x0_disconnect() argument
290 struct mt76x02_dev *dev = usb_get_intfdata(usb_intf); in mt76x0_disconnect()
299 usb_set_intfdata(usb_intf, NULL); in mt76x0_disconnect()
300 usb_put_dev(interface_to_usbdev(usb_intf)); in mt76x0_disconnect()
305 static int __maybe_unused mt76x0_suspend(struct usb_interface *usb_intf, in mt76x0_suspend() argument
308 struct mt76x02_dev *dev = usb_get_intfdata(usb_intf); in mt76x0_suspend()
317 static int __maybe_unused mt76x0_resume(struct usb_interface *usb_intf) in mt76x0_resume() argument
319 struct mt76x02_dev *dev = usb_get_intfdata(usb_intf); in mt76x0_resume()