/openbmc/u-boot/include/linux/usb/ |
H A D | ch9.h | 319 __u8 bmAttributes; member 371 __u8 bmAttributes; member 465 return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_endpoint_type() 500 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_bulk() 513 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_control() 527 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_int() 541 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_isoc() 651 return epd->bmAttributes & USB_ENDPOINT_INTRTYPE; in usb_endpoint_interrupt_type() 662 __u8 bmAttributes; member 677 max_streams = comp->bmAttributes & 0x1f; in usb_ss_max_streams() [all …]
|
/openbmc/linux/include/uapi/linux/usb/ |
H A D | ch9.h | 354 __u8 bmAttributes; member 412 __u8 bmAttributes; member 483 return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_endpoint_type() 518 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_bulk() 531 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_control() 545 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_int() 559 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_isoc() 669 return epd->bmAttributes & USB_ENDPOINT_INTRTYPE; in usb_endpoint_interrupt_type() 694 __u8 bmAttributes; member 709 max_streams = comp->bmAttributes & 0x1f; in usb_ss_max_streams() [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | dev-hid.c | 103 .bmAttributes = USB_ENDPOINT_XFER_INT, 134 .bmAttributes = USB_ENDPOINT_XFER_INT, 164 .bmAttributes = USB_ENDPOINT_XFER_INT, 194 .bmAttributes = USB_ENDPOINT_XFER_INT, 225 .bmAttributes = USB_ENDPOINT_XFER_INT, 256 .bmAttributes = USB_ENDPOINT_XFER_INT, 272 .bmAttributes = USB_CFG_ATT_ONE | USB_CFG_ATT_WAKEUP, 289 .bmAttributes = USB_CFG_ATT_ONE | USB_CFG_ATT_WAKEUP, 306 .bmAttributes = USB_CFG_ATT_ONE | USB_CFG_ATT_WAKEUP, 323 .bmAttributes = USB_CFG_ATT_ONE | USB_CFG_ATT_WAKEUP, [all …]
|
H A D | desc.h | 45 uint8_t bmAttributes; member 59 uint8_t bmAttributes; member 68 uint8_t bmAttributes; member 87 uint8_t bmAttributes; member 124 uint8_t bmAttributes; member 165 uint8_t bmAttributes; member
|
H A D | dev-storage.c | 67 .bmAttributes = USB_ENDPOINT_XFER_BULK, 71 .bmAttributes = USB_ENDPOINT_XFER_BULK, 86 .bmAttributes = USB_CFG_ATT_ONE | USB_CFG_ATT_SELFPOWER, 102 .bmAttributes = USB_ENDPOINT_XFER_BULK, 106 .bmAttributes = USB_ENDPOINT_XFER_BULK, 121 .bmAttributes = USB_CFG_ATT_ONE | USB_CFG_ATT_SELFPOWER, 137 .bmAttributes = USB_ENDPOINT_XFER_BULK, 142 .bmAttributes = USB_ENDPOINT_XFER_BULK, 158 .bmAttributes = USB_CFG_ATT_ONE | USB_CFG_ATT_SELFPOWER,
|
/openbmc/linux/drivers/usb/gadget/legacy/ |
H A D | zero.c | 205 .bmAttributes = USB_CONFIG_ATT_SELFPOWER, 228 .bmAttributes = USB_CONFIG_ATT_SELFPOWER, 325 sourcesink_driver.bmAttributes &= ~USB_CONFIG_ATT_WAKEUP; in zero_bind() 326 loopback_driver.bmAttributes &= ~USB_CONFIG_ATT_WAKEUP; in zero_bind() 330 sourcesink_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind() 331 loopback_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind() 350 sourcesink_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind() 352 loopback_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind()
|
H A D | ether.c | 216 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in rndis_do_config() 234 .bmAttributes = USB_CONFIG_ATT_SELFPOWER, 258 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in eth_do_config() 299 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | storage_common.c | 392 .bmAttributes = USB_OTG_SRP, 421 .bmAttributes = USB_ENDPOINT_XFER_BULK, 431 .bmAttributes = USB_ENDPOINT_XFER_BULK, 443 .bmAttributes = USB_ENDPOINT_XFER_INT, 483 .bmAttributes = USB_ENDPOINT_XFER_BULK, 493 .bmAttributes = USB_ENDPOINT_XFER_BULK, 506 .bmAttributes = USB_ENDPOINT_XFER_INT,
|
H A D | pxa25x_udc.c | 310 if (ep->bmAttributes != desc->bmAttributes in pxa25x_ep_enable() 311 && ep->bmAttributes != USB_ENDPOINT_XFER_BULK in pxa25x_ep_enable() 312 && desc->bmAttributes != USB_ENDPOINT_XFER_INT) { in pxa25x_ep_enable() 318 if ((desc->bmAttributes == USB_ENDPOINT_XFER_BULK in pxa25x_ep_enable() 656 if (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC) { in read_fifo() 754 if (unlikely(ep->bmAttributes == USB_ENDPOINT_XFER_ISOC in pxa25x_ep_queue() 894 || ep->bmAttributes == USB_ENDPOINT_XFER_ISOC) { in pxa25x_ep_set_halt() 982 | (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC in pxa25x_ep_fifo_flush() 1480 if (likely(ep->bmAttributes == USB_ENDPOINT_XFER_BULK)) in handle_ep() 1489 if (likely(ep->bmAttributes == USB_ENDPOINT_XFER_BULK)) in handle_ep() [all …]
|
H A D | dwc2_udc_otg.c | 561 if (ep->bmAttributes != desc->bmAttributes in dwc2_ep_enable() 562 && ep->bmAttributes != USB_ENDPOINT_XFER_BULK in dwc2_ep_enable() 563 && desc->bmAttributes != USB_ENDPOINT_XFER_INT) { in dwc2_ep_enable() 570 if ((desc->bmAttributes == USB_ENDPOINT_XFER_BULK && in dwc2_ep_enable() 754 .bmAttributes = 0, 769 .bmAttributes = USB_ENDPOINT_XFER_BULK, 784 .bmAttributes = USB_ENDPOINT_XFER_BULK, 799 .bmAttributes = USB_ENDPOINT_XFER_INT,
|
/openbmc/linux/sound/usb/ |
H A D | implicit.c | 128 (epd->bmAttributes & USB_ENDPOINT_USAGE_MASK) != in add_generic_uac2_implicit_fb() 157 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in add_roland_implicit_fb() 168 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in add_roland_implicit_fb() 186 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in add_roland_capture_quirk() 220 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in is_pioneer_implicit_fb() 225 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC || in is_pioneer_implicit_fb() 226 ((epd->bmAttributes & USB_ENDPOINT_USAGE_MASK) != in is_pioneer_implicit_fb() 228 (epd->bmAttributes & USB_ENDPOINT_USAGE_MASK) != in is_pioneer_implicit_fb() 252 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in __add_generic_implicit_fb()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/ |
H A D | 0014-add-u3-ss-descriptor-support-for-adb.patch | 130 + .bmAttributes = USB_ENDPOINT_XFER_BULK, 137 + .bmAttributes = USB_ENDPOINT_XFER_BULK, 157 + .bmAttributes = USB_ENDPOINT_XFER_BULK, 164 + .bmAttributes = USB_ENDPOINT_XFER_BULK, 184 + .bmAttributes = USB_ENDPOINT_XFER_BULK, 207 - .bmAttributes = USB_ENDPOINT_XFER_BULK, 214 - .bmAttributes = USB_ENDPOINT_XFER_BULK, 221 + .bmAttributes = USB_ENDPOINT_XFER_BULK, 239 - .bmAttributes = USB_ENDPOINT_XFER_BULK, 246 - .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
/openbmc/u-boot/drivers/serial/ |
H A D | usbtty.c | 167 .bmAttributes = 219 .bmAttributes = USB_ENDPOINT_XFER_INT, 245 .bmAttributes = 256 .bmAttributes = 298 .bmAttributes = 325 .bmAttributes = USB_ENDPOINT_XFER_BULK, 335 .bmAttributes = USB_ENDPOINT_XFER_BULK, 345 .bmAttributes = USB_ENDPOINT_XFER_INT, 695 ep_descriptor_ptrs[i - 1]->bmAttributes; in usbtty_init_instances() 700 ep_descriptor_ptrs[i - 1]->bmAttributes; in usbtty_init_instances() [all …]
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_sourcesink.c | 87 .bmAttributes = USB_ENDPOINT_XFER_BULK, 95 .bmAttributes = USB_ENDPOINT_XFER_BULK, 103 .bmAttributes = USB_ENDPOINT_XFER_ISOC, 113 .bmAttributes = USB_ENDPOINT_XFER_ISOC, 137 .bmAttributes = USB_ENDPOINT_XFER_BULK, 145 .bmAttributes = USB_ENDPOINT_XFER_BULK, 153 .bmAttributes = USB_ENDPOINT_XFER_ISOC, 162 .bmAttributes = USB_ENDPOINT_XFER_ISOC, 186 .bmAttributes = USB_ENDPOINT_XFER_BULK, 195 .bmAttributes = 0, [all …]
|
H A D | f_loopback.c | 61 .bmAttributes = USB_ENDPOINT_XFER_BULK, 69 .bmAttributes = USB_ENDPOINT_XFER_BULK, 85 .bmAttributes = USB_ENDPOINT_XFER_BULK, 93 .bmAttributes = USB_ENDPOINT_XFER_BULK, 110 .bmAttributes = USB_ENDPOINT_XFER_BULK, 118 .bmAttributes = 0, 126 .bmAttributes = USB_ENDPOINT_XFER_BULK, 134 .bmAttributes = 0,
|
H A D | f_serial.c | 59 .bmAttributes = USB_ENDPOINT_XFER_BULK, 66 .bmAttributes = USB_ENDPOINT_XFER_BULK, 81 .bmAttributes = USB_ENDPOINT_XFER_BULK, 88 .bmAttributes = USB_ENDPOINT_XFER_BULK, 102 .bmAttributes = USB_ENDPOINT_XFER_BULK, 109 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
H A D | f_subset.c | 142 .bmAttributes = USB_ENDPOINT_XFER_BULK, 150 .bmAttributes = USB_ENDPOINT_XFER_BULK, 170 .bmAttributes = USB_ENDPOINT_XFER_BULK, 178 .bmAttributes = USB_ENDPOINT_XFER_BULK, 199 .bmAttributes = USB_ENDPOINT_XFER_BULK, 207 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
H A D | storage_common.c | 55 .bmAttributes = USB_ENDPOINT_XFER_BULK, 65 .bmAttributes = USB_ENDPOINT_XFER_BULK, 90 .bmAttributes = USB_ENDPOINT_XFER_BULK, 100 .bmAttributes = USB_ENDPOINT_XFER_BULK, 120 .bmAttributes = USB_ENDPOINT_XFER_BULK, 138 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
H A D | f_ecm.c | 182 .bmAttributes = USB_ENDPOINT_XFER_INT, 192 .bmAttributes = USB_ENDPOINT_XFER_BULK, 200 .bmAttributes = USB_ENDPOINT_XFER_BULK, 229 .bmAttributes = USB_ENDPOINT_XFER_INT, 239 .bmAttributes = USB_ENDPOINT_XFER_BULK, 248 .bmAttributes = USB_ENDPOINT_XFER_BULK, 278 .bmAttributes = USB_ENDPOINT_XFER_INT, 298 .bmAttributes = USB_ENDPOINT_XFER_BULK, 307 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | pxa25x_udc.c | 434 if (ep->bmAttributes != desc->bmAttributes in pxa25x_ep_enable() 435 && ep->bmAttributes != USB_ENDPOINT_XFER_BULK in pxa25x_ep_enable() 436 && desc->bmAttributes != USB_ENDPOINT_XFER_INT) { in pxa25x_ep_enable() 442 if ((desc->bmAttributes == USB_ENDPOINT_XFER_BULK in pxa25x_ep_enable() 770 if (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC) { in read_fifo() 866 if (unlikely (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC in pxa25x_ep_queue() 1003 || ep->bmAttributes == USB_ENDPOINT_XFER_ISOC) { in pxa25x_ep_set_halt() 1090 | (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC in pxa25x_ep_fifo_flush() 1834 if (likely(ep->bmAttributes == USB_ENDPOINT_XFER_BULK)) in handle_ep() 1843 if (likely(ep->bmAttributes == USB_ENDPOINT_XFER_BULK)) in handle_ep() [all …]
|
/openbmc/linux/drivers/usb/core/ |
H A D | config.c | 127 desc->bmAttributes != 0) { in usb_parse_ss_endpoint_companion() 132 desc->bmAttributes, in usb_parse_ss_endpoint_companion() 134 ep->ss_ep_comp.bmAttributes = 0; in usb_parse_ss_endpoint_companion() 136 desc->bmAttributes > 16) { in usb_parse_ss_endpoint_companion() 141 ep->ss_ep_comp.bmAttributes = 16; in usb_parse_ss_endpoint_companion() 143 !USB_SS_SSP_ISOC_COMP(desc->bmAttributes) && in usb_parse_ss_endpoint_companion() 144 USB_SS_MULT(desc->bmAttributes) > 3) { in usb_parse_ss_endpoint_companion() 148 USB_SS_MULT(desc->bmAttributes), in usb_parse_ss_endpoint_companion() 150 ep->ss_ep_comp.bmAttributes = 2; in usb_parse_ss_endpoint_companion() 155 (USB_SS_MULT(desc->bmAttributes)) * in usb_parse_ss_endpoint_companion() [all …]
|
/openbmc/linux/tools/usb/ |
H A D | ffs-test.c | 147 .bmAttributes = USB_ENDPOINT_XFER_BULK, 154 .bmAttributes = USB_ENDPOINT_XFER_BULK, 171 .bmAttributes = USB_ENDPOINT_XFER_BULK, 178 .bmAttributes = USB_ENDPOINT_XFER_BULK, 196 .bmAttributes = USB_ENDPOINT_XFER_BULK, 203 .bmAttributes = 0, 210 .bmAttributes = USB_ENDPOINT_XFER_BULK, 218 .bmAttributes = 0,
|
/openbmc/u-boot/drivers/usb/emul/ |
H A D | sandbox_keyb.c | 74 .bmAttributes = 1 << 7 | 1 << 5, 106 .bmAttributes = USB_ENDPOINT_XFER_BULK | 140 .bmAttributes = USB_ENDPOINT_XFER_BULK |
|
/openbmc/linux/tools/usb/ffs-aio-example/simple/device_app/ |
H A D | aio_simple.c | 101 .bmAttributes = USB_ENDPOINT_XFER_BULK, 107 .bmAttributes = USB_ENDPOINT_XFER_BULK, 123 .bmAttributes = USB_ENDPOINT_XFER_BULK, 130 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
/openbmc/linux/drivers/usb/gadget/ |
H A D | config.c | 104 cp->bmAttributes |= USB_CONFIG_ATT_ONE; in usb_gadget_config_buf() 255 otg20_desc->bmAttributes = otg_attributes; in usb_otg_descriptor_init() 261 otg1x_desc->bmAttributes = otg_attributes; in usb_otg_descriptor_init()
|