/drivers/usb/gadget/legacy/ |
D | zero.c | 208 .bmAttributes = USB_CONFIG_ATT_SELFPOWER, 231 .bmAttributes = USB_CONFIG_ATT_SELFPOWER, 327 sourcesink_driver.bmAttributes &= ~USB_CONFIG_ATT_WAKEUP; in zero_bind() 328 loopback_driver.bmAttributes &= ~USB_CONFIG_ATT_WAKEUP; in zero_bind() 332 sourcesink_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind() 333 loopback_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind() 352 sourcesink_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind() 354 loopback_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind()
|
D | ether.c | 220 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in rndis_do_config() 238 .bmAttributes = USB_CONFIG_ATT_SELFPOWER, 262 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in eth_do_config() 303 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
D | multi.c | 144 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in rndis_do_config() 193 .bmAttributes = USB_CONFIG_ATT_SELFPOWER, in rndis_config_register() 226 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in cdc_do_config() 276 .bmAttributes = USB_CONFIG_ATT_SELFPOWER, in cdc_config_register()
|
D | ncm.c | 105 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in ncm_do_config() 128 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
D | mass_storage.c | 117 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in msg_do_config() 140 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
D | printer.c | 115 .bmAttributes = USB_CONFIG_ATT_ONE | USB_CONFIG_ATT_SELFPOWER, 129 printer_cfg_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in printer_do_config()
|
D | cdc2.c | 99 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in cdc_do_config() 137 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
D | acm_ms.c | 117 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in acm_ms_do_config() 154 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
/drivers/usb/gadget/function/ |
D | f_sourcesink.c | 91 .bmAttributes = USB_ENDPOINT_XFER_BULK, 99 .bmAttributes = USB_ENDPOINT_XFER_BULK, 107 .bmAttributes = USB_ENDPOINT_XFER_ISOC, 117 .bmAttributes = USB_ENDPOINT_XFER_ISOC, 141 .bmAttributes = USB_ENDPOINT_XFER_BULK, 149 .bmAttributes = USB_ENDPOINT_XFER_BULK, 157 .bmAttributes = USB_ENDPOINT_XFER_ISOC, 166 .bmAttributes = USB_ENDPOINT_XFER_ISOC, 190 .bmAttributes = USB_ENDPOINT_XFER_BULK, 199 .bmAttributes = 0, [all …]
|
D | f_serial.c | 62 .bmAttributes = USB_ENDPOINT_XFER_BULK, 69 .bmAttributes = USB_ENDPOINT_XFER_BULK, 84 .bmAttributes = USB_ENDPOINT_XFER_BULK, 91 .bmAttributes = USB_ENDPOINT_XFER_BULK, 105 .bmAttributes = USB_ENDPOINT_XFER_BULK, 112 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
D | f_loopback.c | 65 .bmAttributes = USB_ENDPOINT_XFER_BULK, 73 .bmAttributes = USB_ENDPOINT_XFER_BULK, 89 .bmAttributes = USB_ENDPOINT_XFER_BULK, 97 .bmAttributes = USB_ENDPOINT_XFER_BULK, 114 .bmAttributes = USB_ENDPOINT_XFER_BULK, 122 .bmAttributes = 0, 130 .bmAttributes = USB_ENDPOINT_XFER_BULK, 138 .bmAttributes = 0,
|
D | f_subset.c | 146 .bmAttributes = USB_ENDPOINT_XFER_BULK, 154 .bmAttributes = USB_ENDPOINT_XFER_BULK, 174 .bmAttributes = USB_ENDPOINT_XFER_BULK, 182 .bmAttributes = USB_ENDPOINT_XFER_BULK, 203 .bmAttributes = USB_ENDPOINT_XFER_BULK, 211 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
D | storage_common.c | 58 .bmAttributes = USB_ENDPOINT_XFER_BULK, 68 .bmAttributes = USB_ENDPOINT_XFER_BULK, 93 .bmAttributes = USB_ENDPOINT_XFER_BULK, 103 .bmAttributes = USB_ENDPOINT_XFER_BULK, 123 .bmAttributes = USB_ENDPOINT_XFER_BULK, 141 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
D | f_ecm.c | 197 .bmAttributes = USB_ENDPOINT_XFER_INT, 207 .bmAttributes = USB_ENDPOINT_XFER_BULK, 215 .bmAttributes = USB_ENDPOINT_XFER_BULK, 244 .bmAttributes = USB_ENDPOINT_XFER_INT, 254 .bmAttributes = USB_ENDPOINT_XFER_BULK, 263 .bmAttributes = USB_ENDPOINT_XFER_BULK, 293 .bmAttributes = USB_ENDPOINT_XFER_INT, 313 .bmAttributes = USB_ENDPOINT_XFER_BULK, 322 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
D | f_acm.c | 169 .bmAttributes = USB_ENDPOINT_XFER_INT, 178 .bmAttributes = USB_ENDPOINT_XFER_BULK, 185 .bmAttributes = USB_ENDPOINT_XFER_BULK, 207 .bmAttributes = USB_ENDPOINT_XFER_INT, 215 .bmAttributes = USB_ENDPOINT_XFER_BULK, 222 .bmAttributes = USB_ENDPOINT_XFER_BULK, 243 .bmAttributes = USB_ENDPOINT_XFER_BULK, 250 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
D | f_rndis.c | 194 .bmAttributes = USB_ENDPOINT_XFER_INT, 204 .bmAttributes = USB_ENDPOINT_XFER_BULK, 212 .bmAttributes = USB_ENDPOINT_XFER_BULK, 240 .bmAttributes = USB_ENDPOINT_XFER_INT, 250 .bmAttributes = USB_ENDPOINT_XFER_BULK, 259 .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_eem.c | 65 .bmAttributes = USB_ENDPOINT_XFER_BULK, 73 .bmAttributes = USB_ENDPOINT_XFER_BULK, 91 .bmAttributes = USB_ENDPOINT_XFER_BULK, 100 .bmAttributes = USB_ENDPOINT_XFER_BULK, 119 .bmAttributes = USB_ENDPOINT_XFER_BULK, 128 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
D | f_obex.c | 134 .bmAttributes = USB_ENDPOINT_XFER_BULK, 143 .bmAttributes = USB_ENDPOINT_XFER_BULK, 167 .bmAttributes = USB_ENDPOINT_XFER_BULK, 175 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
D | f_uac2.c | 143 .bmAttributes = UAC_CLOCK_SOURCE_TYPE_INT_FIXED, 155 .bmAttributes = UAC_CLOCK_SOURCE_TYPE_INT_FIXED, 281 .bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_ASYNC, 290 .bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_ASYNC, 301 .bmAttributes = 0, 358 .bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_ASYNC, 367 .bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_ASYNC, 378 .bmAttributes = 0,
|
D | f_tcm.c | 1781 .bmAttributes = USB_ENDPOINT_XFER_BULK, 1789 .bmAttributes = USB_ENDPOINT_XFER_BULK, 1802 .bmAttributes = USB_ENDPOINT_XFER_BULK, 1810 .bmAttributes = UASP_SS_EP_COMP_LOG_STREAMS, 1824 .bmAttributes = USB_ENDPOINT_XFER_BULK, 1832 .bmAttributes = USB_ENDPOINT_XFER_BULK, 1845 .bmAttributes = USB_ENDPOINT_XFER_BULK, 1852 .bmAttributes = UASP_SS_EP_COMP_LOG_STREAMS, 1864 .bmAttributes = USB_ENDPOINT_XFER_BULK, 1872 .bmAttributes = USB_ENDPOINT_XFER_BULK, [all …]
|
/drivers/usb/gadget/udc/ |
D | pxa25x_udc.c | 442 if (ep->bmAttributes != desc->bmAttributes in pxa25x_ep_enable() 443 && ep->bmAttributes != USB_ENDPOINT_XFER_BULK in pxa25x_ep_enable() 444 && desc->bmAttributes != USB_ENDPOINT_XFER_INT) { in pxa25x_ep_enable() 450 if ((desc->bmAttributes == USB_ENDPOINT_XFER_BULK in pxa25x_ep_enable() 778 if (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC) { in read_fifo() 874 if (unlikely (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC in pxa25x_ep_queue() 1008 || ep->bmAttributes == USB_ENDPOINT_XFER_ISOC) { in pxa25x_ep_set_halt() 1095 | (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC in pxa25x_ep_fifo_flush() 1890 if (likely(ep->bmAttributes == USB_ENDPOINT_XFER_BULK)) in handle_ep() 1899 if (likely(ep->bmAttributes == USB_ENDPOINT_XFER_BULK)) in handle_ep() [all …]
|
D | omap_udc.c | 163 if ((desc->bmAttributes == USB_ENDPOINT_XFER_BULK in omap_ep_enable() 172 if ((desc->bmAttributes == USB_ENDPOINT_XFER_ISOC in omap_ep_enable() 180 if (desc->bmAttributes == USB_ENDPOINT_XFER_ISOC) { in omap_ep_enable() 187 if (ep->bmAttributes != desc->bmAttributes in omap_ep_enable() 188 && ep->bmAttributes != USB_ENDPOINT_XFER_BULK in omap_ep_enable() 189 && desc->bmAttributes != USB_ENDPOINT_XFER_INT) { in omap_ep_enable() 216 if (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC) in omap_ep_enable() 220 if (use_dma && desc->bmAttributes == USB_ENDPOINT_XFER_BULK) in omap_ep_enable() 225 if (desc->bmAttributes != USB_ENDPOINT_XFER_ISOC in omap_ep_enable() 885 if (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC) { in omap_ep_queue() [all …]
|
/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 …]
|
/drivers/usb/gadget/ |
D | config.c | 108 cp->bmAttributes |= USB_CONFIG_ATT_ONE; in usb_gadget_config_buf() 249 otg20_desc->bmAttributes = otg_attributes; in usb_otg_descriptor_init() 255 otg1x_desc->bmAttributes = otg_attributes; in usb_otg_descriptor_init()
|
/drivers/usb/image/ |
D | mdc800.c | 190 .bmAttributes = 0x02, 200 .bmAttributes = 0x03, 210 .bmAttributes = 0x02, 220 .bmAttributes = 0x02, 240 && ( a->bmAttributes == b->bmAttributes ) in mdc800_endpoint_equals()
|