Lines Matching defs:interface

455 	 * Terminate all URBs for this interface unless the driver
481 /* Reset other interface state.
521 * usb_driver_claim_interface - bind a driver to an interface
523 * @iface: the interface to which it will be bound; must be in the
525 * @data: driver data associated with that interface
528 * interface on a device when probing (audio and acm are current examples).
551 /* reject claim if interface is not authorized */
573 /* if interface was already added, bind now; else let
599 * usb_driver_release_interface - unbind a driver from an interface
601 * @iface: the interface from which it will be unbound
603 * This can be used by drivers to release an interface without waiting
626 /* Release via the driver core only if the interface
681 /* The interface class, subclass, protocol and number should never be
712 int usb_match_one_id(struct usb_interface *interface,
722 intf = interface->cur_altsetting;
723 dev = interface_to_usbdev(interface);
733 * usb_match_id - find first usb_device_id matching device or interface
734 * @interface: the interface of interest
738 * the first one matching the device or interface, or null.
739 * This is used when binding (or rebinding) a driver to an interface.
752 * in the device or interface descriptor, or else the device_id
760 * decide whether to bind to the specified interface.
781 * where bDeviceClass doesn't specify that each interface has
784 * Matches based on interface class/subclass/protocol are the
785 * most general; they let drivers bind to any interface on a
787 * macro, or its siblings, to match class-per-interface style
791 * any interface if the device class is set to Vendor-Specific.
793 * the interface class/subclass/protocol for these devices are also
796 * interface-based match for such a device, create a match record
805 const struct usb_device_id *usb_match_id(struct usb_interface *interface,
816 device and interface. */
819 if (usb_match_one_id(interface, id))
865 /* interface drivers never match devices */
973 * usb_register_device_driver - register a USB device (not interface) driver
1019 * usb_deregister_device_driver - unregister a USB device (not interface) driver
1035 * usb_register_driver - register a USB interface driver
1036 * @new_driver: USB operations for the interface driver
1040 * Registers a USB interface driver with the USB core. The list of
1076 pr_info("%s: registered new interface driver %s\n",
1085 pr_err("%s: error %d registering interface driver %s\n",
1092 * usb_deregister - unregister a USB interface driver
1093 * @driver: USB operations of the interface driver to unregister
1104 pr_info("%s: deregistering interface driver %s\n",
1113 /* Forced unbinding of a USB interface driver, either because
1126 /* Mark the interface for later rebinding */
1145 intf = config->interface[i];
1152 /* Delayed forced unbinding of a USB interface driver and scan
1168 /* Try to rebind the interface */
1192 intf = config->interface[i];
1230 intf = config->interface[i];
1348 /* Don't resume if the interface is marked for rebinding */
1383 * suspend methods for all the interface drivers in @udev and then calls
1393 * Autosuspend requests originating from a child device or an interface
1418 intf = udev->actconfig->interface[i];
1464 intf = udev->actconfig->interface[i];
1492 * the interface drivers in @udev.
1494 * Autoresume requests originating from a child device or an interface
1524 intf = udev->actconfig->interface[i];
1551 * Enable remote wakeup if it is allowed, even if no interface
1723 * usb_autopm_put_interface - decrement a USB interface's PM-usage counter
1726 * This routine should be called by an interface driver when it is
1751 * usb_autopm_put_interface_async - decrement a USB interface's PM-usage counter
1779 * usb_autopm_put_interface_no_suspend - decrement a USB interface's PM-usage counter
1797 * usb_autopm_get_interface - increment a USB interface's PM-usage counter
1800 * This routine should be called by an interface driver when it wants to
1830 * usb_autopm_get_interface_async - increment a USB interface's PM-usage counter
1863 * usb_autopm_get_interface_no_resume - increment a USB interface's PM-usage counter
1890 * any interface drivers require remote wakeup but it isn't available.
1895 intf = udev->actconfig->interface[i];
1909 * a reset-resume and any of its interface drivers