Lines Matching refs:usb_intf
228 static int mt7601u_assign_pipes(struct usb_interface *usb_intf, in mt7601u_assign_pipes() argument
232 struct usb_host_interface *intf_desc = usb_intf->cur_altsetting; in mt7601u_assign_pipes()
265 static int mt7601u_probe(struct usb_interface *usb_intf, in mt7601u_probe() argument
268 struct usb_device *usb_dev = interface_to_usbdev(usb_intf); in mt7601u_probe()
273 dev = mt7601u_alloc_device(&usb_intf->dev); in mt7601u_probe()
280 usb_set_intfdata(usb_intf, dev); in mt7601u_probe()
288 ret = mt7601u_assign_pipes(usb_intf, dev); in mt7601u_probe()
321 usb_set_intfdata(usb_intf, NULL); in mt7601u_probe()
322 usb_put_dev(interface_to_usbdev(usb_intf)); in mt7601u_probe()
329 static void mt7601u_disconnect(struct usb_interface *usb_intf) in mt7601u_disconnect() argument
331 struct mt7601u_dev *dev = usb_get_intfdata(usb_intf); in mt7601u_disconnect()
336 usb_set_intfdata(usb_intf, NULL); in mt7601u_disconnect()
337 usb_put_dev(interface_to_usbdev(usb_intf)); in mt7601u_disconnect()
343 static int mt7601u_suspend(struct usb_interface *usb_intf, pm_message_t state) in mt7601u_suspend() argument
345 struct mt7601u_dev *dev = usb_get_intfdata(usb_intf); in mt7601u_suspend()
352 static int mt7601u_resume(struct usb_interface *usb_intf) in mt7601u_resume() argument
354 struct mt7601u_dev *dev = usb_get_intfdata(usb_intf); in mt7601u_resume()