Lines Matching +full:srp +full:- +full:capable
8 * - the master/host side Linux-USB kernel driver API;
9 * - the "usbfs" user space API; and
10 * - the Linux "gadget" slave/device/peripheral side driver API.
24 * [b] so that accessing bigger-than-a-bytes fields will never
29 * someone that the two other points are non-issues for that
40 /*-------------------------------------------------------------------------*/
132 * See USB 2.0 spec Table 9-7
142 * See USB 3.0 spec Table 9-6
151 * Suspend Options, Table 9-7 USB 3.0 spec
164 * struct usb_ctrlrequest - SETUP data for a USB device control request
172 * the different fields of the USB 2.0 Spec section 9.3, table 9-2. See the
188 /*-------------------------------------------------------------------------*/
194 * Note that all multi-byte values here are encoded in little endian
196 * through the Linux-USB APIs, they are not converted to cpu byte
235 /* Conventional codes for class-specific descriptors. The convention is
252 /*-------------------------------------------------------------------------*/
301 /*-------------------------------------------------------------------------*/
306 * descriptor type is different. Highspeed-capable devices can look
331 /*-------------------------------------------------------------------------*/
338 __le16 wData[1]; /* UTF-16LE encoded */
345 /*-------------------------------------------------------------------------*/
363 /*-------------------------------------------------------------------------*/
443 /*-------------------------------------------------------------------------*/
446 * usb_endpoint_num - get the endpoint's number
453 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num()
457 * usb_endpoint_type - get the endpoint's transfer type
465 return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_endpoint_type()
469 * usb_endpoint_dir_in - check if the endpoint has IN direction
476 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in()
480 * usb_endpoint_dir_out - check if the endpoint has OUT direction
488 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out()
492 * usb_endpoint_xfer_bulk - check if the endpoint has bulk transfer type
500 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_bulk()
505 * usb_endpoint_xfer_control - check if the endpoint has control transfer type
513 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_control()
518 * usb_endpoint_xfer_int - check if the endpoint has interrupt transfer type
527 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_int()
532 * usb_endpoint_xfer_isoc - check if the endpoint has isochronous transfer type
541 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_isoc()
546 * usb_endpoint_is_bulk_in - check if the endpoint is bulk IN
559 * usb_endpoint_is_bulk_out - check if the endpoint is bulk OUT
572 * usb_endpoint_is_int_in - check if the endpoint is interrupt IN
585 * usb_endpoint_is_int_out - check if the endpoint is interrupt OUT
598 * usb_endpoint_is_isoc_in - check if the endpoint is isochronous IN
611 * usb_endpoint_is_isoc_out - check if the endpoint is isochronous OUT
624 * usb_endpoint_maxp - get endpoint's max packet size
631 return __le16_to_cpu(get_unaligned(&epd->wMaxPacketSize)); in usb_endpoint_maxp()
635 * usb_endpoint_maxp_mult - get endpoint's transactional opportunities
643 int maxp = __le16_to_cpu(epd->wMaxPacketSize); in usb_endpoint_maxp_mult()
651 return epd->bmAttributes & USB_ENDPOINT_INTRTYPE; in usb_endpoint_interrupt_type()
654 /*-------------------------------------------------------------------------*/
677 max_streams = comp->bmAttributes & 0x1f; in usb_ss_max_streams()
690 /*-------------------------------------------------------------------------*/
707 /*-------------------------------------------------------------------------*/
714 __u8 bmAttributes; /* support for HNP, SRP, etc */
721 /*-------------------------------------------------------------------------*/
733 /*-------------------------------------------------------------------------*/
749 /*-------------------------------------------------------------------------*/
762 /*-------------------------------------------------------------------------*/
776 /*-------------------------------------------------------------------------*/
785 #define USB_ENC_TYPE_WIRED 1 /* non-wireless mode */
793 /*-------------------------------------------------------------------------*/
795 /* USB_DT_BOS: group of device-level capabilities */
805 /*-------------------------------------------------------------------------*/
893 __u8 ContainerID[16]; /* 128-bit number */
897 /*-------------------------------------------------------------------------*/
918 /*-------------------------------------------------------------------------*/
920 /* USB_REQ_SET_HANDSHAKE is a four-way handshake used between a wireless
934 /*-------------------------------------------------------------------------*/
937 * A CC may also be set up using non-wireless secure channels (including
946 /*-------------------------------------------------------------------------*/
961 * usb_speed_string() - Returns human readable-name of the speed.
962 * @speed: The speed to return human-readable name for. If it's not
1040 /*-------------------------------------------------------------------------*/
1044 * more than 100mA from USB must report itself as bus-powered in
1051 * struct usb_string - wraps a C string and its USB id
1053 * @s:the string, in UTF-8 encoding