Home
last modified time | relevance | path

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

/linux-4.1.27/include/uapi/linux/usb/
Dch9.h322 __u8 bmAttributes; member
374 __u8 bmAttributes; member
439 return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_endpoint_type()
474 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_bulk()
487 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_control()
501 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_int()
515 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_isoc()
611 return epd->bmAttributes & USB_ENDPOINT_INTRTYPE; in usb_endpoint_interrupt_type()
622 __u8 bmAttributes; member
637 max_streams = comp->bmAttributes & 0x1f; in usb_ss_max_streams()
[all …]
Dfunctionfs.h32 __u8 bmAttributes; member
Daudio.h521 __u8 bmAttributes; member
/linux-4.1.27/drivers/usb/gadget/legacy/
Dzero.c132 .bmAttributes = USB_OTG_SRP | USB_OTG_HNP,
223 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
246 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
332 sourcesink_driver.bmAttributes &= ~USB_CONFIG_ATT_WAKEUP; in zero_bind()
333 loopback_driver.bmAttributes &= ~USB_CONFIG_ATT_WAKEUP; in zero_bind()
337 sourcesink_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind()
338 loopback_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind()
345 sourcesink_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind()
347 loopback_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind()
Dprinter.c88 .bmAttributes = USB_OTG_SRP,
126 .bmAttributes = USB_CONFIG_ATT_ONE | USB_CONFIG_ATT_SELFPOWER,
139 otg_descriptor.bmAttributes |= USB_OTG_HNP; in printer_do_config()
141 printer_cfg_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in printer_do_config()
Dncm.c79 .bmAttributes = USB_OTG_SRP | USB_OTG_HNP,
118 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in ncm_do_config()
141 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
Dether.c181 .bmAttributes = USB_OTG_SRP | USB_OTG_HNP,
233 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in rndis_do_config()
251 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
275 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in eth_do_config()
316 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
Dmulti.c91 .bmAttributes = USB_OTG_SRP | USB_OTG_HNP,
158 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in rndis_do_config()
207 .bmAttributes = USB_CONFIG_ATT_SELFPOWER, in rndis_config_register()
240 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in cdc_do_config()
290 .bmAttributes = USB_CONFIG_ATT_SELFPOWER, in cdc_config_register()
Dcdc2.c70 .bmAttributes = USB_OTG_SRP | USB_OTG_HNP,
113 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in cdc_do_config()
151 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
Dmass_storage.c75 .bmAttributes = USB_OTG_SRP | USB_OTG_HNP,
140 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in msg_do_config()
163 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
Dacm_ms.c69 .bmAttributes = USB_OTG_SRP | USB_OTG_HNP,
131 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in acm_ms_do_config()
168 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
Dserial.c89 .bmAttributes = USB_OTG_SRP | USB_OTG_HNP,
123 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
195 serial_config_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in gs_bind()
Dhid.c78 .bmAttributes = USB_OTG_SRP | USB_OTG_HNP,
116 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in do_config()
145 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
Daudio.c160 .bmAttributes = USB_OTG_SRP | USB_OTG_HNP,
178 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in audio_do_config()
214 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
Dtcm_usb_gadget.c1941 .bmAttributes = USB_ENDPOINT_XFER_BULK,
1949 .bmAttributes = USB_ENDPOINT_XFER_BULK,
1962 .bmAttributes = USB_ENDPOINT_XFER_BULK,
1970 .bmAttributes = UASP_SS_EP_COMP_LOG_STREAMS,
1984 .bmAttributes = USB_ENDPOINT_XFER_BULK,
1992 .bmAttributes = USB_ENDPOINT_XFER_BULK,
2005 .bmAttributes = USB_ENDPOINT_XFER_BULK,
2012 .bmAttributes = UASP_SS_EP_COMP_LOG_STREAMS,
2024 .bmAttributes = USB_ENDPOINT_XFER_BULK,
2032 .bmAttributes = USB_ENDPOINT_XFER_BULK,
[all …]
Dg_ffs.c101 .bmAttributes = USB_OTG_SRP | USB_OTG_HNP,
422 c->c.bmAttributes = USB_CONFIG_ATT_SELFPOWER; in gfs_bind()
495 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in gfs_do_config()
Dnokia.c103 .bmAttributes = USB_CONFIG_ATT_ONE,
111 .bmAttributes = USB_CONFIG_ATT_ONE | USB_CONFIG_ATT_SELFPOWER,
Dgmidi.c132 .bmAttributes = USB_CONFIG_ATT_ONE,
Ddbgp.c53 .bmAttributes = USB_ENDPOINT_XFER_BULK,
60 .bmAttributes = USB_ENDPOINT_XFER_BULK,
Dwebcam.c357 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
Dinode.c1751 && (config->bmAttributes & USB_CONFIG_ATT_ONE) != 0 in is_valid_config()
1752 && (config->bmAttributes & USB_CONFIG_ATT_WAKEUP) == 0; in is_valid_config()
/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/
Dft1000_usb.c103 iface_desc->endpoint[0].desc.bmAttributes); in ft1000_probe()
105 iface_desc->endpoint[1].desc.bmAttributes); in ft1000_probe()
107 iface_desc->endpoint[2].desc.bmAttributes); in ft1000_probe()
115 endpoint->bEndpointAddress, endpoint->bmAttributes); in ft1000_probe()
117 && ((endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in ft1000_probe()
125 && ((endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in ft1000_probe()
/linux-4.1.27/drivers/usb/gadget/function/
Df_sourcesink.c102 .bmAttributes = USB_ENDPOINT_XFER_BULK,
110 .bmAttributes = USB_ENDPOINT_XFER_BULK,
118 .bmAttributes = USB_ENDPOINT_XFER_ISOC,
128 .bmAttributes = USB_ENDPOINT_XFER_ISOC,
152 .bmAttributes = USB_ENDPOINT_XFER_BULK,
160 .bmAttributes = USB_ENDPOINT_XFER_BULK,
168 .bmAttributes = USB_ENDPOINT_XFER_ISOC,
177 .bmAttributes = USB_ENDPOINT_XFER_ISOC,
201 .bmAttributes = USB_ENDPOINT_XFER_BULK,
210 .bmAttributes = 0,
[all …]
Df_loopback.c70 .bmAttributes = USB_ENDPOINT_XFER_BULK,
78 .bmAttributes = USB_ENDPOINT_XFER_BULK,
94 .bmAttributes = USB_ENDPOINT_XFER_BULK,
102 .bmAttributes = USB_ENDPOINT_XFER_BULK,
119 .bmAttributes = USB_ENDPOINT_XFER_BULK,
127 .bmAttributes = 0,
135 .bmAttributes = USB_ENDPOINT_XFER_BULK,
143 .bmAttributes = 0,
Df_serial.c63 .bmAttributes = USB_ENDPOINT_XFER_BULK,
70 .bmAttributes = USB_ENDPOINT_XFER_BULK,
85 .bmAttributes = USB_ENDPOINT_XFER_BULK,
92 .bmAttributes = USB_ENDPOINT_XFER_BULK,
106 .bmAttributes = USB_ENDPOINT_XFER_BULK,
113 .bmAttributes = USB_ENDPOINT_XFER_BULK,
Df_subset.c146 .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,
Dstorage_common.c58 .bmAttributes = USB_ENDPOINT_XFER_BULK,
68 .bmAttributes = USB_ENDPOINT_XFER_BULK,
95 .bmAttributes = USB_ENDPOINT_XFER_BULK,
105 .bmAttributes = USB_ENDPOINT_XFER_BULK,
125 .bmAttributes = USB_ENDPOINT_XFER_BULK,
143 .bmAttributes = USB_ENDPOINT_XFER_BULK,
Df_ecm.c196 .bmAttributes = USB_ENDPOINT_XFER_INT,
206 .bmAttributes = USB_ENDPOINT_XFER_BULK,
214 .bmAttributes = USB_ENDPOINT_XFER_BULK,
243 .bmAttributes = USB_ENDPOINT_XFER_INT,
253 .bmAttributes = USB_ENDPOINT_XFER_BULK,
262 .bmAttributes = USB_ENDPOINT_XFER_BULK,
292 .bmAttributes = USB_ENDPOINT_XFER_INT,
312 .bmAttributes = USB_ENDPOINT_XFER_BULK,
321 .bmAttributes = USB_ENDPOINT_XFER_BULK,
Df_rndis.c194 .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,
Df_eem.c65 .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,
Df_acm.c170 .bmAttributes = USB_ENDPOINT_XFER_INT,
179 .bmAttributes = USB_ENDPOINT_XFER_BULK,
186 .bmAttributes = USB_ENDPOINT_XFER_BULK,
208 .bmAttributes = USB_ENDPOINT_XFER_INT,
216 .bmAttributes = USB_ENDPOINT_XFER_BULK,
223 .bmAttributes = USB_ENDPOINT_XFER_BULK,
244 .bmAttributes = USB_ENDPOINT_XFER_BULK,
251 .bmAttributes = USB_ENDPOINT_XFER_BULK,
Df_obex.c136 .bmAttributes = USB_ENDPOINT_XFER_BULK,
145 .bmAttributes = USB_ENDPOINT_XFER_BULK,
169 .bmAttributes = USB_ENDPOINT_XFER_BULK,
177 .bmAttributes = USB_ENDPOINT_XFER_BULK,
Df_uvc.c95 .bmAttributes = USB_ENDPOINT_XFER_INT,
105 .bmAttributes = 0,
144 .bmAttributes = USB_ENDPOINT_SYNC_ASYNC
155 .bmAttributes = USB_ENDPOINT_SYNC_ASYNC
167 .bmAttributes = USB_ENDPOINT_SYNC_ASYNC
641 uvc_ss_streaming_comp.bmAttributes = max_packet_mult - 1; in uvc_function_bind()
Df_phonet.c133 .bmAttributes = USB_ENDPOINT_XFER_BULK,
142 .bmAttributes = USB_ENDPOINT_XFER_BULK,
152 .bmAttributes = USB_ENDPOINT_XFER_BULK,
161 .bmAttributes = USB_ENDPOINT_XFER_BULK,
Df_uac2.c643 .bmAttributes = UAC_CLOCK_SOURCE_TYPE_INT_FIXED,
655 .bmAttributes = UAC_CLOCK_SOURCE_TYPE_INT_FIXED,
780 .bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_ASYNC,
789 .bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_ASYNC,
800 .bmAttributes = 0,
857 .bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_ASYNC,
866 .bmAttributes = USB_ENDPOINT_XFER_ISOC | USB_ENDPOINT_SYNC_ASYNC,
877 .bmAttributes = 0,
Df_printer.c128 .bmAttributes = USB_ENDPOINT_XFER_BULK
135 .bmAttributes = USB_ENDPOINT_XFER_BULK
153 .bmAttributes = USB_ENDPOINT_XFER_BULK,
160 .bmAttributes = USB_ENDPOINT_XFER_BULK,
186 .bmAttributes = USB_ENDPOINT_XFER_BULK,
198 .bmAttributes = USB_ENDPOINT_XFER_BULK,
Df_ncm.c252 .bmAttributes = USB_ENDPOINT_XFER_INT,
262 .bmAttributes = USB_ENDPOINT_XFER_BULK,
270 .bmAttributes = USB_ENDPOINT_XFER_BULK,
297 .bmAttributes = USB_ENDPOINT_XFER_INT,
306 .bmAttributes = USB_ENDPOINT_XFER_BULK,
315 .bmAttributes = USB_ENDPOINT_XFER_BULK,
Df_hid.c107 .bmAttributes = USB_ENDPOINT_XFER_INT,
119 .bmAttributes = USB_ENDPOINT_XFER_INT,
141 .bmAttributes = USB_ENDPOINT_XFER_INT,
153 .bmAttributes = USB_ENDPOINT_XFER_INT,
Df_uac1.c176 .bmAttributes = USB_ENDPOINT_SYNC_ADAPTIVE
187 .bmAttributes = 1,
Df_midi.c150 .bmAttributes = USB_ENDPOINT_XFER_BULK,
167 .bmAttributes = USB_ENDPOINT_XFER_BULK,
/linux-4.1.27/drivers/usb/gadget/udc/
Dpxa25x_udc.c228 if (ep->bmAttributes != desc->bmAttributes in pxa25x_ep_enable()
229 && ep->bmAttributes != USB_ENDPOINT_XFER_BULK in pxa25x_ep_enable()
230 && desc->bmAttributes != USB_ENDPOINT_XFER_INT) { in pxa25x_ep_enable()
236 if ((desc->bmAttributes == USB_ENDPOINT_XFER_BULK in pxa25x_ep_enable()
563 if (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC) { in read_fifo()
659 if (unlikely (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC in pxa25x_ep_queue()
793 || ep->bmAttributes == USB_ENDPOINT_XFER_ISOC) { in pxa25x_ep_set_halt()
880 | (ep->bmAttributes == USB_ENDPOINT_XFER_ISOC in pxa25x_ep_fifo_flush()
1663 if (likely(ep->bmAttributes == USB_ENDPOINT_XFER_BULK)) in handle_ep()
1672 if (likely(ep->bmAttributes == USB_ENDPOINT_XFER_BULK)) in handle_ep()
[all …]
Domap_udc.c163 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 …]
Ds3c2410_udc.h27 u8 bmAttributes; member
Domap_udc.h146 u8 bmAttributes; member
Dpxa25x_udc.h49 u8 bmAttributes; member
Dmv_u3d_core.c49 .bmAttributes = USB_ENDPOINT_XFER_CONTROL,
555 switch (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) { in mv_u3d_ep_enable()
610 | (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK)); in mv_u3d_ep_enable()
623 | (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK)); in mv_u3d_ep_enable()
826 if (ep->ep.desc->bmAttributes == USB_ENDPOINT_XFER_ISOC) { in mv_u3d_ep_queue()
968 if (ep->ep.desc->bmAttributes == USB_ENDPOINT_XFER_ISOC) { in mv_u3d_ep_set_halt_wedge()
Ds3c2410_udc.c1711 .bmAttributes = USB_ENDPOINT_XFER_BULK,
1723 .bmAttributes = USB_ENDPOINT_XFER_BULK,
1735 .bmAttributes = USB_ENDPOINT_XFER_BULK,
1747 .bmAttributes = USB_ENDPOINT_XFER_BULK,
Dmv_udc_core.c71 .bmAttributes = USB_ENDPOINT_XFER_CONTROL,
489 switch (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) { in mv_ep_enable()
530 | ((desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) in mv_ep_enable()
535 | ((desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) in mv_ep_enable()
915 if (ep->ep.desc->bmAttributes == USB_ENDPOINT_XFER_ISOC) { in mv_ep_set_halt_wedge()
Dpxa27x_udc.h240 .bmAttributes = type, \
Dfsl_udc_core.c74 .bmAttributes = USB_ENDPOINT_XFER_CONTROL,
576 switch (desc->bmAttributes & 0x03) { in fsl_ep_enable()
609 (unsigned char) (desc->bmAttributes in fsl_ep_enable()
617 (unsigned char) (desc->bmAttributes in fsl_ep_enable()
Dnet2280.c111 static char *type_string(u8 bmAttributes) in type_string() argument
113 switch ((bmAttributes) & USB_ENDPOINT_XFERTYPE_MASK) { in type_string()
201 tmp = (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK); in net2280_enable()
290 type_string(desc->bmAttributes), in net2280_enable()
1274 if (ep->desc /* not ep0 */ && (ep->desc->bmAttributes & 0x03) in net2280_set_halt_and_wedge()
1697 type_string(d->bmAttributes), in queues_show()
Dfsl_qe_udc.c70 .bmAttributes = USB_ENDPOINT_XFER_CONTROL,
489 switch (ep->ep.desc->bmAttributes & 0x03) { in qe_ep_register_init()
543 switch (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) { in qe_ep_init()
640 ep->tm = (u8)(desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK); in qe_ep_init()
Dnet2272.c147 static char *type_string(u8 bmAttributes) in type_string() argument
149 switch ((bmAttributes) & USB_ENDPOINT_XFERTYPE_MASK) { in type_string()
255 type_string(desc->bmAttributes), max, in net2272_enable()
Dudc-xilinx.c213 .bmAttributes = USB_ENDPOINT_XFER_BULK,
819 tmp = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in __xudc_ep_enable()
Dpch_udc.c996 pch_udc_ep_set_trfr_type(ep, desc->bmAttributes); in pch_udc_ep_enable()
1007 ((desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) << in pch_udc_ep_enable()
Ds3c-hsudc.c766 if ((desc->bmAttributes == USB_ENDPOINT_XFER_BULK in s3c_hsudc_ep_enable()
Damd5536udc.c341 tmp = AMD_ADDBITS(tmp, desc->bmAttributes, UDC_EPCTL_ET); in udc_ep_enable()
405 tmp = AMD_ADDBITS(tmp, desc->bmAttributes, UDC_CSR_NE_TYPE); in udc_ep_enable()
Dfusb300_udc.c212 info.type = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in config_ep()
Dm66592-udc.c397 switch (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) { in alloc_pipe_config()
Dgr_udc.c732 if (ep->num && ep->ep.desc->bmAttributes == USB_ENDPOINT_XFER_ISOC) in gr_ep_halt_wedge()
Datmel_usba_udc.c1022 .bmAttributes = USB_ENDPOINT_XFER_CONTROL,
Dlpc32xx_udc.c1695 tmp = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in lpc32xx_ep_enable()
/linux-4.1.27/drivers/usb/core/
Dconfig.c99 desc->bmAttributes != 0) { in usb_parse_ss_endpoint_companion()
104 desc->bmAttributes, in usb_parse_ss_endpoint_companion()
106 ep->ss_ep_comp.bmAttributes = 0; in usb_parse_ss_endpoint_companion()
108 desc->bmAttributes > 16) { in usb_parse_ss_endpoint_companion()
113 ep->ss_ep_comp.bmAttributes = 16; in usb_parse_ss_endpoint_companion()
115 USB_SS_MULT(desc->bmAttributes) > 3) { in usb_parse_ss_endpoint_companion()
119 USB_SS_MULT(desc->bmAttributes), in usb_parse_ss_endpoint_companion()
121 ep->ss_ep_comp.bmAttributes = 2; in usb_parse_ss_endpoint_companion()
126 (USB_SS_MULT(desc->bmAttributes)) * in usb_parse_ss_endpoint_companion()
253 endpoint->desc.bmAttributes = USB_ENDPOINT_XFER_INT; in usb_parse_endpoint()
Dgeneric.c85 if (bus_powered && (c->desc.bmAttributes & in usb_choose_configuration()
Dendpoint.c46 usb_ep_attr(bmAttributes, "%02x\n");
Ddevices.c242 desc->bmAttributes, type, in usb_dump_endpoint_descriptor()
334 desc->bmAttributes, in usb_dump_config_descriptor()
Durb.c407 int mult = USB_SS_MULT(ep->ss_ep_comp.bmAttributes); in usb_submit_urb()
Dhub.c137 le32_to_cpu(udev->bos->ext_cap->bmAttributes))) in usb_device_supports_lpm()
1582 if (hdev->actconfig->desc.bmAttributes & USB_CONFIG_ATT_SELFPOWER) in hub_configure()
2014 udev->actconfig->desc.bmAttributes & in usb_set_device_state()
2267 if (desc->bmAttributes & USB_OTG_HNP) { in usb_enumerate_device_otg()
4203 if ((udev->bos->ext_cap->bmAttributes & cpu_to_le32(USB_BESL_SUPPORT)) || in hub_set_initial_usb2_lpm_policy()
Dsysfs.c43 usb_actconfig_attr(bmAttributes, "%2x\n");
Dhcd.c692 bmAttributes)) in rh_call_control()
693 ((struct usb_config_descriptor *)ubuf)->bmAttributes in rh_call_control()
Dmessage.c237 if ((ep->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_bulk_msg()
/linux-4.1.27/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c83 .bmAttributes = USB_ENDPOINT_XFER_BULK,
89 .bmAttributes = USB_ENDPOINT_XFER_BULK,
105 .bmAttributes = USB_ENDPOINT_XFER_BULK,
112 .bmAttributes = USB_ENDPOINT_XFER_BULK,
/linux-4.1.27/tools/usb/ffs-aio-example/multibuff/device_app/
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-4.1.27/drivers/usb/image/
Dmdc800.c190 .bmAttributes = 0x02,
200 .bmAttributes = 0x03,
210 .bmAttributes = 0x02,
220 .bmAttributes = 0x02,
240 && ( a->bmAttributes == b->bmAttributes ) in mdc800_endpoint_equals()
Dmicrotek.c704 if ((altsetting->endpoint[i].desc.bmAttributes & in mts_usb_probe()
/linux-4.1.27/include/linux/usb/
Dwusb-wa.h159 u8 bmAttributes; member
284 u8 bmAttributes; /* Reserved == 0 */ member
Daudio-v2.h74 __u8 bmAttributes; member
181 __u8 bmAttributes; member
Dcomposite.h305 u8 bmAttributes; member
/linux-4.1.27/drivers/usb/gadget/
Depautoconf.c119 num_req_streams = ep_comp->bmAttributes & 0x1f; in ep_matches()
256 type = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_ep_autoconfig_ss()
Dconfig.c107 cp->bmAttributes |= USB_CONFIG_ATT_ONE; in usb_gadget_config_buf()
Dconfigfs.c492 return sprintf(page, "0x%02x\n", cfg->c.bmAttributes); in gadget_config_desc_bmAttributes_show()
508 cfg->c.bmAttributes = val; in gadget_config_desc_bmAttributes_store()
519 CFG_CONFIG_DESC_ITEM_ATTR(bmAttributes);
683 cfg->c.bmAttributes = USB_CONFIG_ATT_ONE; in config_desc_make()
1516 gi->otg.bmAttributes = USB_OTG_SRP | USB_OTG_HNP; in gadgets_make()
Dcomposite.c167 _ep->mult = comp_desc->bmAttributes & 0x3; in config_ep_by_speed()
396 c->bmAttributes = USB_CONFIG_ATT_ONE | config->bmAttributes; in config_buf()
563 usb_ext->bmAttributes = cpu_to_le32(USB_LPM_SUPPORT | USB_BESL_SUPPORT); in bos_desc()
575 ss_cap->bmAttributes = 0; /* LTM is not supported yet */ in bos_desc()
/linux-4.1.27/tools/usb/
Dffs-test.c138 .bmAttributes = USB_ENDPOINT_XFER_BULK,
145 .bmAttributes = USB_ENDPOINT_XFER_BULK,
162 .bmAttributes = USB_ENDPOINT_XFER_BULK,
169 .bmAttributes = USB_ENDPOINT_XFER_BULK,
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dusb.c310 if (ATH6KL_USB_IS_BULK_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
317 } else if (ATH6KL_USB_IS_INT_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
325 } else if (ATH6KL_USB_IS_ISOC_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
355 if (ATH6KL_USB_IS_BULK_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
365 } else if (ATH6KL_USB_IS_INT_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
375 } else if (ATH6KL_USB_IS_ISOC_EP(endpoint->bmAttributes)) { in ath6kl_usb_setup_pipe_resources()
/linux-4.1.27/sound/usb/
Dstream.c421 attributes = csep->bmAttributes; in parse_uac_endpoint_attributes()
426 attributes = csep->bmAttributes & UAC_EP_CS_ATTR_FILL_MAX; in parse_uac_endpoint_attributes()
511 if ((get_endpoint(alts, 0)->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) != in snd_usb_parse_audio_interface()
661 fp->ep_attr = get_endpoint(alts, 0)->bmAttributes; in snd_usb_parse_audio_interface()
Dpcm.c309 (epd->bmAttributes & USB_ENDPOINT_USAGE_MASK) != in search_roland_implicit_fb()
411 if ((get_endpoint(alts, 1)->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) != USB_ENDPOINT_XFER_ISOC || in set_sync_endpoint()
417 get_endpoint(alts, 1)->bmAttributes, in set_sync_endpoint()
433 implicit_fb = (get_endpoint(alts, 1)->bmAttributes & USB_ENDPOINT_USAGE_MASK) in set_sync_endpoint()
Dquirks.c465 fp->ep_attr = get_endpoint(alts, 0)->bmAttributes; in create_uaxx_quirk()
Dmidi.c1949 (get_endpoint(hostif, 0)->bmAttributes & in snd_usbmidi_switch_roland_altsetting()
1951 (get_endpoint(hostif, 1)->bmAttributes & in snd_usbmidi_switch_roland_altsetting()
/linux-4.1.27/drivers/usb/wusbcore/
Dwa-rpipe.c373 rpipe->descr.bmAttribute = (ep->desc.bmAttributes & in rpipe_aim()
420 AIM_CHECK(bmAttribute, ep->desc.bmAttributes & 0x03, "(%u vs %u)"); in rpipe_check_aim()
460 eptype = ep->desc.bmAttributes & 0x03; in rpipe_get_by_ep()
/linux-4.1.27/drivers/net/wireless/rsi/
Drsi_91x_usb.c113 ((endpoint->bmAttributes & in rsi_find_bulk_in_and_out_endpoints()
124 ((endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in rsi_find_bulk_in_and_out_endpoints()
/linux-4.1.27/Documentation/ABI/testing/
Dconfigfs-usb-gadget40 bmAttributes - configuration characteristics
Dsysfs-bus-usb134 in the bmAttributes field of their SuperSpeed BOS descriptors.
/linux-4.1.27/drivers/media/usb/siano/
Dsmsusb.c516 intf->cur_altsetting->endpoint[i].desc.bmAttributes, in smsusb_probe()
588 intf->cur_altsetting->endpoint[i].desc.bmAttributes, in smsusb_resume()
/linux-4.1.27/drivers/usb/gadget/udc/bdc/
Dbdc_cmd.c174 mul = comp_desc->bmAttributes; in bdc_config_ep()
Dbdc_udc.c59 .bmAttributes = USB_ENDPOINT_XFER_CONTROL,
/linux-4.1.27/drivers/media/rc/
Dstreamzap.c374 "02%02x\n", __func__, sz->endpoint->bmAttributes); in streamzap_probe()
Dati_remote.c172 if (udev->actconfig->desc.bmAttributes & USB_CONFIG_ATT_WAKEUP) { in get_medion_keymap()
Dredrat3.c922 attrs = ep->bmAttributes; in redrat3_dev_probe()
/linux-4.1.27/drivers/usb/misc/
Dusbtest.c667 if (!realworld && !(config->bmAttributes & 0x80)) { in is_good_config()
671 if (config->bmAttributes & 0x1f) { /* reserved == 0 */ in is_good_config()
700 attr = le32_to_cpu(ext->bmAttributes); in is_good_ext()
725 if (ss->bmAttributes & ~0x02) { /* reserved == 0 */ in is_good_ss_cap()
/linux-4.1.27/drivers/staging/media/lirc/
Dlirc_sasem.c705 ep_type = ep->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in sasem_probe()
Dlirc_imon.c745 ep_type = ep->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in imon_probe()
/linux-4.1.27/drivers/input/tablet/
Dgtco.c879 …dev_dbg(&usbinterface->dev, "endpoint: attribute:0x%x type:0x%x\n", endpoint->bmAttributes, endpoi… in gtco_probe()
/linux-4.1.27/drivers/isdn/hisax/
Dhfc_usb.c1316 attr = ep->desc.bmAttributes; in hfc_usb_probe()
1372 attr = ep->desc.bmAttributes; in hfc_usb_probe()
/linux-4.1.27/Documentation/usb/
Dgadget_configfs.txt184 ./configs/c.1/bmAttributes
/linux-4.1.27/include/linux/
Dusb.h715 return udev->bos->ss_cap->bmAttributes & USB_LTM_SUPPORT; in usb_device_supports_ltm()
/linux-4.1.27/drivers/w1/masters/
Dds2490.c1044 endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK); in ds_probe()
/linux-4.1.27/drivers/usb/chipidea/
Dudc.c40 .bmAttributes = USB_ENDPOINT_XFER_CONTROL,
50 .bmAttributes = USB_ENDPOINT_XFER_CONTROL,
/linux-4.1.27/drivers/staging/ozwpan/
Dozhcd.c1203 switch (hep->desc.bmAttributes & in oz_build_endpoints_for_interface()
1219 ep->attrib = hep->desc.bmAttributes; in oz_build_endpoints_for_interface()
/linux-4.1.27/drivers/media/usb/tm6000/
Dtm6000-cards.c1265 switch (e->desc.bmAttributes) { in tm6000_usb_probe()
/linux-4.1.27/drivers/isdn/hardware/mISDN/
Dhfcsusb.c1968 attr = ep->desc.bmAttributes; in hfcsusb_probe()
2035 switch (ep->desc.bmAttributes) { in hfcsusb_probe()
/linux-4.1.27/drivers/net/irda/
Dirda-usb.c1472 attr = endpoint[i].desc.bmAttributes; in irda_usb_parse_endpoints()
/linux-4.1.27/drivers/usb/atm/
Dcxacru.c1181 if ((cmd_ep->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) in cxacru_bind()
/linux-4.1.27/drivers/usb/host/
Dxhci.c4093 field = le32_to_cpu(udev->bos->ext_cap->bmAttributes); in xhci_calculate_hird_besl()
4127 field = le32_to_cpu(udev->bos->ext_cap->bmAttributes); in xhci_calculate_usb2_hw_lpm_params()
4171 field = le32_to_cpu(udev->bos->ext_cap->bmAttributes); in xhci_set_usb2_hardware_lpm()
Dxhci-mem.c1340 return ep->ss_ep_comp.bmAttributes; in xhci_get_endpoint_mult()
/linux-4.1.27/drivers/media/usb/usbvision/
Dusbvision-video.c1548 __func__, endpoint->bmAttributes); in usbvision_probe()
/linux-4.1.27/drivers/net/usb/
Dcdc_ncm.c641 switch (e->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) { in cdc_ncm_find_endpoints()
Dusbnet.c117 switch (e->desc.bmAttributes) { in usbnet_get_endpoints()
/linux-4.1.27/drivers/usb/dwc2/
Dgadget.c2602 __func__, ep->name, desc->bEndpointAddress, desc->bmAttributes, in s3c_hsotg_ep_enable()
2656 switch (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) { in s3c_hsotg_ep_enable()
/linux-4.1.27/drivers/media/usb/au0828/
Dau0828-video.c1762 ((endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) in au0828_analog_register()
/linux-4.1.27/drivers/usb/dwc3/
Dgadget.c1337 .bmAttributes = USB_ENDPOINT_XFER_CONTROL,
/linux-4.1.27/drivers/media/usb/gspca/
Dgspca.c619 attr = ep->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in alt_xfer()
/linux-4.1.27/drivers/net/wireless/
Dat76c50x-usb.c2251 endpoint->bmAttributes); in at76_alloc_urbs()