Lines Matching refs:intf
538 struct usb_interface *intf, in usx2y_create_card() argument
551 err = snd_card_new(&intf->dev, index[dev], id[dev], THIS_MODULE, in usx2y_create_card()
576 static int us122l_usb_probe(struct usb_interface *intf, in us122l_usb_probe() argument
580 struct usb_device *device = interface_to_usbdev(intf); in us122l_usb_probe()
584 err = usx2y_create_card(device, intf, &card, device_id->driver_info); in us122l_usb_probe()
605 static int snd_us122l_probe(struct usb_interface *intf, in snd_us122l_probe() argument
608 struct usb_device *device = interface_to_usbdev(intf); in snd_us122l_probe()
619 intf, intf->cur_altsetting->desc.bInterfaceNumber); in snd_us122l_probe()
620 if (intf->cur_altsetting->desc.bInterfaceNumber != 1) in snd_us122l_probe()
623 err = us122l_usb_probe(usb_get_intf(intf), id, &card); in snd_us122l_probe()
625 usb_put_intf(intf); in snd_us122l_probe()
629 usb_set_intfdata(intf, card); in snd_us122l_probe()
633 static void snd_us122l_disconnect(struct usb_interface *intf) in snd_us122l_disconnect() argument
639 card = usb_get_intfdata(intf); in snd_us122l_disconnect()
665 static int snd_us122l_suspend(struct usb_interface *intf, pm_message_t message) in snd_us122l_suspend() argument
671 card = usb_get_intfdata(intf); in snd_us122l_suspend()
690 static int snd_us122l_resume(struct usb_interface *intf) in snd_us122l_resume() argument
697 card = usb_get_intfdata(intf); in snd_us122l_resume()