/kernel/linux/linux-5.10/include/uapi/linux/usb/ |
H A D | ch9.h | 357 __u8 bmAttributes; member 363 /* from config descriptor bmAttributes */ 412 __u8 bmAttributes; member 432 #define USB_ENDPOINT_XFERTYPE_MASK 0x03 /* in bmAttributes */ 445 /* The USB 3.0 spec redefines bits 5:4 of bmAttributes as interrupt ep type. */ 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 in usb_endpoint_xfer_isoc() 694 __u8 bmAttributes; global() member 748 __u8 bmAttributes; /* support for HNP, SRP, etc */ global() member 756 __u8 bmAttributes; /* support for HNP, SRP and ADP, etc */ global() member 869 __u8 bmAttributes; global() member 899 __le32 bmAttributes; global() member 921 __u8 bmAttributes; global() member 960 __le32 bmAttributes; global() member 1008 __le32 bmAttributes; global() member [all...] |
/kernel/linux/linux-6.6/include/uapi/linux/usb/ |
H A D | ch9.h | 354 __u8 bmAttributes; member 360 /* from config descriptor bmAttributes */ 412 __u8 bmAttributes; member 432 #define USB_ENDPOINT_XFERTYPE_MASK 0x03 /* in bmAttributes */ 445 /* The USB 3.0 spec redefines bits 5:4 of bmAttributes as interrupt ep type. */ 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 in usb_endpoint_xfer_isoc() 694 __u8 bmAttributes; global() member 748 __u8 bmAttributes; /* support for HNP, SRP, etc */ global() member 756 __u8 bmAttributes; /* support for HNP, SRP and ADP, etc */ global() member 869 __u8 bmAttributes; global() member 899 __le32 bmAttributes; global() member 921 __u8 bmAttributes; global() member 976 __le32 bmAttributes; global() member 1028 __le32 bmAttributes; global() member [all...] |
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/usb/ |
H A D | ch9.h | 177 __u8 bmAttributes; member 206 __u8 bmAttributes; member 247 return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_endpoint_type() 261 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_bulk() 267 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_control() 273 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_int() 279 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_isoc() 325 return epd->bmAttributes & USB_ENDPOINT_INTRTYPE; in usb_endpoint_interrupt_type() 338 __u8 bmAttributes; member 348 max_streams = comp->bmAttributes in usb_ss_max_streams() 370 __u8 bmAttributes; global() member 375 __u8 bmAttributes; global() member 441 __u8 bmAttributes; global() member 467 __le32 bmAttributes; global() member 481 __u8 bmAttributes; global() member 508 __le32 bmAttributes; global() member 533 __le32 bmAttributes; global() member [all...] |
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/usb/ |
H A D | ch9.h | 194 __u8 bmAttributes; member 224 __u8 bmAttributes; member 267 __u8 bmAttributes; member 287 __u8 bmAttributes; member 292 __u8 bmAttributes; member 357 __u8 bmAttributes; member 383 __le32 bmAttributes; member 399 __u8 bmAttributes; member 426 __le32 bmAttributes; member 451 __le32 bmAttributes; member [all...] |
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/usb/ |
H A D | ch9.h | 194 __u8 bmAttributes; member 224 __u8 bmAttributes; member 267 __u8 bmAttributes; member 287 __u8 bmAttributes; member 292 __u8 bmAttributes; member 357 __u8 bmAttributes; member 383 __le32 bmAttributes; member 399 __u8 bmAttributes; member 426 __le32 bmAttributes; member 451 __le32 bmAttributes; member [all...] |
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
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_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 [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_acm.c | 166 .bmAttributes = USB_ENDPOINT_XFER_INT, 175 .bmAttributes = USB_ENDPOINT_XFER_BULK, 182 .bmAttributes = USB_ENDPOINT_XFER_BULK, 204 .bmAttributes = USB_ENDPOINT_XFER_INT, 212 .bmAttributes = USB_ENDPOINT_XFER_BULK, 219 .bmAttributes = USB_ENDPOINT_XFER_BULK, 240 .bmAttributes = USB_ENDPOINT_XFER_BULK, 247 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
H A D | f_eem.c | 66 .bmAttributes = USB_ENDPOINT_XFER_BULK, 74 .bmAttributes = USB_ENDPOINT_XFER_BULK, 92 .bmAttributes = USB_ENDPOINT_XFER_BULK, 101 .bmAttributes = USB_ENDPOINT_XFER_BULK, 120 .bmAttributes = USB_ENDPOINT_XFER_BULK, 129 .bmAttributes = USB_ENDPOINT_XFER_BULK, 139 /* .bmAttributes = 0, */
|
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, 217 /* .bmAttributes = 0, */
|
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
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_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 [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_uac2.c | 177 .bmAttributes = UAC_CLOCK_SOURCE_TYPE_INT_FIXED, 189 .bmAttributes = UAC_CLOCK_SOURCE_TYPE_INT_FIXED, 270 .bmAttributes = USB_ENDPOINT_XFER_INT, 279 .bmAttributes = USB_ENDPOINT_XFER_INT, 289 .bmAttributes = USB_ENDPOINT_XFER_INT, 351 /* .bmAttributes = DYNAMIC */ 360 /* .bmAttributes = DYNAMIC */ 370 /* .bmAttributes = DYNAMIC */ 379 .bmAttributes = 0, 389 .bmAttributes [all...] |
H A D | f_acm.c | 156 .bmAttributes = USB_ENDPOINT_XFER_INT, 165 .bmAttributes = USB_ENDPOINT_XFER_BULK, 172 .bmAttributes = USB_ENDPOINT_XFER_BULK, 194 .bmAttributes = USB_ENDPOINT_XFER_INT, 202 .bmAttributes = USB_ENDPOINT_XFER_BULK, 209 .bmAttributes = USB_ENDPOINT_XFER_BULK, 230 .bmAttributes = USB_ENDPOINT_XFER_BULK, 237 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
/kernel/linux/linux-5.10/drivers/usb/core/ |
H A D | config.c | 92 * Leave bmAttributes as zero, which will mean no streams for in usb_parse_ss_endpoint_companion() 127 desc->bmAttributes != 0) { in usb_parse_ss_endpoint_companion() 128 dev_notice(ddev, "%s endpoint with bmAttributes = %d in " 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() [all...] |
/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | config.c | 92 * Leave bmAttributes as zero, which will mean no streams for in usb_parse_ss_endpoint_companion() 127 desc->bmAttributes != 0) { in usb_parse_ss_endpoint_companion() 128 dev_notice(ddev, "%s endpoint with bmAttributes = %d in " 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() [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | pxa25x_udc.c | 438 if (ep->bmAttributes != desc->bmAttributes in pxa25x_ep_enable() 439 && ep->bmAttributes != USB_ENDPOINT_XFER_BULK in pxa25x_ep_enable() 440 && desc->bmAttributes != USB_ENDPOINT_XFER_INT) { in pxa25x_ep_enable() 446 if ((desc->bmAttributes == USB_ENDPOINT_XFER_BULK in pxa25x_ep_enable() 774 if (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC) { in read_fifo() 870 if (unlikely (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC in pxa25x_ep_queue() 1004 || ep->bmAttributes == USB_ENDPOINT_XFER_ISOC) { in pxa25x_ep_set_halt() 1091 | (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC in pxa25x_ep_fifo_flush() 1872 if (likely(ep->bmAttributes in handle_ep() [all...] |
/kernel/linux/linux-6.6/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 in handle_ep() [all...] |
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-6.6/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,
|