/linux-4.1.27/include/uapi/linux/usb/ |
D | ch9.h | 322 __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 …]
|
D | functionfs.h | 32 __u8 bmAttributes; member
|
D | audio.h | 521 __u8 bmAttributes; member
|
/linux-4.1.27/drivers/usb/gadget/legacy/ |
D | zero.c | 132 .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()
|
D | printer.c | 88 .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()
|
D | ncm.c | 79 .bmAttributes = USB_OTG_SRP | USB_OTG_HNP, 118 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in ncm_do_config() 141 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
D | ether.c | 181 .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,
|
D | multi.c | 91 .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()
|
D | cdc2.c | 70 .bmAttributes = USB_OTG_SRP | USB_OTG_HNP, 113 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in cdc_do_config() 151 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
D | mass_storage.c | 75 .bmAttributes = USB_OTG_SRP | USB_OTG_HNP, 140 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in msg_do_config() 163 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
D | acm_ms.c | 69 .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,
|
D | serial.c | 89 .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()
|
D | hid.c | 78 .bmAttributes = USB_OTG_SRP | USB_OTG_HNP, 116 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in do_config() 145 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
D | audio.c | 160 .bmAttributes = USB_OTG_SRP | USB_OTG_HNP, 178 c->bmAttributes |= USB_CONFIG_ATT_WAKEUP; in audio_do_config() 214 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
D | tcm_usb_gadget.c | 1941 .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 …]
|
D | g_ffs.c | 101 .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()
|
D | nokia.c | 103 .bmAttributes = USB_CONFIG_ATT_ONE, 111 .bmAttributes = USB_CONFIG_ATT_ONE | USB_CONFIG_ATT_SELFPOWER,
|
D | gmidi.c | 132 .bmAttributes = USB_CONFIG_ATT_ONE,
|
D | dbgp.c | 53 .bmAttributes = USB_ENDPOINT_XFER_BULK, 60 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
D | webcam.c | 357 .bmAttributes = USB_CONFIG_ATT_SELFPOWER,
|
D | inode.c | 1751 && (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/ |
D | ft1000_usb.c | 103 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/ |
D | f_sourcesink.c | 102 .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 …]
|
D | f_loopback.c | 70 .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,
|
D | f_serial.c | 63 .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,
|
D | f_subset.c | 146 .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,
|
D | storage_common.c | 58 .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,
|
D | f_ecm.c | 196 .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,
|
D | f_rndis.c | 194 .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,
|
D | f_eem.c | 65 .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,
|
D | f_acm.c | 170 .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,
|
D | f_obex.c | 136 .bmAttributes = USB_ENDPOINT_XFER_BULK, 145 .bmAttributes = USB_ENDPOINT_XFER_BULK, 169 .bmAttributes = USB_ENDPOINT_XFER_BULK, 177 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
D | f_uvc.c | 95 .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()
|
D | f_phonet.c | 133 .bmAttributes = USB_ENDPOINT_XFER_BULK, 142 .bmAttributes = USB_ENDPOINT_XFER_BULK, 152 .bmAttributes = USB_ENDPOINT_XFER_BULK, 161 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
D | f_uac2.c | 643 .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,
|
D | f_printer.c | 128 .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,
|
D | f_ncm.c | 252 .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,
|
D | f_hid.c | 107 .bmAttributes = USB_ENDPOINT_XFER_INT, 119 .bmAttributes = USB_ENDPOINT_XFER_INT, 141 .bmAttributes = USB_ENDPOINT_XFER_INT, 153 .bmAttributes = USB_ENDPOINT_XFER_INT,
|
D | f_uac1.c | 176 .bmAttributes = USB_ENDPOINT_SYNC_ADAPTIVE 187 .bmAttributes = 1,
|
D | f_midi.c | 150 .bmAttributes = USB_ENDPOINT_XFER_BULK, 167 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
D | pxa25x_udc.c | 228 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 …]
|
D | omap_udc.c | 163 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 …]
|
D | s3c2410_udc.h | 27 u8 bmAttributes; member
|
D | omap_udc.h | 146 u8 bmAttributes; member
|
D | pxa25x_udc.h | 49 u8 bmAttributes; member
|
D | mv_u3d_core.c | 49 .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()
|
D | s3c2410_udc.c | 1711 .bmAttributes = USB_ENDPOINT_XFER_BULK, 1723 .bmAttributes = USB_ENDPOINT_XFER_BULK, 1735 .bmAttributes = USB_ENDPOINT_XFER_BULK, 1747 .bmAttributes = USB_ENDPOINT_XFER_BULK,
|
D | mv_udc_core.c | 71 .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()
|
D | pxa27x_udc.h | 240 .bmAttributes = type, \
|
D | fsl_udc_core.c | 74 .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()
|
D | net2280.c | 111 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()
|
D | fsl_qe_udc.c | 70 .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()
|
D | net2272.c | 147 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()
|
D | udc-xilinx.c | 213 .bmAttributes = USB_ENDPOINT_XFER_BULK, 819 tmp = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in __xudc_ep_enable()
|
D | pch_udc.c | 996 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()
|
D | s3c-hsudc.c | 766 if ((desc->bmAttributes == USB_ENDPOINT_XFER_BULK in s3c_hsudc_ep_enable()
|
D | amd5536udc.c | 341 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()
|
D | fusb300_udc.c | 212 info.type = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in config_ep()
|
D | m66592-udc.c | 397 switch (desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) { in alloc_pipe_config()
|
D | gr_udc.c | 732 if (ep->num && ep->ep.desc->bmAttributes == USB_ENDPOINT_XFER_ISOC) in gr_ep_halt_wedge()
|
D | atmel_usba_udc.c | 1022 .bmAttributes = USB_ENDPOINT_XFER_CONTROL,
|
D | lpc32xx_udc.c | 1695 tmp = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in lpc32xx_ep_enable()
|
/linux-4.1.27/drivers/usb/core/ |
D | config.c | 99 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()
|
D | generic.c | 85 if (bus_powered && (c->desc.bmAttributes & in usb_choose_configuration()
|
D | endpoint.c | 46 usb_ep_attr(bmAttributes, "%02x\n");
|
D | devices.c | 242 desc->bmAttributes, type, in usb_dump_endpoint_descriptor() 334 desc->bmAttributes, in usb_dump_config_descriptor()
|
D | urb.c | 407 int mult = USB_SS_MULT(ep->ss_ep_comp.bmAttributes); in usb_submit_urb()
|
D | hub.c | 137 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()
|
D | sysfs.c | 43 usb_actconfig_attr(bmAttributes, "%2x\n");
|
D | hcd.c | 692 bmAttributes)) in rh_call_control() 693 ((struct usb_config_descriptor *)ubuf)->bmAttributes in rh_call_control()
|
D | message.c | 237 if ((ep->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_bulk_msg()
|
/linux-4.1.27/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 83 .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/ |
D | aio_multibuff.c | 85 .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/ |
D | mdc800.c | 190 .bmAttributes = 0x02, 200 .bmAttributes = 0x03, 210 .bmAttributes = 0x02, 220 .bmAttributes = 0x02, 240 && ( a->bmAttributes == b->bmAttributes ) in mdc800_endpoint_equals()
|
D | microtek.c | 704 if ((altsetting->endpoint[i].desc.bmAttributes & in mts_usb_probe()
|
/linux-4.1.27/include/linux/usb/ |
D | wusb-wa.h | 159 u8 bmAttributes; member 284 u8 bmAttributes; /* Reserved == 0 */ member
|
D | audio-v2.h | 74 __u8 bmAttributes; member 181 __u8 bmAttributes; member
|
D | composite.h | 305 u8 bmAttributes; member
|
/linux-4.1.27/drivers/usb/gadget/ |
D | epautoconf.c | 119 num_req_streams = ep_comp->bmAttributes & 0x1f; in ep_matches() 256 type = desc->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_ep_autoconfig_ss()
|
D | config.c | 107 cp->bmAttributes |= USB_CONFIG_ATT_ONE; in usb_gadget_config_buf()
|
D | configfs.c | 492 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()
|
D | composite.c | 167 _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/ |
D | ffs-test.c | 138 .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/ |
D | usb.c | 310 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/ |
D | stream.c | 421 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()
|
D | pcm.c | 309 (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()
|
D | quirks.c | 465 fp->ep_attr = get_endpoint(alts, 0)->bmAttributes; in create_uaxx_quirk()
|
D | midi.c | 1949 (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/ |
D | wa-rpipe.c | 373 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/ |
D | rsi_91x_usb.c | 113 ((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/ |
D | configfs-usb-gadget | 40 bmAttributes - configuration characteristics
|
D | sysfs-bus-usb | 134 in the bmAttributes field of their SuperSpeed BOS descriptors.
|
/linux-4.1.27/drivers/media/usb/siano/ |
D | smsusb.c | 516 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/ |
D | bdc_cmd.c | 174 mul = comp_desc->bmAttributes; in bdc_config_ep()
|
D | bdc_udc.c | 59 .bmAttributes = USB_ENDPOINT_XFER_CONTROL,
|
/linux-4.1.27/drivers/media/rc/ |
D | streamzap.c | 374 "02%02x\n", __func__, sz->endpoint->bmAttributes); in streamzap_probe()
|
D | ati_remote.c | 172 if (udev->actconfig->desc.bmAttributes & USB_CONFIG_ATT_WAKEUP) { in get_medion_keymap()
|
D | redrat3.c | 922 attrs = ep->bmAttributes; in redrat3_dev_probe()
|
/linux-4.1.27/drivers/usb/misc/ |
D | usbtest.c | 667 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/ |
D | lirc_sasem.c | 705 ep_type = ep->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in sasem_probe()
|
D | lirc_imon.c | 745 ep_type = ep->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in imon_probe()
|
/linux-4.1.27/drivers/input/tablet/ |
D | gtco.c | 879 …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/ |
D | hfc_usb.c | 1316 attr = ep->desc.bmAttributes; in hfc_usb_probe() 1372 attr = ep->desc.bmAttributes; in hfc_usb_probe()
|
/linux-4.1.27/Documentation/usb/ |
D | gadget_configfs.txt | 184 ./configs/c.1/bmAttributes
|
/linux-4.1.27/include/linux/ |
D | usb.h | 715 return udev->bos->ss_cap->bmAttributes & USB_LTM_SUPPORT; in usb_device_supports_ltm()
|
/linux-4.1.27/drivers/w1/masters/ |
D | ds2490.c | 1044 endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK); in ds_probe()
|
/linux-4.1.27/drivers/usb/chipidea/ |
D | udc.c | 40 .bmAttributes = USB_ENDPOINT_XFER_CONTROL, 50 .bmAttributes = USB_ENDPOINT_XFER_CONTROL,
|
/linux-4.1.27/drivers/staging/ozwpan/ |
D | ozhcd.c | 1203 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/ |
D | tm6000-cards.c | 1265 switch (e->desc.bmAttributes) { in tm6000_usb_probe()
|
/linux-4.1.27/drivers/isdn/hardware/mISDN/ |
D | hfcsusb.c | 1968 attr = ep->desc.bmAttributes; in hfcsusb_probe() 2035 switch (ep->desc.bmAttributes) { in hfcsusb_probe()
|
/linux-4.1.27/drivers/net/irda/ |
D | irda-usb.c | 1472 attr = endpoint[i].desc.bmAttributes; in irda_usb_parse_endpoints()
|
/linux-4.1.27/drivers/usb/atm/ |
D | cxacru.c | 1181 if ((cmd_ep->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) in cxacru_bind()
|
/linux-4.1.27/drivers/usb/host/ |
D | xhci.c | 4093 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()
|
D | xhci-mem.c | 1340 return ep->ss_ep_comp.bmAttributes; in xhci_get_endpoint_mult()
|
/linux-4.1.27/drivers/media/usb/usbvision/ |
D | usbvision-video.c | 1548 __func__, endpoint->bmAttributes); in usbvision_probe()
|
/linux-4.1.27/drivers/net/usb/ |
D | cdc_ncm.c | 641 switch (e->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) { in cdc_ncm_find_endpoints()
|
D | usbnet.c | 117 switch (e->desc.bmAttributes) { in usbnet_get_endpoints()
|
/linux-4.1.27/drivers/usb/dwc2/ |
D | gadget.c | 2602 __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/ |
D | au0828-video.c | 1762 ((endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) in au0828_analog_register()
|
/linux-4.1.27/drivers/usb/dwc3/ |
D | gadget.c | 1337 .bmAttributes = USB_ENDPOINT_XFER_CONTROL,
|
/linux-4.1.27/drivers/media/usb/gspca/ |
D | gspca.c | 619 attr = ep->desc.bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in alt_xfer()
|
/linux-4.1.27/drivers/net/wireless/ |
D | at76c50x-usb.c | 2251 endpoint->bmAttributes); in at76_alloc_urbs()
|