/Linux-v5.15/include/uapi/linux/usb/ |
D | ch9.h | 357 __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 …]
|
/Linux-v5.15/drivers/usb/gadget/legacy/ |
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()
|
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,
|
D | multi.c | 140 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in rndis_do_config() 189 .bmAttributes = USB_CONFIG_ATT_SELFPOWER, in rndis_config_register() 222 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in cdc_do_config() 272 .bmAttributes = USB_CONFIG_ATT_SELFPOWER, in cdc_config_register()
|
D | ncm.c | 101 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in ncm_do_config() 122 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
D | mass_storage.c | 112 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in msg_do_config() 133 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
/Linux-v5.15/sound/usb/ |
D | implicit.c | 132 (epd->bmAttributes & USB_ENDPOINT_USAGE_MASK) != in add_generic_uac2_implicit_fb() 161 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in add_roland_implicit_fb() 172 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in add_roland_implicit_fb() 190 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in add_roland_capture_quirk() 224 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in is_pioneer_implicit_fb() 229 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC || in is_pioneer_implicit_fb() 230 ((epd->bmAttributes & USB_ENDPOINT_USAGE_MASK) != in is_pioneer_implicit_fb() 232 (epd->bmAttributes & USB_ENDPOINT_USAGE_MASK) != in is_pioneer_implicit_fb() 256 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in __add_generic_implicit_fb()
|
/Linux-v5.15/drivers/usb/gadget/function/ |
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 …]
|
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,
|
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,
|
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,
|
D | storage_common.c | 54 .bmAttributes = USB_ENDPOINT_XFER_BULK, 64 .bmAttributes = USB_ENDPOINT_XFER_BULK, 89 .bmAttributes = USB_ENDPOINT_XFER_BULK, 99 .bmAttributes = USB_ENDPOINT_XFER_BULK, 119 .bmAttributes = USB_ENDPOINT_XFER_BULK, 137 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
D | f_uac2.c | 167 .bmAttributes = UAC_CLOCK_SOURCE_TYPE_INT_FIXED, 179 .bmAttributes = UAC_CLOCK_SOURCE_TYPE_INT_FIXED, 260 .bmAttributes = USB_ENDPOINT_XFER_INT, 269 .bmAttributes = USB_ENDPOINT_XFER_INT, 279 .bmAttributes = USB_ENDPOINT_XFER_INT, 363 .bmAttributes = 0, 373 .bmAttributes = 0, 385 .bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_USAGE_FEEDBACK, 394 .bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_USAGE_FEEDBACK, 404 .bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_USAGE_FEEDBACK, [all …]
|
D | f_ecm.c | 193 .bmAttributes = USB_ENDPOINT_XFER_INT, 203 .bmAttributes = USB_ENDPOINT_XFER_BULK, 211 .bmAttributes = USB_ENDPOINT_XFER_BULK, 240 .bmAttributes = USB_ENDPOINT_XFER_INT, 250 .bmAttributes = USB_ENDPOINT_XFER_BULK, 259 .bmAttributes = USB_ENDPOINT_XFER_BULK, 289 .bmAttributes = USB_ENDPOINT_XFER_INT, 309 .bmAttributes = USB_ENDPOINT_XFER_BULK, 318 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
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,
|
D | f_rndis.c | 192 .bmAttributes = USB_ENDPOINT_XFER_INT, 202 .bmAttributes = USB_ENDPOINT_XFER_BULK, 210 .bmAttributes = USB_ENDPOINT_XFER_BULK, 238 .bmAttributes = USB_ENDPOINT_XFER_INT, 248 .bmAttributes = USB_ENDPOINT_XFER_BULK, 257 .bmAttributes = USB_ENDPOINT_XFER_BULK, 286 .bmAttributes = USB_ENDPOINT_XFER_INT, 306 .bmAttributes = USB_ENDPOINT_XFER_BULK, 315 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
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,
|
D | f_obex.c | 130 .bmAttributes = USB_ENDPOINT_XFER_BULK, 139 .bmAttributes = USB_ENDPOINT_XFER_BULK, 163 .bmAttributes = USB_ENDPOINT_XFER_BULK, 171 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
/Linux-v5.15/drivers/usb/gadget/udc/ |
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 == USB_ENDPOINT_XFER_BULK)) in handle_ep() 1881 if (likely(ep->bmAttributes == USB_ENDPOINT_XFER_BULK)) in handle_ep() [all …]
|
/Linux-v5.15/drivers/usb/core/ |
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 …]
|
/Linux-v5.15/tools/usb/ |
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,
|
/Linux-v5.15/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 83 .bmAttributes = USB_ENDPOINT_XFER_BULK, 89 .bmAttributes = USB_ENDPOINT_XFER_BULK, 105 .bmAttributes = USB_ENDPOINT_XFER_BULK, 112 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
/Linux-v5.15/tools/usb/ffs-aio-example/multibuff/device_app/ |
D | aio_multibuff.c | 85 .bmAttributes = USB_ENDPOINT_XFER_BULK, 91 .bmAttributes = USB_ENDPOINT_XFER_BULK, 107 .bmAttributes = USB_ENDPOINT_XFER_BULK, 114 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
/Linux-v5.15/drivers/usb/gadget/ |
D | config.c | 104 cp->bmAttributes |= USB_CONFIG_ATT_ONE; in usb_gadget_config_buf() 257 otg20_desc->bmAttributes = otg_attributes; in usb_otg_descriptor_init() 263 otg1x_desc->bmAttributes = otg_attributes; in usb_otg_descriptor_init()
|
/Linux-v5.15/drivers/usb/image/ |
D | mdc800.c | 177 .bmAttributes = 0x02, 187 .bmAttributes = 0x03, 197 .bmAttributes = 0x02, 207 .bmAttributes = 0x02, 227 && ( a->bmAttributes == b->bmAttributes ) in mdc800_endpoint_equals()
|