Lines Matching refs:interface
69 struct usb_interface *interface; member
297 struct usb_interface *interface = ar_usb->interface; in ath6kl_usb_setup_pipe_resources() local
298 struct usb_host_interface *iface_desc = interface->cur_altsetting; in ath6kl_usb_setup_pipe_resources()
605 usb_set_intfdata(ar_usb->interface, NULL); in ath6kl_usb_destroy()
613 static struct ath6kl_usb *ath6kl_usb_create(struct usb_interface *interface) in ath6kl_usb_create() argument
615 struct usb_device *dev = interface_to_usbdev(interface); in ath6kl_usb_create()
625 usb_set_intfdata(interface, ar_usb); in ath6kl_usb_create()
628 ar_usb->interface = interface; in ath6kl_usb_create()
660 static void ath6kl_usb_device_detached(struct usb_interface *interface) in ath6kl_usb_device_detached() argument
664 ar_usb = usb_get_intfdata(interface); in ath6kl_usb_device_detached()
1098 static int ath6kl_usb_probe(struct usb_interface *interface, in ath6kl_usb_probe() argument
1101 struct usb_device *dev = interface_to_usbdev(interface); in ath6kl_usb_probe()
1115 if (interface->cur_altsetting) in ath6kl_usb_probe()
1117 interface->cur_altsetting->desc.bInterfaceNumber); in ath6kl_usb_probe()
1125 ar_usb = ath6kl_usb_create(interface); in ath6kl_usb_probe()
1165 static void ath6kl_usb_remove(struct usb_interface *interface) in ath6kl_usb_remove() argument
1167 usb_put_dev(interface_to_usbdev(interface)); in ath6kl_usb_remove()
1168 ath6kl_usb_device_detached(interface); in ath6kl_usb_remove()
1173 static int ath6kl_usb_pm_suspend(struct usb_interface *interface, in ath6kl_usb_pm_suspend() argument
1177 device = usb_get_intfdata(interface); in ath6kl_usb_pm_suspend()
1183 static int ath6kl_usb_pm_resume(struct usb_interface *interface) in ath6kl_usb_pm_resume() argument
1186 device = usb_get_intfdata(interface); in ath6kl_usb_pm_resume()