| /linux/drivers/usb/gadget/legacy/ |
| H A D | zero.c | 220 .bmAttributes = USB_CONFIG_ATT_SELFPOWER, 240 .bmAttributes = USB_CONFIG_ATT_SELFPOWER, 334 sourcesink_driver.bmAttributes &= ~USB_CONFIG_ATT_WAKEUP; in zero_bind() 335 loopback_driver.bmAttributes &= ~USB_CONFIG_ATT_WAKEUP; in zero_bind() 339 sourcesink_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind() 340 loopback_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind() 359 sourcesink_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind() 361 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,
|
| H A 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()
|
| H A D | ncm.c | 101 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in ncm_do_config() 122 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
| H A 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()
|
| H A D | mass_storage.c | 112 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in msg_do_config() 133 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
| H A D | cdc2.c | 95 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in cdc_do_config() 133 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
| H A D | acm_ms.c | 112 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in acm_ms_do_config() 147 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
| /linux/sound/usb/ |
| H A D | implicit.c | 129 (epd->bmAttributes & USB_ENDPOINT_USAGE_MASK) != in add_generic_uac2_implicit_fb() 158 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in add_roland_implicit_fb() 169 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in add_roland_implicit_fb() 187 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in add_roland_capture_quirk() 221 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in is_pioneer_implicit_fb() 226 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC || in is_pioneer_implicit_fb() 227 ((epd->bmAttributes & USB_ENDPOINT_USAGE_MASK) != in is_pioneer_implicit_fb() 229 (epd->bmAttributes & USB_ENDPOINT_USAGE_MASK) != in is_pioneer_implicit_fb() 253 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in __add_generic_implicit_fb()
|
| /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_uac2.c | 164 .bmAttributes = UAC_CLOCK_SOURCE_TYPE_INT_FIXED, 176 .bmAttributes = UAC_CLOCK_SOURCE_TYPE_INT_FIXED, 257 .bmAttributes = USB_ENDPOINT_XFER_INT, 266 .bmAttributes = USB_ENDPOINT_XFER_INT, 276 .bmAttributes = USB_ENDPOINT_XFER_INT, 366 .bmAttributes = 0, 376 .bmAttributes = 0, 388 .bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_USAGE_FEEDBACK, 397 .bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_USAGE_FEEDBACK, 407 .bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_USAGE_FEEDBACK, [all …]
|
| 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,
|
| H A 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/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 …]
|
| /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,
|
| /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,
|
| /linux/tools/usb/ffs-aio-example/multibuff/device_app/ |
| H A 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/net/9p/ |
| H A D | trans_usbg.c | 546 .bmAttributes = USB_ENDPOINT_XFER_BULK, 554 .bmAttributes = USB_ENDPOINT_XFER_BULK, 570 .bmAttributes = USB_ENDPOINT_XFER_BULK, 578 .bmAttributes = USB_ENDPOINT_XFER_BULK, 595 .bmAttributes = USB_ENDPOINT_XFER_BULK, 603 .bmAttributes = 0, 611 .bmAttributes = USB_ENDPOINT_XFER_BULK, 619 .bmAttributes = 0,
|
| /linux/drivers/usb/image/ |
| H A 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/drivers/usb/gadget/ |
| H A D | config.c | 202 otg20_desc->bmAttributes = otg_attributes; in usb_otg_descriptor_init() 208 otg1x_desc->bmAttributes = otg_attributes; in usb_otg_descriptor_init()
|
| H A D | composite.c | 253 _ep->mult = (comp_desc->bmAttributes & 0x3) + 1; in config_ep_by_speed_and_alt() 534 if (c->MaxPower || (c->bmAttributes & USB_CONFIG_ATT_SELFPOWER)) in encode_bMaxPower() 553 if (USB_CONFIG_ATT_WAKEUP & c->bmAttributes) { in check_remote_wakeup_config() 558 c->bmAttributes &= ~USB_CONFIG_ATT_WAKEUP; in check_remote_wakeup_config() 581 c->bmAttributes = USB_CONFIG_ATT_ONE | config->bmAttributes; in config_buf() 772 usb_ext->bmAttributes = cpu_to_le32(USB_LPM_SUPPORT | in bos_desc() 789 ss_cap->bmAttributes = 0; /* LTM is not supported yet */ in bos_desc() 825 ssp_cap->bmAttributes = in bos_desc() 1038 if (c->MaxPower || (c->bmAttributes & USB_CONFIG_ATT_SELFPOWER)) in set_config() 1048 if (USB_CONFIG_ATT_WAKEUP & c->bmAttributes) in set_config() [all …]
|