Searched refs:bmAttributes (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/tools/usb_gadget/
H A Decho_gadget.py36 bmAttributes=0x80,
47 bmAttributes=usb_constants.TransferType.INTERRUPT,
53 bmAttributes=usb_constants.TransferType.INTERRUPT,
68 bmAttributes=usb_constants.TransferType.BULK,
74 bmAttributes=usb_constants.TransferType.BULK,
97 bmAttributes=usb_constants.TransferType.ISOCHRONOUS,
103 bmAttributes=usb_constants.TransferType.ISOCHRONOUS,
110 bmAttributes=0x80,
122 bmAttributes=usb_constants.TransferType.INTERRUPT,
128 bmAttributes
[all...]
H A Ddefault_gadget.py25 bmAttributes=0x80,
29 bmAttributes=0x80,
H A Dhid_gadget.py55 bmAttributes=0x80,
66 bmAttributes=0x80,
89 bmAttributes=usb_constants.TransferType.INTERRUPT,
101 bmAttributes=usb_constants.TransferType.INTERRUPT,
109 bmAttributes=usb_constants.TransferType.INTERRUPT,
115 bmAttributes=usb_constants.TransferType.INTERRUPT,
H A Dusb_descriptors_test.py142 bmAttributes=0xC0,
152 bmAttributes=0x02,
157 bmAttributes=0x02,
162 bmAttributes=0x01,
175 bmAttributes=0x02,
189 bmAttributes=0xC0,
H A Dgadget_test.py26 bmAttributes=0xC0, variable
36 bmAttributes=usb_constants.TransferType.BULK, variable
44 bmAttributes=usb_constants.TransferType.BULK, variable
58 bmAttributes=usb_constants.TransferType.INTERRUPT, variable
66 bmAttributes=usb_constants.TransferType.INTERRUPT, variable
73 bmAttributes=0xC0, variable
83 bmAttributes=usb_constants.TransferType.BULK, variable
91 bmAttributes=usb_constants.TransferType.BULK, variable
105 bmAttributes=usb_constants.TransferType.INTERRUPT, variable
113 bmAttributes variable
[all...]
H A Dlinux_gadgetfs.py212 endpoint_desc.bmAttributes & usb_constants.TransferType.MASK]
231 bmAttributes=0,
/external/kernel-headers/original/uapi/linux/usb/
H A Dch9.h322 __u8 bmAttributes; member in struct:usb_config_descriptor
328 /* from config descriptor bmAttributes */
374 __u8 bmAttributes; member in struct:usb_endpoint_descriptor
394 #define USB_ENDPOINT_XFERTYPE_MASK 0x03 /* in bmAttributes */
401 /* The USB 3.0 spec redefines bits 5:4 of bmAttributes as interrupt ep type. */
439 return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK;
474 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) ==
487 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) ==
501 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) ==
515 return ((epd->bmAttributes
622 __u8 bmAttributes; member in struct:usb_ss_ep_comp_descriptor
674 __u8 bmAttributes; /* support for HNP, SRP, etc */ member in struct:usb_otg_descriptor
781 __u8 bmAttributes; member in struct:usb_wireless_cap_descriptor
809 __le32 bmAttributes; member in struct:usb_ext_cap_descriptor
829 __u8 bmAttributes; member in struct:usb_ss_cap_descriptor
[all...]
H A Dfunctionfs.h25 __u8 bmAttributes; member in struct:usb_endpoint_descriptor_no_audio
H A Daudio.h521 __u8 bmAttributes; member in struct:uac_iso_endpoint_descriptor
/external/chromium_org/device/usb/
H A Dusb_device_impl.cc60 switch (descriptor->bmAttributes & LIBUSB_ISO_SYNC_TYPE_MASK) {
76 switch (descriptor->bmAttributes & LIBUSB_TRANSFER_TYPE_MASK) {
92 switch (descriptor->bmAttributes & LIBUSB_ISO_USAGE_TYPE_MASK) {
264 (platform_config->bmAttributes & 0x40) != 0;
266 (platform_config->bmAttributes & 0x20) != 0;
/external/libusb-compat/examples/
H A Dtestlibusb.c16 printf(" bmAttributes: %02xh\n", endpoint->bmAttributes);
55 printf(" bmAttributes: %02xh\n", config->bmAttributes);
/external/libusb-compat/libusb/
H A Dusb.h110 u_int8_t bmAttributes; member in struct:usb_endpoint_descriptor
123 #define USB_ENDPOINT_TYPE_MASK 0x03 /* in bmAttributes */
164 u_int8_t bmAttributes; member in struct:usb_config_descriptor
/external/chromium_org/third_party/libusb/src/libusb/
H A Dlibusb.h332 #define LIBUSB_TRANSFER_TYPE_MASK 0x03 /* in bmAttributes */
336 * \ref libusb_endpoint_descriptor::bmAttributes "endpoint attributes" field.
440 * \ref libusb_endpoint_descriptor::bmAttributes "bmAttributes" field in
461 * \ref libusb_endpoint_descriptor::bmAttributes "bmAttributes" field in
556 uint8_t bmAttributes; member in struct:libusb_endpoint_descriptor
668 uint8_t bmAttributes; member in struct:libusb_config_descriptor
712 uint8_t bmAttributes; member in struct:libusb_ss_endpoint_companion_descriptor
797 uint32_t bmAttributes; member in struct:libusb_usb_2_0_extension_descriptor
823 uint8_t bmAttributes; member in struct:libusb_ss_usb_device_capability_descriptor
[all...]
H A Dcore.c957 ep_type = (enum libusb_transfer_type) (ep->bmAttributes & 0x3);
/external/libusb/libusb/
H A Dlibusb.h162 #define LIBUSB_TRANSFER_TYPE_MASK 0x03 /* in bmAttributes */
166 * \ref libusb_endpoint_descriptor::bmAttributes "endpoint attributes" field.
263 * \ref libusb_endpoint_descriptor::bmAttributes "bmAttributes" field in
284 * \ref libusb_endpoint_descriptor::bmAttributes "bmAttributes" field in
379 uint8_t bmAttributes; member in struct:libusb_endpoint_descriptor
491 uint8_t bmAttributes; member in struct:libusb_config_descriptor
H A Dcore.c785 ep_type = ep->bmAttributes & 0x3;
/external/chromium_org/third_party/libusb/src/libusb/os/
H A Dwindows_usb.h450 UCHAR bmAttributes; member in struct:USB_CONFIGURATION_DESCRIPTOR
472 UCHAR bmAttributes; member in struct:USB_ENDPOINT_DESCRIPTOR
H A Dwindows_usb.c3224 cd->bmAttributes = 1 << 7; /* bus powered */
3244 ed->bmAttributes = 3;
3254 ed->bmAttributes = 3;
/external/libmtp/src/
H A Dlibusb-glue.c1748 if (ep[k].bmAttributes==USB_ENDPOINT_TYPE_BULK) {
1760 } else if (ep[k].bmAttributes==USB_ENDPOINT_TYPE_INTERRUPT){

Completed in 157 milliseconds