Home
last modified time | relevance | path

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

12345

/drivers/usb/gadget/legacy/
A Dzero.c205 .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 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,
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()
A Dncm.c101 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in ncm_do_config()
122 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
A Dmass_storage.c112 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in msg_do_config()
133 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
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()
A Dcdc2.c95 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in cdc_do_config()
133 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
/drivers/usb/gadget/function/
A Df_sourcesink.c87 .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 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,
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,
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,
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,
A Df_ecm.c183 .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 Df_uac2.c366 .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 Df_rndis.c179 .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 Df_acm.c157 .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 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,
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,
A Df_tcm.c2048 .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 Dpxa25x_udc.c434 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 Domap_udc.c161 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 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 …]
/drivers/usb/image/
A Dmdc800.c177 .bmAttributes = 0x02,
187 .bmAttributes = 0x03,
197 .bmAttributes = 0x02,
207 .bmAttributes = 0x02,
227 && ( a->bmAttributes == b->bmAttributes ) in mdc800_endpoint_equals()
/drivers/usb/gadget/
A Dcomposite.c253 _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 Dconfig.c202 otg20_desc->bmAttributes = otg_attributes; in usb_otg_descriptor_init()
208 otg1x_desc->bmAttributes = otg_attributes; in usb_otg_descriptor_init()

Completed in 70 milliseconds

12345