Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/drivers/usb/gadget/legacy/
Dzero.c206 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
229 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
315 sourcesink_driver.bmAttributes &= ~USB_CONFIG_ATT_WAKEUP; in zero_bind()
316 loopback_driver.bmAttributes &= ~USB_CONFIG_ATT_WAKEUP; in zero_bind()
320 sourcesink_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind()
321 loopback_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind()
340 sourcesink_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind()
342 loopback_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in zero_bind()
Dether.c220 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,
Dmulti.c144 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()
Dncm.c105 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in ncm_do_config()
128 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
Dprinter.c115 .bmAttributes = USB_CONFIG_ATT_ONE | USB_CONFIG_ATT_SELFPOWER,
129 printer_cfg_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in printer_do_config()
Dcdc2.c99 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in cdc_do_config()
137 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
Dtcm_usb_gadget.c1766 .bmAttributes = USB_ENDPOINT_XFER_BULK,
1774 .bmAttributes = USB_ENDPOINT_XFER_BULK,
1787 .bmAttributes = USB_ENDPOINT_XFER_BULK,
1795 .bmAttributes = UASP_SS_EP_COMP_LOG_STREAMS,
1809 .bmAttributes = USB_ENDPOINT_XFER_BULK,
1817 .bmAttributes = USB_ENDPOINT_XFER_BULK,
1830 .bmAttributes = USB_ENDPOINT_XFER_BULK,
1837 .bmAttributes = UASP_SS_EP_COMP_LOG_STREAMS,
1849 .bmAttributes = USB_ENDPOINT_XFER_BULK,
1857 .bmAttributes = USB_ENDPOINT_XFER_BULK,
[all …]
Dacm_ms.c117 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in acm_ms_do_config()
154 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
Dmass_storage.c126 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in msg_do_config()
149 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
Dserial.c109 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
193 serial_config_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP; in gs_bind()
Dhid.c101 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in do_config()
130 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
Daudio.c164 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in audio_do_config()
200 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
Dnokia.c128 .bmAttributes = USB_CONFIG_ATT_ONE,
136 .bmAttributes = USB_CONFIG_ATT_ONE | USB_CONFIG_ATT_SELFPOWER,
Ddbgp.c53 .bmAttributes = USB_ENDPOINT_XFER_BULK,
60 .bmAttributes = USB_ENDPOINT_XFER_BULK,
Dgmidi.c130 .bmAttributes = USB_CONFIG_ATT_ONE,
Dg_ffs.c419 c->c.bmAttributes = USB_CONFIG_ATT_SELFPOWER; in gfs_bind()
497 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in gfs_do_config()
Dwebcam.c357 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
Dinode.c1754 && (config->bmAttributes & USB_CONFIG_ATT_ONE) != 0 in is_valid_config()
1755 && (config->bmAttributes & USB_CONFIG_ATT_WAKEUP) == 0; in is_valid_config()
/linux-4.4.14/drivers/usb/gadget/function/
Df_sourcesink.c96 .bmAttributes = USB_ENDPOINT_XFER_BULK,
104 .bmAttributes = USB_ENDPOINT_XFER_BULK,
112 .bmAttributes = USB_ENDPOINT_XFER_ISOC,
122 .bmAttributes = USB_ENDPOINT_XFER_ISOC,
146 .bmAttributes = USB_ENDPOINT_XFER_BULK,
154 .bmAttributes = USB_ENDPOINT_XFER_BULK,
162 .bmAttributes = USB_ENDPOINT_XFER_ISOC,
171 .bmAttributes = USB_ENDPOINT_XFER_ISOC,
195 .bmAttributes = USB_ENDPOINT_XFER_BULK,
204 .bmAttributes = 0,
[all …]
Df_serial.c62 .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,
Df_loopback.c65 .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,
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_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,
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_acm.c169 .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,
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_obex.c134 .bmAttributes = USB_ENDPOINT_XFER_BULK,
143 .bmAttributes = USB_ENDPOINT_XFER_BULK,
167 .bmAttributes = USB_ENDPOINT_XFER_BULK,
175 .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
624 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.4.14/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()
1664 if (likely(ep->bmAttributes == USB_ENDPOINT_XFER_BULK)) in handle_ep()
1673 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.c1713 .bmAttributes = USB_ENDPOINT_XFER_BULK,
1727 .bmAttributes = USB_ENDPOINT_XFER_BULK,
1741 .bmAttributes = USB_ENDPOINT_XFER_BULK,
1755 .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.h241 .bmAttributes = USB_ENDPOINT_XFER_ ## 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.c150 static char *type_string(u8 bmAttributes) in type_string() argument
152 switch ((bmAttributes) & USB_ENDPOINT_XFERTYPE_MASK) { in type_string()
261 type = (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK); in net2280_enable()
352 type_string(desc->bmAttributes), in net2280_enable()
1343 if (ep->desc /* not ep0 */ && (ep->desc->bmAttributes & 0x03) in net2280_set_halt_and_wedge()
1797 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()
Dudc-core.c201 num_req_streams = ep_comp->bmAttributes & 0x1f; in usb_gadget_ep_match_desc()
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()
Dfusb300_udc.c212 info.type = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in config_ep()
Damd5536udc.c400 tmp = AMD_ADDBITS(tmp, desc->bmAttributes, UDC_EPCTL_ET); in udc_ep_enable()
464 tmp = AMD_ADDBITS(tmp, desc->bmAttributes, UDC_CSR_NE_TYPE); in udc_ep_enable()
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.c1021 .bmAttributes = USB_ENDPOINT_XFER_CONTROL,
Dlpc32xx_udc.c1695 tmp = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in lpc32xx_ep_enable()
/linux-4.4.14/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.4.14/drivers/usb/gadget/
Dconfig.c108 cp->bmAttributes |= USB_CONFIG_ATT_ONE; in usb_gadget_config_buf()
242 otg20_desc->bmAttributes = otg_attributes; in usb_otg_descriptor_init()
248 otg1x_desc->bmAttributes = otg_attributes; in usb_otg_descriptor_init()
Depautoconf.c76 type = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_ep_autoconfig_ss()
Dconfigfs.c478 to_config_usb_cfg(item)->c.bmAttributes); in gadget_config_desc_bmAttributes_show()
494 to_config_usb_cfg(item)->c.bmAttributes = val; in gadget_config_desc_bmAttributes_store()
499 CONFIGFS_ATTR(gadget_config_desc_, bmAttributes);
662 cfg->c.bmAttributes = USB_CONFIG_ATT_ONE; in config_desc_make()
Dcomposite.c168 _ep->mult = comp_desc->bmAttributes & 0x3; in config_ep_by_speed()
403 c->bmAttributes = USB_CONFIG_ATT_ONE | config->bmAttributes; in config_buf()
570 usb_ext->bmAttributes = cpu_to_le32(USB_LPM_SUPPORT | USB_BESL_SUPPORT); in bos_desc()
582 ss_cap->bmAttributes = 0; /* LTM is not supported yet */ in bos_desc()
/linux-4.4.14/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.c406 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()
2268 if (err || !(desc->bmAttributes & USB_OTG_HNP)) in usb_enumerate_device_otg()
4243 if ((udev->bos->ext_cap->bmAttributes & cpu_to_le32(USB_BESL_SUPPORT)) || in hub_set_initial_usb2_lpm_policy()
Dhcd.c695 bmAttributes)) in rh_call_control()
696 ((struct usb_config_descriptor *)ubuf)->bmAttributes in rh_call_control()
Dsysfs.c43 usb_actconfig_attr(bmAttributes, "%2x\n");
Dmessage.c237 if ((ep->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_bulk_msg()
/linux-4.4.14/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.4.14/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.c703 if ((altsetting->endpoint[i].desc.bmAttributes & in mts_usb_probe()
/linux-4.4.14/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.h307 u8 bmAttributes; member
/linux-4.4.14/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.4.14/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.4.14/sound/usb/
Dstream.c432 attributes = csep->bmAttributes; in parse_uac_endpoint_attributes()
437 attributes = csep->bmAttributes & UAC_EP_CS_ATTR_FILL_MAX; in parse_uac_endpoint_attributes()
522 if ((get_endpoint(alts, 0)->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) != in snd_usb_parse_audio_interface()
672 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()
432 if ((get_endpoint(alts, 1)->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) != USB_ENDPOINT_XFER_ISOC || in set_sync_endpoint()
438 get_endpoint(alts, 1)->bmAttributes, in set_sync_endpoint()
458 implicit_fb = (get_endpoint(alts, 1)->bmAttributes & USB_ENDPOINT_USAGE_MASK) in set_sync_endpoint()
Dquirks.c470 fp->ep_attr = get_endpoint(alts, 0)->bmAttributes; in create_uaxx_quirk()
Dmidi.c1952 !((get_endpoint(hostif, 0)->bmAttributes & in snd_usbmidi_switch_roland_altsetting()
1954 (get_endpoint(hostif, 1)->bmAttributes & in snd_usbmidi_switch_roland_altsetting()
/linux-4.4.14/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.4.14/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.4.14/Documentation/ABI/testing/
Dconfigfs-usb-gadget40 bmAttributes - configuration characteristics
Dsysfs-bus-usb170 in the bmAttributes field of their SuperSpeed BOS descriptors.
/linux-4.4.14/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.4.14/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.4.14/drivers/media/rc/
Dstreamzap.c376 "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.c923 attrs = ep->bmAttributes; in redrat3_dev_probe()
/linux-4.4.14/drivers/usb/misc/
Dusbtest.c680 if (!realworld && !(config->bmAttributes & 0x80)) { in is_good_config()
684 if (config->bmAttributes & 0x1f) { /* reserved == 0 */ in is_good_config()
713 attr = le32_to_cpu(ext->bmAttributes); in is_good_ext()
738 if (ss->bmAttributes & ~0x02) { /* reserved == 0 */ in is_good_ss_cap()
/linux-4.4.14/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.4.14/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.4.14/Documentation/usb/
Dgadget_configfs.txt184 ./configs/c.1/bmAttributes
/linux-4.4.14/include/linux/
Dusb.h724 return udev->bos->ss_cap->bmAttributes & USB_LTM_SUPPORT; in usb_device_supports_ltm()
/linux-4.4.14/drivers/w1/masters/
Dds2490.c1044 endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK); in ds_probe()
/linux-4.4.14/drivers/usb/chipidea/
Dudc.c40 .bmAttributes = USB_ENDPOINT_XFER_CONTROL,
50 .bmAttributes = USB_ENDPOINT_XFER_CONTROL,
/linux-4.4.14/drivers/media/usb/tm6000/
Dtm6000-cards.c1265 switch (e->desc.bmAttributes) { in tm6000_usb_probe()
/linux-4.4.14/drivers/isdn/hardware/mISDN/
Dhfcsusb.c1968 attr = ep->desc.bmAttributes; in hfcsusb_probe()
2035 switch (ep->desc.bmAttributes) { in hfcsusb_probe()
/linux-4.4.14/drivers/net/irda/
Dirda-usb.c1474 attr = endpoint[i].desc.bmAttributes; in irda_usb_parse_endpoints()
/linux-4.4.14/drivers/usb/atm/
Dcxacru.c1186 if ((cmd_ep->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) in cxacru_bind()
/linux-4.4.14/drivers/usb/dwc2/
Dgadget.c2671 __func__, ep->name, desc->bEndpointAddress, desc->bmAttributes, in dwc2_hsotg_ep_enable()
2726 switch (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) { in dwc2_hsotg_ep_enable()
/linux-4.4.14/drivers/usb/host/
Dxhci.c4081 field = le32_to_cpu(udev->bos->ext_cap->bmAttributes); in xhci_calculate_hird_besl()
4115 field = le32_to_cpu(udev->bos->ext_cap->bmAttributes); in xhci_calculate_usb2_hw_lpm_params()
4159 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.4.14/drivers/media/usb/usbvision/
Dusbvision-video.c1487 __func__, endpoint->bmAttributes); in usbvision_probe()
/linux-4.4.14/drivers/net/usb/
Dcdc_ncm.c641 switch (e->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) { in cdc_ncm_find_endpoints()
Dusbnet.c118 switch (e->desc.bmAttributes) { in usbnet_get_endpoints()
Dlan78xx.c2214 switch (e->desc.bmAttributes) { in lan78xx_get_endpoints()
Dr8152.c2395 return (udev->actconfig->desc.bmAttributes & USB_CONFIG_ATT_WAKEUP); in rtl_can_wakeup()
/linux-4.4.14/drivers/media/usb/au0828/
Dau0828-video.c1768 ((endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) in au0828_analog_register()
/linux-4.4.14/drivers/media/usb/gspca/
Dgspca.c619 attr = ep->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in alt_xfer()
/linux-4.4.14/drivers/usb/dwc3/
Dgadget.c1352 .bmAttributes = USB_ENDPOINT_XFER_CONTROL,
/linux-4.4.14/drivers/net/wireless/
Dat76c50x-usb.c2251 endpoint->bmAttributes); in at76_alloc_urbs()