Lines Matching refs:interface
1110 &hif_dev->interface->dev, in ath9k_hif_usb_firmware_cb()
1138 static int send_eject_command(struct usb_interface *interface) in send_eject_command() argument
1140 struct usb_device *udev = interface_to_usbdev(interface); in send_eject_command()
1141 struct usb_host_interface *iface_desc = &interface->altsetting[0]; in send_eject_command()
1186 usb_set_intfdata(interface, NULL); in send_eject_command()
1190 static int ath9k_hif_usb_probe(struct usb_interface *interface, in ath9k_hif_usb_probe() argument
1193 struct usb_device *udev = interface_to_usbdev(interface); in ath9k_hif_usb_probe()
1198 return send_eject_command(interface); in ath9k_hif_usb_probe()
1209 hif_dev->interface = interface; in ath9k_hif_usb_probe()
1214 usb_set_intfdata(interface, hif_dev); in ath9k_hif_usb_probe()
1241 usb_set_intfdata(interface, NULL); in ath9k_hif_usb_probe()
1266 static void ath9k_hif_usb_disconnect(struct usb_interface *interface) in ath9k_hif_usb_disconnect() argument
1268 struct usb_device *udev = interface_to_usbdev(interface); in ath9k_hif_usb_disconnect()
1269 struct hif_device_usb *hif_dev = usb_get_intfdata(interface); in ath9k_hif_usb_disconnect()
1283 usb_set_intfdata(interface, NULL); in ath9k_hif_usb_disconnect()
1296 static int ath9k_hif_usb_suspend(struct usb_interface *interface, in ath9k_hif_usb_suspend() argument
1299 struct hif_device_usb *hif_dev = usb_get_intfdata(interface); in ath9k_hif_usb_suspend()
1316 static int ath9k_hif_usb_resume(struct usb_interface *interface) in ath9k_hif_usb_resume() argument
1318 struct hif_device_usb *hif_dev = usb_get_intfdata(interface); in ath9k_hif_usb_resume()