/linux-4.4.14/include/uapi/linux/usb/ |
D | video.h | 186 __u8 bLength; member 193 __u8 bLength; member 210 __u8 bLength; \ 222 __u8 bLength; member 235 __u8 bLength; member 249 __u8 bLength; member 267 __u8 bLength; member 283 __u8 bLength; \ 294 __u8 bLength; member 309 __u8 bLength; member [all …]
|
D | ch9.h | 250 __u8 bLength; member 259 __u8 bLength; member 315 __u8 bLength; member 338 __u8 bLength; member 352 __u8 bLength; member 370 __u8 bLength; member 618 __u8 bLength; member 654 __u8 bLength; member 671 __u8 bLength; member 679 __u8 bLength; member [all …]
|
D | audio.h | 155 __u8 bLength; /* 8 + n */ member 169 __u8 bLength; \ 180 __u8 bLength; /* in bytes: 12 */ member 209 __u8 bLength; /* in bytes: 9 */ member 237 __u8 bLength; \ 249 __u8 bLength; member 294 return raw[desc->bLength - 1]; in uac_mixer_unit_iMixer() 299 __u8 bLength; member 310 return raw[desc->bLength - 1]; in uac_selector_unit_iSelector() 315 __u8 bLength; member [all …]
|
D | cdc.h | 63 __u8 bLength; member 72 __u8 bLength; member 85 __u8 bLength; member 101 __u8 bLength; member 112 __u8 bLength; member 123 __u8 bLength; member 135 __u8 bLength; member 157 __u8 bLength; member 167 __u8 bLength; member 178 __u8 bLength; member [all …]
|
D | midi.h | 38 __u8 bLength; member 49 __u8 bLength; member 66 __u8 bLength; member 81 __u8 bLength; \ 93 __u8 bLength; /* 4+n */ member 105 __u8 bLength; \
|
D | functionfs.h | 28 __u8 bLength; member
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | f_uvc.c | 69 .bLength = sizeof(uvc_iad), 80 .bLength = USB_DT_INTERFACE_SIZE, 92 .bLength = USB_DT_ENDPOINT_SIZE, 101 .bLength = sizeof(uvc_ss_control_comp), 110 .bLength = UVC_DT_CONTROL_ENDPOINT_SIZE, 117 .bLength = USB_DT_INTERFACE_SIZE, 129 .bLength = USB_DT_INTERFACE_SIZE, 141 .bLength = USB_DT_ENDPOINT_SIZE, 152 .bLength = USB_DT_ENDPOINT_SIZE, 163 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
D | f_subset.c | 80 .bLength = sizeof subset_data_intf, 93 .bLength = sizeof mdlm_header_desc, 101 .bLength = sizeof mdlm_desc, 127 .bLength = sizeof ether_desc, 142 .bLength = USB_DT_ENDPOINT_SIZE, 150 .bLength = USB_DT_ENDPOINT_SIZE, 171 .bLength = USB_DT_ENDPOINT_SIZE, 179 .bLength = USB_DT_ENDPOINT_SIZE, 200 .bLength = USB_DT_ENDPOINT_SIZE, 208 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
D | f_ecm.c | 105 .bLength = sizeof ecm_iad_descriptor, 118 .bLength = sizeof ecm_control_intf, 131 .bLength = sizeof ecm_header_desc, 139 .bLength = sizeof(ecm_union_desc), 147 .bLength = sizeof ecm_desc, 162 .bLength = sizeof ecm_data_nop_intf, 177 .bLength = sizeof ecm_data_intf, 192 .bLength = USB_DT_ENDPOINT_SIZE, 202 .bLength = USB_DT_ENDPOINT_SIZE, 210 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
D | f_rndis.c | 114 .bLength = sizeof rndis_control_intf, 127 .bLength = sizeof header_desc, 135 .bLength = sizeof call_mgmt_descriptor, 144 .bLength = sizeof rndis_acm_descriptor, 152 .bLength = sizeof(rndis_union_desc), 162 .bLength = sizeof rndis_data_intf, 176 .bLength = sizeof rndis_iad_descriptor, 190 .bLength = USB_DT_ENDPOINT_SIZE, 200 .bLength = USB_DT_ENDPOINT_SIZE, 208 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
D | f_acm.c | 98 .bLength = sizeof acm_iad_descriptor, 111 .bLength = USB_DT_INTERFACE_SIZE, 122 .bLength = USB_DT_INTERFACE_SIZE, 133 .bLength = sizeof(acm_header_desc), 141 .bLength = sizeof(acm_call_mgmt_descriptor), 149 .bLength = sizeof(acm_descriptor), 156 .bLength = sizeof(acm_union_desc), 166 .bLength = USB_DT_ENDPOINT_SIZE, 175 .bLength = USB_DT_ENDPOINT_SIZE, 182 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
D | f_obex.c | 75 .bLength = sizeof(obex_control_intf), 86 .bLength = sizeof(obex_data_nop_intf), 96 .bLength = sizeof(obex_data_intf), 106 .bLength = sizeof(obex_cdc_header_desc), 113 .bLength = sizeof(obex_cdc_union_desc), 121 .bLength = sizeof(obex_desc), 130 .bLength = USB_DT_ENDPOINT_SIZE, 139 .bLength = USB_DT_ENDPOINT_SIZE, 163 .bLength = USB_DT_ENDPOINT_SIZE, 171 .bLength = USB_DT_ENDPOINT_SIZE,
|
D | f_serial.c | 46 .bLength = USB_DT_INTERFACE_SIZE, 59 .bLength = USB_DT_ENDPOINT_SIZE, 66 .bLength = USB_DT_ENDPOINT_SIZE, 82 .bLength = USB_DT_ENDPOINT_SIZE, 89 .bLength = USB_DT_ENDPOINT_SIZE, 103 .bLength = USB_DT_ENDPOINT_SIZE, 110 .bLength = USB_DT_ENDPOINT_SIZE, 117 .bLength = sizeof gser_ss_bulk_comp_desc,
|
D | storage_common.c | 37 .bLength = sizeof fsg_intf_desc, 54 .bLength = USB_DT_ENDPOINT_SIZE, 64 .bLength = USB_DT_ENDPOINT_SIZE, 91 .bLength = USB_DT_ENDPOINT_SIZE, 101 .bLength = USB_DT_ENDPOINT_SIZE, 121 .bLength = USB_DT_ENDPOINT_SIZE, 131 .bLength = sizeof(fsg_ss_bulk_in_comp_desc), 139 .bLength = USB_DT_ENDPOINT_SIZE, 149 .bLength = sizeof(fsg_ss_bulk_in_comp_desc),
|
D | f_sourcesink.c | 70 .bLength = USB_DT_INTERFACE_SIZE, 80 .bLength = USB_DT_INTERFACE_SIZE, 92 .bLength = USB_DT_ENDPOINT_SIZE, 100 .bLength = USB_DT_ENDPOINT_SIZE, 108 .bLength = USB_DT_ENDPOINT_SIZE, 118 .bLength = USB_DT_ENDPOINT_SIZE, 143 .bLength = USB_DT_ENDPOINT_SIZE, 151 .bLength = USB_DT_ENDPOINT_SIZE, 159 .bLength = USB_DT_ENDPOINT_SIZE, 168 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
D | f_uac2.c | 602 .bLength = sizeof devqual_desc, 614 .bLength = sizeof iad_desc, 626 .bLength = sizeof std_ac_if_desc, 638 .bLength = sizeof in_clk_src_desc, 650 .bLength = sizeof out_clk_src_desc, 662 .bLength = sizeof usb_out_it_desc, 676 .bLength = sizeof io_in_it_desc, 690 .bLength = sizeof usb_in_ot_desc, 704 .bLength = sizeof io_out_ot_desc, 717 .bLength = sizeof ac_hdr_desc, [all …]
|
D | f_loopback.c | 50 .bLength = sizeof(loopback_intf), 61 .bLength = USB_DT_ENDPOINT_SIZE, 69 .bLength = USB_DT_ENDPOINT_SIZE, 86 .bLength = USB_DT_ENDPOINT_SIZE, 94 .bLength = USB_DT_ENDPOINT_SIZE, 111 .bLength = USB_DT_ENDPOINT_SIZE, 119 .bLength = USB_DT_SS_EP_COMP_SIZE, 127 .bLength = USB_DT_ENDPOINT_SIZE, 135 .bLength = USB_DT_SS_EP_COMP_SIZE,
|
D | f_phonet.c | 71 .bLength = sizeof pn_control_intf_desc, 81 .bLength = sizeof pn_header_desc, 89 .bLength = sizeof pn_phonet_desc, 97 .bLength = sizeof pn_union_desc, 107 .bLength = sizeof pn_data_nop_intf_desc, 118 .bLength = sizeof pn_data_intf_desc, 129 .bLength = USB_DT_ENDPOINT_SIZE, 138 .bLength = USB_DT_ENDPOINT_SIZE, 148 .bLength = USB_DT_ENDPOINT_SIZE, 157 .bLength = USB_DT_ENDPOINT_SIZE,
|
D | f_eem.c | 47 .bLength = sizeof eem_intf, 61 .bLength = USB_DT_ENDPOINT_SIZE, 69 .bLength = USB_DT_ENDPOINT_SIZE, 87 .bLength = USB_DT_ENDPOINT_SIZE, 96 .bLength = USB_DT_ENDPOINT_SIZE, 115 .bLength = USB_DT_ENDPOINT_SIZE, 124 .bLength = USB_DT_ENDPOINT_SIZE, 133 .bLength = sizeof eem_ss_bulk_comp_desc,
|
D | f_uac1.c | 38 .bLength = USB_DT_INTERFACE_SIZE, 57 .bLength = UAC_DT_AC_HEADER_LENGTH, 71 .bLength = UAC_DT_INPUT_TERMINAL_SIZE, 84 .bLength = UAC_DT_FEATURE_UNIT_SIZE(0), 121 .bLength = UAC_DT_OUTPUT_TERMINAL_SIZE, 132 .bLength = USB_DT_INTERFACE_SIZE, 141 .bLength = USB_DT_INTERFACE_SIZE, 151 .bLength = UAC_DT_AS_HEADER_SIZE, 162 .bLength = UAC_FORMAT_TYPE_I_DISCRETE_DESC_SIZE(1), 173 .bLength = USB_DT_ENDPOINT_AUDIO_SIZE, [all …]
|
D | f_midi.c | 105 .bLength = USB_DT_INTERFACE_SIZE, 116 .bLength = UAC_DT_AC_HEADER_SIZE(1), 127 .bLength = USB_DT_INTERFACE_SIZE, 138 .bLength = USB_DT_MS_HEADER_SIZE, 147 .bLength = USB_DT_ENDPOINT_AUDIO_SIZE, 164 .bLength = USB_DT_ENDPOINT_AUDIO_SIZE, 802 in_ext->bLength = USB_DT_MIDI_IN_SIZE; in f_midi_bind() 810 out_emb->bLength = USB_DT_MIDI_OUT_SIZE(1); in f_midi_bind() 830 in_emb->bLength = USB_DT_MIDI_IN_SIZE; in f_midi_bind() 838 out_ext->bLength = USB_DT_MIDI_OUT_SIZE(1); in f_midi_bind() [all …]
|
D | f_ncm.c | 149 .bLength = sizeof ncm_iad_desc, 163 .bLength = sizeof ncm_control_intf, 175 .bLength = sizeof ncm_header_desc, 183 .bLength = sizeof(ncm_union_desc), 191 .bLength = sizeof ecm_desc, 206 .bLength = sizeof ncm_desc, 218 .bLength = sizeof ncm_data_nop_intf, 233 .bLength = sizeof ncm_data_intf, 248 .bLength = USB_DT_ENDPOINT_SIZE, 258 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
D | f_printer.c | 115 .bLength = sizeof(intf_desc), 125 .bLength = USB_DT_ENDPOINT_SIZE, 132 .bLength = USB_DT_ENDPOINT_SIZE, 151 .bLength = USB_DT_ENDPOINT_SIZE, 158 .bLength = USB_DT_ENDPOINT_SIZE, 165 .bLength = sizeof(dev_qualifier), 184 .bLength = USB_DT_ENDPOINT_SIZE, 191 .bLength = sizeof(ss_ep_in_comp_desc), 196 .bLength = USB_DT_ENDPOINT_SIZE, 203 .bLength = sizeof(ss_ep_out_comp_desc),
|
D | f_hid.c | 80 .bLength = sizeof hidg_interface_desc, 92 .bLength = sizeof hidg_desc, 104 .bLength = USB_DT_ENDPOINT_SIZE, 116 .bLength = USB_DT_ENDPOINT_SIZE, 138 .bLength = USB_DT_ENDPOINT_SIZE, 150 .bLength = USB_DT_ENDPOINT_SIZE, 449 hidg_desc_copy.bLength); in hidg_setup()
|
D | uvc_configfs.c | 144 h->desc.bLength = UVC_DT_HEADER_SIZE(1); in uvcg_control_header_make() 1486 h->desc.bLength = UVC_DT_FORMAT_UNCOMPRESSED_SIZE; in uvcg_uncompressed_make() 1682 h->desc.bLength = UVC_DT_FORMAT_MJPEG_SIZE; in uvcg_mjpeg_make() 1966 ihdr->bLength = sizeof(h->desc) + h->num_fmt * sz; in __uvcg_fill_strm() 2009 h->bLength = UVC_DT_FRAME_UNCOMPRESSED_SIZE( in __uvcg_fill_strm() 2012 h->bLength = UVC_DT_FRAME_MJPEG_SIZE( in __uvcg_fill_strm()
|
D | f_fs.c | 1730 length = _ds->bLength; in ffs_do_single_desc() 1829 _ds->bLength, _ds->bDescriptorType); in ffs_do_single_desc() 2508 ffs_dump_mem(": Original ep desc", ds, ds->bLength); in __ffs_func_bind_do_descs() 2544 ffs_dump_mem(": Rewritten ep desc", ds, ds->bLength); in __ffs_func_bind_do_descs()
|
/linux-4.4.14/drivers/usb/gadget/legacy/ |
D | webcam.c | 78 .bLength = USB_DT_DEVICE_SIZE, 97 .bLength = UVC_DT_HEADER_SIZE(1), 108 .bLength = UVC_DT_CAMERA_TERMINAL_SIZE(3), 125 .bLength = UVC_DT_PROCESSING_UNIT_SIZE(2), 138 .bLength = UVC_DT_OUTPUT_TERMINAL_SIZE, 151 .bLength = UVC_DT_INPUT_HEADER_SIZE(1, 2), 168 .bLength = UVC_DT_FORMAT_UNCOMPRESSED_SIZE, 188 .bLength = UVC_DT_FRAME_UNCOMPRESSED_SIZE(3), 206 .bLength = UVC_DT_FRAME_UNCOMPRESSED_SIZE(1), 222 .bLength = UVC_DT_FORMAT_MJPEG_SIZE, [all …]
|
D | tcm_usb_gadget.c | 1743 .bLength = sizeof(bot_intf_desc), 1753 .bLength = sizeof(uasp_intf_desc), 1763 .bLength = USB_DT_ENDPOINT_SIZE, 1771 .bLength = USB_DT_ENDPOINT_SIZE, 1778 .bLength = sizeof(uasp_bi_pipe_desc), 1784 .bLength = USB_DT_ENDPOINT_SIZE, 1792 .bLength = sizeof(uasp_bi_ep_comp_desc), 1800 .bLength = sizeof(bot_bi_ep_comp_desc), 1806 .bLength = USB_DT_ENDPOINT_SIZE, 1814 .bLength = USB_DT_ENDPOINT_SIZE, [all …]
|
D | dbgp.c | 36 .bLength = sizeof device_desc, 46 .bLength = sizeof dbg_desc, 51 .bLength = USB_DT_ENDPOINT_SIZE, 58 .bLength = USB_DT_ENDPOINT_SIZE,
|
D | ncm.c | 49 .bLength = sizeof device_desc,
|
D | gmidi.c | 87 .bLength = USB_DT_DEVICE_SIZE,
|
D | printer.c | 72 .bLength = sizeof device_desc,
|
D | cdc2.c | 43 .bLength = sizeof device_desc,
|
D | acm_ms.c | 40 .bLength = sizeof device_desc,
|
D | mass_storage.c | 55 .bLength = sizeof msg_device_desc,
|
D | serial.c | 66 .bLength = USB_DT_DEVICE_SIZE,
|
D | hid.c | 47 .bLength = sizeof device_desc,
|
D | audio.c | 123 .bLength = sizeof device_desc,
|
D | ether.c | 151 .bLength = sizeof device_desc,
|
D | inode.c | 751 if (data->desc.bLength != USB_DT_ENDPOINT_SIZE in ep_config() 759 if (data->hs_desc.bLength != USB_DT_ENDPOINT_SIZE in ep_config() 1259 qual.bLength = sizeof qual; in make_qualifier() 1752 && config->bLength == USB_DT_CONFIG_SIZE in is_valid_config() 1822 if (dev->dev->bLength != USB_DT_DEVICE_SIZE in dev_config()
|
D | zero.c | 113 .bLength = sizeof device_desc,
|
D | nokia.c | 90 .bLength = USB_DT_DEVICE_SIZE,
|
D | multi.c | 67 .bLength = sizeof device_desc,
|
D | g_ffs.c | 69 .bLength = sizeof gfs_dev_desc,
|
/linux-4.4.14/include/linux/usb/ |
D | audio-v2.h | 48 __u8 bLength; /* 9 */ member 59 __u8 bLength; /* in bytes: 6 */ member 70 __u8 bLength; member 90 __u8 bLength; member 102 __u8 bLength; member 114 __u8 bLength; member 131 __u8 bLength; member 148 __u8 bLength; member 161 __u8 bLength; member 178 __u8 bLength; /* in bytes: 8 */ member
|
D | wusb-wa.h | 91 u8 bLength; member 143 u8 bLength; member 176 u8 bLength; /* 0x18 */ member 226 u8 bLength; member 280 u8 bLength; member
|
D | irda.h | 90 __u8 bLength; member
|
D | uas.h | 91 __u8 bLength; member
|
D | wusb.h | 46 u8 bLength; member
|
/linux-4.4.14/drivers/usb/core/ |
D | config.c | 34 buffer += h->bLength; in find_next_descriptor() 35 size -= h->bLength; in find_next_descriptor() 71 ep->ss_ep_comp.bLength = USB_DT_SS_EP_COMP_SIZE; in usb_parse_ss_endpoint_companion() 155 buffer += d->bLength; in usb_parse_endpoint() 156 size -= d->bLength; in usb_parse_endpoint() 158 if (d->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE) in usb_parse_endpoint() 160 else if (d->bLength >= USB_DT_ENDPOINT_SIZE) in usb_parse_endpoint() 165 cfgno, inum, asnum, d->bLength); in usb_parse_endpoint() 327 buffer += d->bLength; in usb_parse_interface() 328 size -= d->bLength; in usb_parse_interface() [all …]
|
D | usb.c | 453 dev->ep0.desc.bLength = USB_DT_ENDPOINT_SIZE; in usb_alloc_dev() 686 if (header->bLength < 2) { in __usb_get_extra_descriptor() 691 header->bLength); in __usb_get_extra_descriptor() 700 buffer += header->bLength; in __usb_get_extra_descriptor() 701 size -= header->bLength; in __usb_get_extra_descriptor()
|
D | endpoint.c | 44 usb_ep_attr(bLength, "%02x\n");
|
D | hub.c | 2292 } else if (desc->bLength == sizeof in usb_enumerate_device_otg()
|
/linux-4.4.14/drivers/usb/gadget/ |
D | config.c | 48 unsigned len = (*src)->bLength; in usb_descriptor_fillbuf() 105 cp->bLength = USB_DT_CONFIG_SIZE; in usb_gadget_config_buf() 136 bytes += (*tmp)->bLength; in usb_copy_descriptors() 151 memcpy(mem, *src, (*src)->bLength); in usb_copy_descriptors() 154 mem += (*src)->bLength; in usb_copy_descriptors() 240 otg20_desc->bLength = sizeof(struct usb_otg20_descriptor); in usb_otg_descriptor_init() 246 otg1x_desc->bLength = sizeof(struct usb_otg_descriptor); in usb_otg_descriptor_init()
|
D | composite.c | 36 __u8 bLength; member 397 c->bLength = USB_DT_CONFIG_SIZE; in config_buf() 554 bos->bLength = USB_DT_BOS_SIZE; in bos_desc() 567 usb_ext->bLength = USB_DT_USB_EXT_CAP_SIZE; in bos_desc() 579 ss_cap->bLength = USB_DT_USB_SS_CAP_SIZE; in bos_desc() 607 qual->bLength = sizeof(*qual); in device_qual() 997 s->bLength = 2 * (len + 1); in get_string() 998 return s->bLength; in get_string() 1003 b->bLength = sizeof(*b); in get_string()
|
D | configfs.c | 1449 gi->cdev.desc.bLength = USB_DT_DEVICE_SIZE; in gadgets_make()
|
/linux-4.4.14/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 73 .bLength = sizeof(descriptors.fs_descs.intf), 80 .bLength = sizeof(descriptors.fs_descs.bulk_sink), 86 .bLength = sizeof(descriptors.fs_descs.bulk_source), 95 .bLength = sizeof(descriptors.hs_descs.intf), 102 .bLength = sizeof(descriptors.hs_descs.bulk_sink), 109 .bLength = sizeof(descriptors.hs_descs.bulk_source),
|
/linux-4.4.14/drivers/usb/wusbcore/ |
D | wa-nep.c | 120 if (size < notif_hdr->bLength) in wa_notif_dispatch() 122 itr += notif_hdr->bLength; in wa_notif_dispatch() 123 size -= notif_hdr->bLength; in wa_notif_dispatch() 132 notif_hdr->bLength - sizeof(*hwa_dn)); in wa_notif_dispatch() 148 (size_t)notif_hdr->bLength); in wa_notif_dispatch()
|
D | devconnect.c | 146 cack_ie->hdr.bLength = sizeof(cack_ie->hdr) in wusbhc_fill_cack_ie() 412 old_keep_alives = ie->hdr.bLength - sizeof(ie->hdr); in __wusbhc_keep_alive() 438 ie->hdr.bLength = sizeof(ie->hdr) + in __wusbhc_keep_alive() 672 ie->hdr.bLength = sizeof(*ie); in __wusbhc_dev_disable() 724 cap_size = cap_hdr->bLength; in wusb_dev_bos_grok() 996 wusbhc->keep_alive_ie.hdr.bLength = sizeof(wusbhc->keep_alive_ie.hdr); in wusbhc_devconnect_create() 1000 wusbhc->cack_ie.hdr.bLength = sizeof(wusbhc->cack_ie.hdr); in wusbhc_devconnect_create() 1033 hi->hdr.bLength = sizeof(*hi); in wusbhc_devconnect_start()
|
D | security.c | 50 wusbhc->gtk.descr.bLength = sizeof(wusbhc->gtk.descr) + in wusbhc_sec_create() 209 &wusbhc->gtk.descr, wusbhc->gtk.descr.bLength, in wusb_dev_set_gtk() 264 if (etd->bLength < sizeof(*etd)) { in wusb_dev_sec_add() 268 etd->bLength, sizeof(*etd)); in wusb_dev_sec_add() 271 itr += etd->bLength; in wusb_dev_sec_add()
|
D | wa-rpipe.c | 252 .bLength = sizeof(epc0), 291 if (hdr->bLength > itr_size) { in rpipe_epc_find() 297 hdr->bLength, itr_size); in rpipe_epc_find() 300 itr += hdr->bLength; in rpipe_epc_find() 301 itr_size -= hdr->bLength; in rpipe_epc_find()
|
D | wa-xfer.c | 518 b->cmd.bLength = sizeof(b->cmd); in __wa_xfer_abort() 701 xfer_hdr0->bLength = xfer_hdr_size; in __wa_xfer_setup_hdr0() 2788 if (xfer_result->hdr.bLength != sizeof(*xfer_result)) { in wa_dti_cb() 2790 xfer_result->hdr.bLength); in wa_dti_cb()
|
/linux-4.4.14/tools/usb/ffs-aio-example/multibuff/device_app/ |
D | aio_multibuff.c | 75 .bLength = sizeof(descriptors.fs_descs.intf), 82 .bLength = sizeof(descriptors.fs_descs.bulk_sink), 88 .bLength = sizeof(descriptors.fs_descs.bulk_source), 97 .bLength = sizeof(descriptors.hs_descs.intf), 104 .bLength = sizeof(descriptors.hs_descs.bulk_sink), 111 .bLength = sizeof(descriptors.hs_descs.bulk_source),
|
/linux-4.4.14/drivers/net/usb/ |
D | zaurus.c | 169 if (desc->bLength != sizeof *desc) { in blan_mdlm_bind() 171 desc->bLength); in blan_mdlm_bind() 190 if (detail->bLength != (sizeof *detail + 2)) in blan_mdlm_bind() 194 if (detail->bLength != (sizeof *detail + 3)) in blan_mdlm_bind() 221 detail->bLength, in blan_mdlm_bind()
|
D | cdc_ether.c | 238 header.usb_cdc_mdlm_detail_desc->bLength < in usbnet_generic_cdc_bind()
|
D | kaweth.c | 1022 (int)udev->descriptor.bLength, in kaweth_probe()
|
/linux-4.4.14/drivers/usb/host/ |
D | hwa-hc.c | 393 wuie, wuie->bLength, USB_CTRL_SET_TIMEOUT); in __hwahc_op_mmcie_add() 481 keyd->bLength = keyd_len; in __hwahc_dev_set_key() 584 hdr->bDescriptorType, hdr->bLength, in wa_fill_descr() 589 itr += hdr->bLength; in wa_fill_descr() 590 itr_size -= hdr->bLength; in wa_fill_descr() 597 if (hdr->bLength > itr_size) { /* is it available? */ in wa_fill_descr() 600 itr_size, hdr->bLength); in wa_fill_descr() 603 if (hdr->bLength < sizeof(*wa->wa_descr)) { in wa_fill_descr() 689 if (etd->bLength < sizeof(*etd)) { in hwahc_security_create() 693 (size_t)etd->bLength, sizeof(*etd)); in hwahc_security_create() [all …]
|
/linux-4.4.14/tools/usb/ |
D | testusb.c | 80 __u8 bLength; member 97 __u8 bLength; member 154 if (u.intf.bLength == sizeof u.intf in testdev_ffs_ifnum() 171 if (dev.bLength != sizeof dev || dev.bDescriptorType != USB_DT_DEVICE) in testdev_ifnum()
|
D | ffs-test.c | 128 .bLength = sizeof descriptors.fs_descs.intf, 135 .bLength = sizeof descriptors.fs_descs.sink, 142 .bLength = sizeof descriptors.fs_descs.source, 152 .bLength = sizeof descriptors.fs_descs.intf, 159 .bLength = sizeof descriptors.hs_descs.sink, 166 .bLength = sizeof descriptors.hs_descs.source,
|
/linux-4.4.14/drivers/uwb/ |
D | hwa-rc.c | 773 hdr->bDescriptorType, hdr->bLength, in hwarc_get_version() 778 itr += hdr->bLength; in hwarc_get_version() 779 itr_size -= hdr->bLength; in hwarc_get_version() 786 if (hdr->bLength > itr_size) { /* is it available? */ in hwarc_get_version() 789 itr_size, hdr->bLength); in hwarc_get_version() 792 if (hdr->bLength < sizeof(*descr)) { in hwarc_get_version()
|
/linux-4.4.14/sound/usb/ |
D | stream.c | 423 if (!csep || csep->bLength < 7 || in parse_uac_endpoint_attributes() 563 if (as->bLength < sizeof(*as)) { in snd_usb_parse_audio_interface() 595 if (as->bLength < sizeof(*as)) { in snd_usb_parse_audio_interface() 639 if (((protocol == UAC_VERSION_1) && (fmt->bLength < 8)) || in snd_usb_parse_audio_interface() 640 ((protocol == UAC_VERSION_2) && (fmt->bLength < 6))) { in snd_usb_parse_audio_interface()
|
D | mixer.c | 189 if (hdr->bLength >= 4 && in find_audio_control_unit() 1404 channels = (hdr->bLength - 7) / csize - 1; in parse_audio_feature_unit() 1406 if (hdr->bLength < 7 + csize) { in parse_audio_feature_unit() 1415 channels = (hdr->bLength - 6) / 4 - 1; in parse_audio_feature_unit() 1417 if (hdr->bLength < 6 + csize) { in parse_audio_feature_unit() 1599 if (desc->bLength < 11 || !(input_pins = desc->bNrInPins) || in parse_audio_mixer_unit() 1614 if (desc->bLength <= 10 + input_pins) in parse_audio_mixer_unit() 1803 if (desc->bLength < 13 || desc->bLength < 13 + num_ins || in build_audio_procunit() 1804 desc->bLength < num_ins + uac_processing_unit_bControlSize(desc, state->mixer->protocol)) { in build_audio_procunit() 2014 if (!desc->bNrInPins || desc->bLength < 5 + desc->bNrInPins) { in parse_audio_selector_unit() [all …]
|
D | quirks.c | 238 if (!ashd || ashd->bLength < 7 || in create_auto_pcm_quirk() 239 !fmtd || fmtd->bLength < 8) in create_auto_pcm_quirk() 263 if (injd && (injd->bLength < 5 || in create_yamaha_midi_quirk() 267 if (outjd && (outjd->bLength < 6 || in create_yamaha_midi_quirk() 309 mshd->bLength < 7 || in create_std_midi_quirk() 316 msepd->bLength < 4 || in create_std_midi_quirk()
|
D | midi.c | 82 __u8 bLength; member 90 __u8 bLength; member 1827 ms_header->bLength >= 7 && in snd_usbmidi_get_ms_info() 1844 ms_ep->bLength < 4 || in snd_usbmidi_get_ms_info()
|
D | pcm.c | 433 (get_endpoint(alts, 1)->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE && in set_sync_endpoint() 439 get_endpoint(alts, 1)->bLength, in set_sync_endpoint() 446 if (get_endpoint(alts, 0)->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE && in set_sync_endpoint()
|
D | card.c | 250 if (h1->bLength < sizeof(*h1) + h1->bInCollection) { in snd_usb_create_streams()
|
D | endpoint.c | 492 if (get_endpoint(alts, 1)->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE && in snd_usb_add_endpoint()
|
/linux-4.4.14/drivers/usb/host/whci/ |
D | wusb.c | 77 | (wuie->bLength << 8) in whc_mmcie_add() 80 return whc_do_gencmd(whc, WUSBGENCMDSTS_MMCIE_ADD, params, wuie, wuie->bLength); in whc_mmcie_add()
|
/linux-4.4.14/drivers/hid/ |
D | hid-hyperv.c | 200 if (desc->bLength == 0) in mousevsc_on_receive_device_info() 203 input_device->hid_desc = kmemdup(desc, desc->bLength, GFP_ATOMIC); in mousevsc_on_receive_device_info() 223 ((unsigned char *)desc) + desc->bLength, in mousevsc_on_receive_device_info()
|
/linux-4.4.14/drivers/net/irda/ |
D | irda-usb.h | 118 __u8 bLength; member
|
D | irda-usb.c | 1518 printk("bLength=%x\n", desc->bLength); in irda_usb_dump_class_desc()
|
/linux-4.4.14/drivers/usb/image/ |
D | mdc800.c | 187 .bLength = 0, 197 .bLength = 0, 207 .bLength = 0, 217 .bLength = 0,
|
/linux-4.4.14/drivers/media/pci/saa7164/ |
D | saa7164-types.h | 28 u8 bLength; member 48 u8 bLength; member
|
D | saa7164-core.c | 801 dprintk(1, " .bLength = 0x%x\n", dev->hwdesc.bLength); in saa7164_dump_hwdesc() 832 dprintk(1, " .bLength = 0x%x\n", dev->intfdesc.bLength); in saa7164_dump_intfdesc() 874 if (dev->hwdesc.bLength != sizeof(struct tmComResHWDescr)) { in saa7164_get_descriptors() 876 printk(KERN_ERR "Need %x got %d\n", dev->hwdesc.bLength, in saa7164_get_descriptors() 881 if (dev->intfdesc.bLength != sizeof(struct tmComResInterfaceDescr)) { in saa7164_get_descriptors() 883 printk(KERN_ERR "Need %x got %d\n", dev->intfdesc.bLength, in saa7164_get_descriptors()
|
/linux-4.4.14/sound/usb/misc/ |
D | ua101.c | 949 if (desc->bLength > extralen) { in find_format_descriptor() 953 if (desc->bLength == UAC_FORMAT_TYPE_I_DISCRETE_DESC_SIZE(1) && in find_format_descriptor() 964 extralen -= desc->bLength; in find_format_descriptor() 965 extra += desc->bLength; in find_format_descriptor()
|
/linux-4.4.14/drivers/usb/serial/ |
D | ir-usb.c | 98 dev_dbg(dev, "bLength=%x\n", desc->bLength); in irda_usb_dump_class_desc()
|
D | io_edgeport.c | 377 pStringDesc = kmalloc(StringDesc.bLength, GFP_KERNEL); 382 StringDesc.bLength)) {
|
/linux-4.4.14/include/linux/uwb/ |
D | spec.h | 776 u8 bLength; member
|
/linux-4.4.14/drivers/usb/misc/ |
D | usbtest.c | 675 if (config->bLength != 9) { in is_good_config() 708 if (ext->bLength != USB_DT_USB_EXT_CAP_SIZE) { in is_good_ext() 729 if (ss->bLength != USB_DT_USB_SS_CAP_SIZE) { in is_good_ss_cap() 758 if (con_id->bLength != USB_DT_USB_SS_CONTN_ID_SIZE) { in is_good_con_id() 899 length = header->bLength; in ch9_postconfig()
|
/linux-4.4.14/Documentation/ABI/stable/ |
D | sysfs-bus-usb | 127 than it advertises. The bLength field of each (sub) descriptor
|
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/ |
D | usb_intf.c | 118 DBG_8723A("bLength =%x\n", pendp_desc->bLength); in usb_dvobj_init()
|
/linux-4.4.14/drivers/usb/class/ |
D | cdc-acm.c | 1423 acm->country_codes = kmalloc(cfd->bLength - 4, GFP_KERNEL); in acm_probe() 1426 acm->country_code_size = cfd->bLength - 4; in acm_probe() 1428 cfd->bLength - 4); in acm_probe()
|
/linux-4.4.14/drivers/usb/gadget/udc/bdc/ |
D | bdc_udc.c | 57 .bLength = USB_DT_ENDPOINT_SIZE,
|
/linux-4.4.14/include/linux/ |
D | hid.h | 600 __u8 bLength; member
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
D | fusb300_udc.c | 818 memcpy(mem, *__src, (*__src)->bLength); \ 819 mem += (*__src)->bLength; \
|
D | dummy_hcd.c | 1987 .bLength = USB_DT_BOS_SIZE, 1993 .bLength = USB_DT_USB_SS_CAP_SIZE,
|
D | udc-xilinx.c | 210 .bLength = USB_DT_ENDPOINT_SIZE,
|
D | mv_u3d_core.c | 46 .bLength = USB_DT_ENDPOINT_SIZE,
|
D | fsl_udc_core.c | 71 .bLength = USB_DT_ENDPOINT_SIZE,
|
D | atmel_usba_udc.c | 1018 .bLength = USB_DT_ENDPOINT_SIZE,
|
D | mv_udc_core.c | 68 .bLength = USB_DT_ENDPOINT_SIZE,
|
D | fsl_qe_udc.c | 66 .bLength = USB_DT_ENDPOINT_SIZE,
|
/linux-4.4.14/drivers/input/misc/ |
D | ims-pcu.c | 1647 buflen -= union_desc->bLength; in ims_pcu_get_cdc_union_desc() 1648 buf += union_desc->bLength; in ims_pcu_get_cdc_union_desc()
|
/linux-4.4.14/drivers/usb/chipidea/ |
D | udc.c | 36 .bLength = USB_DT_ENDPOINT_SIZE, 46 .bLength = USB_DT_ENDPOINT_SIZE,
|
/linux-4.4.14/drivers/usb/dwc3/ |
D | gadget.c | 1350 .bLength = USB_DT_ENDPOINT_SIZE,
|
/linux-4.4.14/drivers/staging/emxx_udc/ |
D | emxx_udc.c | 1394 .bLength = sizeof(device_desc),
|