Home
last modified time | relevance | path

Searched refs:bmAttributes (Results 1 – 25 of 119) sorted by relevance

12345

/linux/drivers/usb/gadget/legacy/
H A Dzero.c220 .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 Dether.c216 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 Dmulti.c140 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 Dncm.c101 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in ncm_do_config()
122 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
H A Dprinter.c111 .bmAttributes = USB_CONFIG_ATT_ONE | USB_CONFIG_ATT_SELFPOWER,
125 printer_cfg_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in printer_do_config()
/linux/sound/usb/
H A Dimplicit.c129 (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 Df_sourcesink.c88 .bmAttributes = USB_ENDPOINT_XFER_BULK,
96 .bmAttributes = USB_ENDPOINT_XFER_BULK,
104 .bmAttributes = USB_ENDPOINT_XFER_ISOC,
114 .bmAttributes = USB_ENDPOINT_XFER_ISOC,
138 .bmAttributes = USB_ENDPOINT_XFER_BULK,
146 .bmAttributes = USB_ENDPOINT_XFER_BULK,
154 .bmAttributes = USB_ENDPOINT_XFER_ISOC,
163 .bmAttributes = USB_ENDPOINT_XFER_ISOC,
187 .bmAttributes = USB_ENDPOINT_XFER_BULK,
196 .bmAttributes = 0,
[all …]
H A Df_loopback.c61 .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 Df_serial.c59 .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 Df_subset.c142 .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 Dstorage_common.c55 .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 Df_ecm.c186 .bmAttributes = USB_ENDPOINT_XFER_INT,
196 .bmAttributes = USB_ENDPOINT_XFER_BULK,
204 .bmAttributes = USB_ENDPOINT_XFER_BULK,
233 .bmAttributes = USB_ENDPOINT_XFER_INT,
243 .bmAttributes = USB_ENDPOINT_XFER_BULK,
252 .bmAttributes = USB_ENDPOINT_XFER_BULK,
282 .bmAttributes = USB_ENDPOINT_XFER_INT,
302 .bmAttributes = USB_ENDPOINT_XFER_BULK,
311 .bmAttributes = USB_ENDPOINT_XFER_BULK,
H A Df_uac2.c164 .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 Df_rndis.c181 .bmAttributes = USB_ENDPOINT_XFER_INT,
191 .bmAttributes = USB_ENDPOINT_XFER_BULK,
199 .bmAttributes = USB_ENDPOINT_XFER_BULK,
227 .bmAttributes = USB_ENDPOINT_XFER_INT,
237 .bmAttributes = USB_ENDPOINT_XFER_BULK,
246 .bmAttributes = USB_ENDPOINT_XFER_BULK,
275 .bmAttributes = USB_ENDPOINT_XFER_INT,
295 .bmAttributes = USB_ENDPOINT_XFER_BULK,
304 .bmAttributes = USB_ENDPOINT_XFER_BULK,
H A Df_acm.c160 .bmAttributes = USB_ENDPOINT_XFER_INT,
169 .bmAttributes = USB_ENDPOINT_XFER_BULK,
176 .bmAttributes = USB_ENDPOINT_XFER_BULK,
198 .bmAttributes = USB_ENDPOINT_XFER_INT,
206 .bmAttributes = USB_ENDPOINT_XFER_BULK,
213 .bmAttributes = USB_ENDPOINT_XFER_BULK,
234 .bmAttributes = USB_ENDPOINT_XFER_BULK,
241 .bmAttributes = USB_ENDPOINT_XFER_BULK,
H A Df_eem.c66 .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 Df_obex.c130 .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 Dpxa25x_udc.c434 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 Dffs-test.c147 .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/drivers/usb/core/
H A Dconfig.c159 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 …]
/linux/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c101 .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 Daio_multibuff.c85 .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 Dtrans_usbg.c546 .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 Dmdc800.c177 .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 Dcomposite.c253 _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 …]

12345