Lines Matching full:descriptor

29 	/* Find the next descriptor of type dt1 or dt2 */  in find_next_descriptor()
53 * The SuperSpeedPlus Isoc endpoint companion descriptor immediately in usb_parse_ssp_isoc_endpoint_companion()
54 * follows the SuperSpeed Endpoint Companion descriptor in usb_parse_ssp_isoc_endpoint_companion()
75 * eUSB2 isochronous endpoint companion descriptor for this endpoint in usb_parse_eusb2_isoc_endpoint_companion()
76 * shall be declared before the next endpoint or interface descriptor in usb_parse_eusb2_isoc_endpoint_companion()
105 /* The SuperSpeed endpoint companion descriptor is supposed to in usb_parse_ss_endpoint_companion()
106 * be the first thing immediately following the endpoint descriptor. in usb_parse_ss_endpoint_companion()
112 "invalid SuperSpeed endpoint companion descriptor " in usb_parse_ss_endpoint_companion()
204 /* Parse a possible SuperSpeedPlus isoc ep companion descriptor */ in usb_parse_ss_endpoint_companion()
301 bcdUSB = le16_to_cpu(udev->descriptor.bcdUSB); in usb_parse_endpoint()
311 "invalid endpoint descriptor of length %d, skipping\n", in usb_parse_endpoint()
319 "invalid descriptor for endpoint zero, skipping\n", in usb_parse_endpoint()
328 /* Save a copy of the descriptor and use it instead of the original */ in usb_parse_endpoint()
337 …dev_notice(ddev, "config %d interface %d altsetting %d has an endpoint descriptor with address 0x%… in usb_parse_endpoint()
509 /* Parse a possible eUSB2 periodic endpoint companion descriptor */ in usb_parse_endpoint()
515 /* Parse a possible SuperSpeed endpoint companion descriptor */ in usb_parse_endpoint()
521 * find the next endpoint or interface descriptor */ in usb_parse_endpoint()
528 dev_dbg(ddev, "skipped %d descriptor%s after %s\n", in usb_parse_endpoint()
590 dev_notice(ddev, "Duplicate descriptor for config %d " in usb_parse_interface()
601 * find the first endpoint or interface descriptor */ in usb_parse_interface()
607 dev_dbg(ddev, "skipped %d descriptor%s after %s\n", in usb_parse_interface()
648 "endpoint descriptor%s, different from the interface " in usb_parse_interface()
649 "descriptor's value: %d\n", in usb_parse_interface()
682 dev_notice(ddev, "invalid descriptor for config index %d: " in usb_parse_configuration()
707 dev_notice(ddev, "config %d descriptor has %d excess " in usb_parse_configuration()
715 dev_notice(ddev, "config %d has an invalid descriptor " in usb_parse_configuration()
728 "interface descriptor of length %d, " in usb_parse_configuration()
771 "config %d has an invalid interface association descriptor of length %d, skipping\n", in usb_parse_configuration()
789 "descriptor of type 0x%X, skipping\n", in usb_parse_configuration()
798 "the descriptor's value: %d\n", in usb_parse_configuration()
833 /* FIXME: parse the BOS descriptor */ in usb_parse_configuration()
836 * find the first interface descriptor */ in usb_parse_configuration()
842 dev_dbg(ddev, "skipped %d descriptor%s after %s\n", in usb_parse_configuration()
887 for (i = 0; i < dev->descriptor.bNumConfigurations; i++) in usb_destroy_configuration()
894 for (c = 0; c < dev->descriptor.bNumConfigurations; c++) { in usb_destroy_configuration()
918 int ncfg = dev->descriptor.bNumConfigurations; in usb_get_configuration()
927 dev->descriptor.bNumConfigurations = ncfg = USB_MAXCONFIG; in usb_get_configuration()
950 /* We grab just the first descriptor so we know how long in usb_get_configuration()
956 "descriptor/%s: %d\n", cfgno, "start", result); in usb_get_configuration()
960 dev->descriptor.bNumConfigurations = cfgno; in usb_get_configuration()
963 dev_err(ddev, "config index %d descriptor too short " in usb_get_configuration()
986 "descriptor/%s\n", cfgno, "all"); in usb_get_configuration()
991 dev_notice(ddev, "config index %d descriptor too short " in usb_get_configuration()
1008 dev->descriptor.bNumConfigurations = cfgno; in usb_get_configuration()
1031 /* Get BOS descriptor set */
1044 dev_dbg(ddev, "skipping BOS descriptor\n"); in usb_get_bos_descriptor()
1052 /* Get BOS descriptor */ in usb_get_bos_descriptor()
1055 dev_notice(ddev, "unable to get BOS descriptor or descriptor too short\n"); in usb_get_bos_descriptor()
1073 /* Now let's get the whole BOS descriptor set */ in usb_get_bos_descriptor()
1083 dev_notice(ddev, "unable to get BOS descriptor set\n"); in usb_get_bos_descriptor()
1108 dev_notice(ddev, "descriptor type invalid, skip\n"); in usb_get_bos_descriptor()