Lines Matching refs:usb_intf
213 static int mt7601u_assign_pipes(struct usb_interface *usb_intf, in mt7601u_assign_pipes() argument
217 struct usb_host_interface *intf_desc = usb_intf->cur_altsetting; in mt7601u_assign_pipes()
250 static int mt7601u_probe(struct usb_interface *usb_intf, in mt7601u_probe() argument
253 struct usb_device *usb_dev = interface_to_usbdev(usb_intf); in mt7601u_probe()
258 dev = mt7601u_alloc_device(&usb_intf->dev); in mt7601u_probe()
265 usb_set_intfdata(usb_intf, dev); in mt7601u_probe()
273 ret = mt7601u_assign_pipes(usb_intf, dev); in mt7601u_probe()
302 usb_set_intfdata(usb_intf, NULL); in mt7601u_probe()
303 usb_put_dev(interface_to_usbdev(usb_intf)); in mt7601u_probe()
310 static void mt7601u_disconnect(struct usb_interface *usb_intf) in mt7601u_disconnect() argument
312 struct mt7601u_dev *dev = usb_get_intfdata(usb_intf); in mt7601u_disconnect()
317 usb_set_intfdata(usb_intf, NULL); in mt7601u_disconnect()
318 usb_put_dev(interface_to_usbdev(usb_intf)); in mt7601u_disconnect()
324 static int mt7601u_suspend(struct usb_interface *usb_intf, pm_message_t state) in mt7601u_suspend() argument
326 struct mt7601u_dev *dev = usb_get_intfdata(usb_intf); in mt7601u_suspend()
333 static int mt7601u_resume(struct usb_interface *usb_intf) in mt7601u_resume() argument
335 struct mt7601u_dev *dev = usb_get_intfdata(usb_intf); in mt7601u_resume()