Lines Matching refs:intf
580 static int ksdazzle_probe(struct usb_interface *intf, in ksdazzle_probe() argument
586 struct usb_device *dev = interface_to_usbdev(intf); in ksdazzle_probe()
597 interface = intf->cur_altsetting; in ksdazzle_probe()
599 dev_err(&intf->dev, "ksdazzle: expected 2 endpoints, found %d\n", in ksdazzle_probe()
605 dev_err(&intf->dev, in ksdazzle_probe()
614 dev_err(&intf->dev, in ksdazzle_probe()
622 dev_err(&intf->dev, in ksdazzle_probe()
636 SET_NETDEV_DEV(net, &intf->dev); in ksdazzle_probe()
710 usb_set_intfdata(intf, kingsun); in ksdazzle_probe()
734 static void ksdazzle_disconnect(struct usb_interface *intf) in ksdazzle_disconnect() argument
736 struct ksdazzle_cb *kingsun = usb_get_intfdata(intf); in ksdazzle_disconnect()
761 usb_set_intfdata(intf, NULL); in ksdazzle_disconnect()
766 static int ksdazzle_suspend(struct usb_interface *intf, pm_message_t message) in ksdazzle_suspend() argument
768 struct ksdazzle_cb *kingsun = usb_get_intfdata(intf); in ksdazzle_suspend()
781 static int ksdazzle_resume(struct usb_interface *intf) in ksdazzle_resume() argument
783 struct ksdazzle_cb *kingsun = usb_get_intfdata(intf); in ksdazzle_resume()