Home
last modified time | relevance | path

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

1234

/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()
H A Dmass_storage.c112 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in msg_do_config()
133 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
H A Dcdc2.c95 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in cdc_do_config()
133 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
H A Dacm_ms.c112 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in acm_ms_do_config()
147 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
/linux/sound/usb/
H A Dimplicit.c130 (epd->bmAttributes & USB_ENDPOINT_USAGE_MASK) != in add_generic_uac2_implicit_fb()
159 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in add_roland_implicit_fb()
170 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in add_roland_implicit_fb()
188 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in add_roland_capture_quirk()
222 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC) in is_pioneer_implicit_fb()
227 (epd->bmAttributes & USB_ENDPOINT_SYNCTYPE) != USB_ENDPOINT_SYNC_ASYNC || in is_pioneer_implicit_fb()
228 ((epd->bmAttributes & USB_ENDPOINT_USAGE_MASK) != in is_pioneer_implicit_fb()
230 (epd->bmAttributes & USB_ENDPOINT_USAGE_MASK) != in is_pioneer_implicit_fb()
254 (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 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_subset.c143 .bmAttributes = USB_ENDPOINT_XFER_BULK,
151 .bmAttributes = USB_ENDPOINT_XFER_BULK,
171 .bmAttributes = USB_ENDPOINT_XFER_BULK,
179 .bmAttributes = USB_ENDPOINT_XFER_BULK,
200 .bmAttributes = USB_ENDPOINT_XFER_BULK,
208 .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_rndis.c182 .bmAttributes = USB_ENDPOINT_XFER_INT,
192 .bmAttributes = USB_ENDPOINT_XFER_BULK,
200 .bmAttributes = USB_ENDPOINT_XFER_BULK,
228 .bmAttributes = USB_ENDPOINT_XFER_INT,
238 .bmAttributes = USB_ENDPOINT_XFER_BULK,
247 .bmAttributes = USB_ENDPOINT_XFER_BULK,
276 .bmAttributes = USB_ENDPOINT_XFER_INT,
296 .bmAttributes = USB_ENDPOINT_XFER_BULK,
305 .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.c67 .bmAttributes = USB_ENDPOINT_XFER_BULK,
75 .bmAttributes = USB_ENDPOINT_XFER_BULK,
93 .bmAttributes = USB_ENDPOINT_XFER_BULK,
102 .bmAttributes = USB_ENDPOINT_XFER_BULK,
121 .bmAttributes = USB_ENDPOINT_XFER_BULK,
130 .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/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/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/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 Dconfig.c202 otg20_desc->bmAttributes = otg_attributes; in usb_otg_descriptor_init()
208 otg1x_desc->bmAttributes = otg_attributes; in usb_otg_descriptor_init()
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 …]

1234