Lines Matching refs:interface
1182 &hif_dev->interface->dev, in ath9k_hif_usb_firmware_cb()
1210 static int send_eject_command(struct usb_interface *interface) in send_eject_command() argument
1212 struct usb_device *udev = interface_to_usbdev(interface); in send_eject_command()
1213 struct usb_host_interface *iface_desc = &interface->altsetting[0]; in send_eject_command()
1258 usb_set_intfdata(interface, NULL); in send_eject_command()
1262 static int ath9k_hif_usb_probe(struct usb_interface *interface, in ath9k_hif_usb_probe() argument
1265 struct usb_device *udev = interface_to_usbdev(interface); in ath9k_hif_usb_probe()
1270 return send_eject_command(interface); in ath9k_hif_usb_probe()
1281 hif_dev->interface = interface; in ath9k_hif_usb_probe()
1286 usb_set_intfdata(interface, hif_dev); in ath9k_hif_usb_probe()
1297 usb_set_intfdata(interface, NULL); in ath9k_hif_usb_probe()
1322 static void ath9k_hif_usb_disconnect(struct usb_interface *interface) in ath9k_hif_usb_disconnect() argument
1324 struct usb_device *udev = interface_to_usbdev(interface); in ath9k_hif_usb_disconnect()
1325 struct hif_device_usb *hif_dev = usb_get_intfdata(interface); in ath9k_hif_usb_disconnect()
1339 usb_set_intfdata(interface, NULL); in ath9k_hif_usb_disconnect()
1352 static int ath9k_hif_usb_suspend(struct usb_interface *interface, in ath9k_hif_usb_suspend() argument
1355 struct hif_device_usb *hif_dev = usb_get_intfdata(interface); in ath9k_hif_usb_suspend()
1372 static int ath9k_hif_usb_resume(struct usb_interface *interface) in ath9k_hif_usb_resume() argument
1374 struct hif_device_usb *hif_dev = usb_get_intfdata(interface); in ath9k_hif_usb_resume()