| /drivers/usb/gadget/legacy/ |
| 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()
|
| 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,
|
| 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()
|
| A D | ncm.c | 101 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in ncm_do_config() 122 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
| A D | mass_storage.c | 112 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in msg_do_config() 133 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
| 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()
|
| A D | cdc2.c | 95 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in cdc_do_config() 133 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
| /drivers/usb/gadget/function/ |
| 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, 195 .bmAttributes = 0, 212 .bmAttributes = 0, 230 .bmAttributes = 0, [all …]
|
| 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,
|
| 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,
|
| 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,
|
| 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,
|
| A D | f_ecm.c | 183 .bmAttributes = USB_ENDPOINT_XFER_INT, 193 .bmAttributes = USB_ENDPOINT_XFER_BULK, 201 .bmAttributes = USB_ENDPOINT_XFER_BULK, 230 .bmAttributes = USB_ENDPOINT_XFER_INT, 240 .bmAttributes = USB_ENDPOINT_XFER_BULK, 249 .bmAttributes = USB_ENDPOINT_XFER_BULK, 279 .bmAttributes = USB_ENDPOINT_XFER_INT, 299 .bmAttributes = USB_ENDPOINT_XFER_BULK, 308 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
| A D | f_uac2.c | 366 .bmAttributes = 0, 376 .bmAttributes = 0, 416 .bmAttributes = 0, 500 .bmAttributes = 0, 510 .bmAttributes = 0, 1159 fs_epout_desc.bmAttributes = in afunc_bind() 1161 hs_epout_desc.bmAttributes = in afunc_bind() 1163 ss_epout_desc.bmAttributes = in afunc_bind() 1167 fs_epout_desc.bmAttributes = in afunc_bind() 1169 hs_epout_desc.bmAttributes = in afunc_bind() [all …]
|
| A D | f_rndis.c | 179 .bmAttributes = USB_ENDPOINT_XFER_INT, 189 .bmAttributes = USB_ENDPOINT_XFER_BULK, 197 .bmAttributes = USB_ENDPOINT_XFER_BULK, 225 .bmAttributes = USB_ENDPOINT_XFER_INT, 235 .bmAttributes = USB_ENDPOINT_XFER_BULK, 244 .bmAttributes = USB_ENDPOINT_XFER_BULK, 273 .bmAttributes = USB_ENDPOINT_XFER_INT, 293 .bmAttributes = USB_ENDPOINT_XFER_BULK, 302 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
| A D | f_acm.c | 157 .bmAttributes = USB_ENDPOINT_XFER_INT, 166 .bmAttributes = USB_ENDPOINT_XFER_BULK, 173 .bmAttributes = USB_ENDPOINT_XFER_BULK, 195 .bmAttributes = USB_ENDPOINT_XFER_INT, 203 .bmAttributes = USB_ENDPOINT_XFER_BULK, 210 .bmAttributes = USB_ENDPOINT_XFER_BULK, 231 .bmAttributes = USB_ENDPOINT_XFER_BULK, 238 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
| 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,
|
| 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,
|
| A D | f_tcm.c | 2048 .bmAttributes = USB_ENDPOINT_XFER_BULK, 2056 .bmAttributes = USB_ENDPOINT_XFER_BULK, 2069 .bmAttributes = USB_ENDPOINT_XFER_BULK, 2091 .bmAttributes = USB_ENDPOINT_XFER_BULK, 2099 .bmAttributes = USB_ENDPOINT_XFER_BULK, 2112 .bmAttributes = USB_ENDPOINT_XFER_BULK, 2133 .bmAttributes = USB_ENDPOINT_XFER_BULK, 2141 .bmAttributes = USB_ENDPOINT_XFER_BULK, 2154 .bmAttributes = USB_ENDPOINT_XFER_BULK, 2168 .bmAttributes = USB_ENDPOINT_XFER_BULK, [all …]
|
| /drivers/usb/gadget/udc/ |
| A D | pxa25x_udc.c | 434 if (ep->bmAttributes != desc->bmAttributes in pxa25x_ep_enable() 2019 .bmAttributes = USB_ENDPOINT_XFER_BULK, 2034 .bmAttributes = USB_ENDPOINT_XFER_BULK, 2051 .bmAttributes = USB_ENDPOINT_XFER_ISOC, 2066 .bmAttributes = USB_ENDPOINT_XFER_ISOC, 2081 .bmAttributes = USB_ENDPOINT_XFER_INT, 2098 .bmAttributes = USB_ENDPOINT_XFER_BULK, 2113 .bmAttributes = USB_ENDPOINT_XFER_BULK, 2129 .bmAttributes = USB_ENDPOINT_XFER_ISOC, 2159 .bmAttributes = USB_ENDPOINT_XFER_INT, [all …]
|
| A D | omap_udc.c | 161 if ((desc->bmAttributes == USB_ENDPOINT_XFER_BULK in omap_ep_enable() 170 if ((desc->bmAttributes == USB_ENDPOINT_XFER_ISOC in omap_ep_enable() 178 if (desc->bmAttributes == USB_ENDPOINT_XFER_ISOC) { in omap_ep_enable() 185 if (ep->bmAttributes != desc->bmAttributes in omap_ep_enable() 186 && ep->bmAttributes != USB_ENDPOINT_XFER_BULK in omap_ep_enable() 187 && desc->bmAttributes != USB_ENDPOINT_XFER_INT) { in omap_ep_enable() 214 if (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC) in omap_ep_enable() 223 if (desc->bmAttributes != USB_ENDPOINT_XFER_ISOC in omap_ep_enable() 883 if (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC) { in omap_ep_queue() 1601 if (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC in ep0_irq() [all …]
|
| /drivers/usb/core/ |
| A D | config.c | 159 desc->bmAttributes != 0) { in usb_parse_ss_endpoint_companion() 164 desc->bmAttributes, in usb_parse_ss_endpoint_companion() 166 ep->ss_ep_comp.bmAttributes = 0; in usb_parse_ss_endpoint_companion() 168 desc->bmAttributes > 16) { in usb_parse_ss_endpoint_companion() 173 ep->ss_ep_comp.bmAttributes = 16; in usb_parse_ss_endpoint_companion() 175 !USB_SS_SSP_ISOC_COMP(desc->bmAttributes) && in usb_parse_ss_endpoint_companion() 176 USB_SS_MULT(desc->bmAttributes) > 3) { in usb_parse_ss_endpoint_companion() 180 USB_SS_MULT(desc->bmAttributes), in usb_parse_ss_endpoint_companion() 182 ep->ss_ep_comp.bmAttributes = 2; in usb_parse_ss_endpoint_companion() 187 (USB_SS_MULT(desc->bmAttributes)) * in usb_parse_ss_endpoint_companion() [all …]
|
| /drivers/usb/image/ |
| 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()
|
| /drivers/usb/gadget/ |
| A D | composite.c | 253 _ep->mult = (comp_desc->bmAttributes & 0x3) + 1; in config_ep_by_speed_and_alt() 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() 1048 if (USB_CONFIG_ATT_WAKEUP & c->bmAttributes) in set_config() 1054 (c && !(c->bmAttributes & USB_CONFIG_ATT_SELFPOWER))) in set_config() 1995 if (!(f->config->bmAttributes & USB_CONFIG_ATT_WAKEUP)) in composite_setup() [all …]
|
| 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()
|