/Linux-v4.19/include/uapi/linux/usb/ |
D | ch9.h | 353 __u8 bmAttributes; member 405 __u8 bmAttributes; member 476 return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_endpoint_type() 511 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_bulk() 524 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_control() 538 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_int() 552 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_isoc() 662 return epd->bmAttributes & USB_ENDPOINT_INTRTYPE; in usb_endpoint_interrupt_type() 687 __u8 bmAttributes; member 702 max_streams = comp->bmAttributes & 0x1f; in usb_ss_max_streams() [all …]
|
/Linux-v4.19/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 | 113 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in msg_do_config() 136 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
D | printer.c | 111 .bmAttributes = USB_CONFIG_ATT_ONE | USB_CONFIG_ATT_SELFPOWER, 125 printer_cfg_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in printer_do_config()
|
/Linux-v4.19/drivers/usb/gadget/function/ |
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_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_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_ecm.c | 192 .bmAttributes = USB_ENDPOINT_XFER_INT, 202 .bmAttributes = USB_ENDPOINT_XFER_BULK, 210 .bmAttributes = USB_ENDPOINT_XFER_BULK, 239 .bmAttributes = USB_ENDPOINT_XFER_INT, 249 .bmAttributes = USB_ENDPOINT_XFER_BULK, 258 .bmAttributes = USB_ENDPOINT_XFER_BULK, 288 .bmAttributes = USB_ENDPOINT_XFER_INT, 308 .bmAttributes = USB_ENDPOINT_XFER_BULK, 317 .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_eem.c | 61 .bmAttributes = USB_ENDPOINT_XFER_BULK, 69 .bmAttributes = USB_ENDPOINT_XFER_BULK, 87 .bmAttributes = USB_ENDPOINT_XFER_BULK, 96 .bmAttributes = USB_ENDPOINT_XFER_BULK, 115 .bmAttributes = USB_ENDPOINT_XFER_BULK, 124 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
D | f_rndis.c | 190 .bmAttributes = USB_ENDPOINT_XFER_INT, 200 .bmAttributes = USB_ENDPOINT_XFER_BULK, 208 .bmAttributes = USB_ENDPOINT_XFER_BULK, 236 .bmAttributes = USB_ENDPOINT_XFER_INT, 246 .bmAttributes = USB_ENDPOINT_XFER_BULK, 255 .bmAttributes = USB_ENDPOINT_XFER_BULK, 284 .bmAttributes = USB_ENDPOINT_XFER_INT, 304 .bmAttributes = USB_ENDPOINT_XFER_BULK, 313 .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-v4.19/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-v4.19/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-v4.19/tools/usb/ |
D | ffs-test.c | 160 .bmAttributes = USB_ENDPOINT_XFER_BULK, 167 .bmAttributes = USB_ENDPOINT_XFER_BULK, 184 .bmAttributes = USB_ENDPOINT_XFER_BULK, 191 .bmAttributes = USB_ENDPOINT_XFER_BULK, 209 .bmAttributes = USB_ENDPOINT_XFER_BULK, 216 .bmAttributes = 0, 223 .bmAttributes = USB_ENDPOINT_XFER_BULK, 231 .bmAttributes = 0,
|
/Linux-v4.19/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-v4.19/drivers/usb/gadget/ |
D | config.c | 104 cp->bmAttributes |= USB_CONFIG_ATT_ONE; in usb_gadget_config_buf() 245 otg20_desc->bmAttributes = otg_attributes; in usb_otg_descriptor_init() 251 otg1x_desc->bmAttributes = otg_attributes; in usb_otg_descriptor_init()
|
/Linux-v4.19/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-v4.19/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()
|
/Linux-v4.19/include/linux/usb/ |
D | wusb-wa.h | 160 u8 bmAttributes; member 285 u8 bmAttributes; /* Reserved == 0 */ member
|