Home
last modified time | relevance | path

Searched refs:bLength (Results 1 – 106 of 106) sorted by relevance

/linux-4.1.27/include/uapi/linux/usb/
Dvideo.h186 __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 …]
Dch9.h250 __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
685 __u8 bLength; member
[all …]
Daudio.h155 __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 …]
Dcdc.h63 __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 …]
Dmidi.h38 __u8 bLength; member
49 __u8 bLength; member
66 __u8 bLength; member
81 __u8 bLength; \
93 __u8 bLength; /* 4+n */ member
105 __u8 bLength; \
Dfunctionfs.h28 __u8 bLength; member
/linux-4.1.27/drivers/usb/gadget/legacy/
Dwebcam.c78 .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 …]
Dtcm_usb_gadget.c1918 .bLength = sizeof(bot_intf_desc),
1928 .bLength = sizeof(uasp_intf_desc),
1938 .bLength = USB_DT_ENDPOINT_SIZE,
1946 .bLength = USB_DT_ENDPOINT_SIZE,
1953 .bLength = sizeof(uasp_bi_pipe_desc),
1959 .bLength = USB_DT_ENDPOINT_SIZE,
1967 .bLength = sizeof(uasp_bi_ep_comp_desc),
1975 .bLength = sizeof(bot_bi_ep_comp_desc),
1981 .bLength = USB_DT_ENDPOINT_SIZE,
1989 .bLength = USB_DT_ENDPOINT_SIZE,
[all …]
Dncm.c49 .bLength = sizeof device_desc,
73 .bLength = sizeof otg_descriptor,
Ddbgp.c36 .bLength = sizeof device_desc,
46 .bLength = sizeof dbg_desc,
51 .bLength = USB_DT_ENDPOINT_SIZE,
58 .bLength = USB_DT_ENDPOINT_SIZE,
Dprinter.c74 .bLength = sizeof device_desc,
86 .bLength = sizeof otg_descriptor,
Dcdc2.c43 .bLength = sizeof device_desc,
64 .bLength = sizeof otg_descriptor,
Dmass_storage.c55 .bLength = sizeof msg_device_desc,
68 .bLength = sizeof otg_descriptor,
Dacm_ms.c40 .bLength = sizeof device_desc,
62 .bLength = sizeof otg_descriptor,
Dserial.c67 .bLength = USB_DT_DEVICE_SIZE,
83 .bLength = sizeof otg_descriptor,
Dhid.c48 .bLength = sizeof device_desc,
72 .bLength = sizeof otg_descriptor,
Daudio.c124 .bLength = sizeof device_desc,
154 .bLength = sizeof otg_descriptor,
Dether.c151 .bLength = sizeof device_desc,
175 .bLength = sizeof otg_descriptor,
Dzero.c113 .bLength = sizeof device_desc,
126 .bLength = sizeof otg_descriptor,
Dmulti.c67 .bLength = sizeof device_desc,
84 .bLength = sizeof(struct usb_otg_descriptor),
Dgmidi.c89 .bLength = USB_DT_DEVICE_SIZE,
Dg_ffs.c69 .bLength = sizeof gfs_dev_desc,
94 .bLength = sizeof(struct usb_otg_descriptor),
Dnokia.c67 .bLength = USB_DT_DEVICE_SIZE,
Dinode.c751 if (data->desc.bLength != USB_DT_ENDPOINT_SIZE in ep_config()
759 if (data->hs_desc.bLength != USB_DT_ENDPOINT_SIZE in ep_config()
1256 qual.bLength = sizeof qual; in make_qualifier()
1749 && config->bLength == USB_DT_CONFIG_SIZE in is_valid_config()
1819 if (dev->dev->bLength != USB_DT_DEVICE_SIZE in dev_config()
/linux-4.1.27/drivers/usb/gadget/function/
Df_uvc.c69 .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 …]
Df_subset.c80 .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 …]
Df_ecm.c105 .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 …]
Dstorage_common.c37 .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),
Df_rndis.c114 .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 …]
Df_serial.c47 .bLength = USB_DT_INTERFACE_SIZE,
60 .bLength = USB_DT_ENDPOINT_SIZE,
67 .bLength = USB_DT_ENDPOINT_SIZE,
83 .bLength = USB_DT_ENDPOINT_SIZE,
90 .bLength = USB_DT_ENDPOINT_SIZE,
104 .bLength = USB_DT_ENDPOINT_SIZE,
111 .bLength = USB_DT_ENDPOINT_SIZE,
118 .bLength = sizeof gser_ss_bulk_comp_desc,
Df_obex.c77 .bLength = sizeof(obex_control_intf),
88 .bLength = sizeof(obex_data_nop_intf),
98 .bLength = sizeof(obex_data_intf),
108 .bLength = sizeof(obex_cdc_header_desc),
115 .bLength = sizeof(obex_cdc_union_desc),
123 .bLength = sizeof(obex_desc),
132 .bLength = USB_DT_ENDPOINT_SIZE,
141 .bLength = USB_DT_ENDPOINT_SIZE,
165 .bLength = USB_DT_ENDPOINT_SIZE,
173 .bLength = USB_DT_ENDPOINT_SIZE,
Df_acm.c99 .bLength = sizeof acm_iad_descriptor,
112 .bLength = USB_DT_INTERFACE_SIZE,
123 .bLength = USB_DT_INTERFACE_SIZE,
134 .bLength = sizeof(acm_header_desc),
142 .bLength = sizeof(acm_call_mgmt_descriptor),
150 .bLength = sizeof(acm_descriptor),
157 .bLength = sizeof(acm_union_desc),
167 .bLength = USB_DT_ENDPOINT_SIZE,
176 .bLength = USB_DT_ENDPOINT_SIZE,
183 .bLength = USB_DT_ENDPOINT_SIZE,
[all …]
Df_loopback.c55 .bLength = sizeof loopback_intf,
66 .bLength = USB_DT_ENDPOINT_SIZE,
74 .bLength = USB_DT_ENDPOINT_SIZE,
91 .bLength = USB_DT_ENDPOINT_SIZE,
99 .bLength = USB_DT_ENDPOINT_SIZE,
116 .bLength = USB_DT_ENDPOINT_SIZE,
124 .bLength = USB_DT_SS_EP_COMP_SIZE,
132 .bLength = USB_DT_ENDPOINT_SIZE,
140 .bLength = USB_DT_SS_EP_COMP_SIZE,
Df_sourcesink.c76 .bLength = USB_DT_INTERFACE_SIZE,
86 .bLength = USB_DT_INTERFACE_SIZE,
98 .bLength = USB_DT_ENDPOINT_SIZE,
106 .bLength = USB_DT_ENDPOINT_SIZE,
114 .bLength = USB_DT_ENDPOINT_SIZE,
124 .bLength = USB_DT_ENDPOINT_SIZE,
149 .bLength = USB_DT_ENDPOINT_SIZE,
157 .bLength = USB_DT_ENDPOINT_SIZE,
165 .bLength = USB_DT_ENDPOINT_SIZE,
174 .bLength = USB_DT_ENDPOINT_SIZE,
[all …]
Df_uac2.c602 .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 …]
Df_phonet.c71 .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,
Df_eem.c47 .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,
Df_uac1.c38 .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 …]
Df_midi.c105 .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,
795 in_ext->bLength = USB_DT_MIDI_IN_SIZE; in f_midi_bind()
803 out_emb->bLength = USB_DT_MIDI_OUT_SIZE(1); in f_midi_bind()
823 in_emb->bLength = USB_DT_MIDI_IN_SIZE; in f_midi_bind()
831 out_ext->bLength = USB_DT_MIDI_OUT_SIZE(1); in f_midi_bind()
[all …]
Df_ncm.c149 .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 …]
Df_printer.c115 .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),
Df_hid.c80 .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()
Duvc_configfs.c153 h->desc.bLength = UVC_DT_HEADER_SIZE(1); in uvcg_control_header_make()
1559 h->desc.bLength = UVC_DT_FORMAT_UNCOMPRESSED_SIZE; in uvcg_uncompressed_make()
1768 h->desc.bLength = UVC_DT_FORMAT_MJPEG_SIZE; in uvcg_mjpeg_make()
2060 ihdr->bLength = sizeof(h->desc) + h->num_fmt * sz; in __uvcg_fill_strm()
2103 h->bLength = UVC_DT_FRAME_UNCOMPRESSED_SIZE( in __uvcg_fill_strm()
2106 h->bLength = UVC_DT_FRAME_MJPEG_SIZE( in __uvcg_fill_strm()
Df_fs.c1730 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.1.27/drivers/usb/core/
Dconfig.c34 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 …]
Dusb.c453 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()
Dendpoint.c44 usb_ep_attr(bLength, "%02x\n");
/linux-4.1.27/include/linux/usb/
Daudio-v2.h48 __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
Dwusb-wa.h91 u8 bLength; member
143 u8 bLength; member
176 u8 bLength; /* 0x18 */ member
226 u8 bLength; member
280 u8 bLength; member
Dirda.h90 __u8 bLength; member
Duas.h91 __u8 bLength; member
Dwusb.h46 u8 bLength; member
/linux-4.1.27/drivers/usb/gadget/
Dconfig.c47 unsigned len = (*src)->bLength; in usb_descriptor_fillbuf()
104 cp->bLength = USB_DT_CONFIG_SIZE; in usb_gadget_config_buf()
135 bytes += (*tmp)->bLength; in usb_copy_descriptors()
150 memcpy(mem, *src, (*src)->bLength); in usb_copy_descriptors()
153 mem += (*src)->bLength; in usb_copy_descriptors()
Dcomposite.c35 __u8 bLength; member
390 c->bLength = USB_DT_CONFIG_SIZE; in config_buf()
547 bos->bLength = USB_DT_BOS_SIZE; in bos_desc()
560 usb_ext->bLength = USB_DT_USB_EXT_CAP_SIZE; in bos_desc()
572 ss_cap->bLength = USB_DT_USB_SS_CAP_SIZE; in bos_desc()
600 qual->bLength = sizeof(*qual); in device_qual()
992 s->bLength = 2 * (len + 1); in get_string()
993 return s->bLength; in get_string()
998 b->bLength = sizeof(*b); in get_string()
Dconfigfs.c1501 gi->cdev.desc.bLength = USB_DT_DEVICE_SIZE; in gadgets_make()
1514 gi->otg.bLength = sizeof(struct usb_otg_descriptor); in gadgets_make()
/linux-4.1.27/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c73 .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.1.27/drivers/usb/wusbcore/
Dwa-nep.c120 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()
Ddevconnect.c146 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()
Dsecurity.c50 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()
Dwa-rpipe.c252 .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()
Dwa-xfer.c518 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.1.27/tools/usb/ffs-aio-example/multibuff/device_app/
Daio_multibuff.c75 .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.1.27/drivers/net/usb/
Dzaurus.c169 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()
Dcdc_ether.c176 if (info->header->bLength != sizeof(*info->header)) { in usbnet_generic_cdc_bind()
178 info->header->bLength); in usbnet_generic_cdc_bind()
205 if (info->u->bLength != sizeof(*info->u)) { in usbnet_generic_cdc_bind()
207 info->u->bLength); in usbnet_generic_cdc_bind()
263 if (info->ether->bLength != sizeof(*info->ether)) { in usbnet_generic_cdc_bind()
265 info->ether->bLength); in usbnet_generic_cdc_bind()
282 if (desc->bLength != sizeof(*desc)) in usbnet_generic_cdc_bind()
297 if (detail->bLength < (sizeof(*detail) + 1)) in usbnet_generic_cdc_bind()
Dqmi_wwan.c260 if (h->bLength != sizeof(struct usb_cdc_header_desc)) { in qmi_wwan_bind()
262 h->bLength); in qmi_wwan_bind()
271 if (h->bLength != sizeof(struct usb_cdc_union_desc)) { in qmi_wwan_bind()
273 h->bLength); in qmi_wwan_bind()
283 if (h->bLength != sizeof(struct usb_cdc_ether_desc)) { in qmi_wwan_bind()
285 h->bLength); in qmi_wwan_bind()
300 len -= h->bLength; in qmi_wwan_bind()
301 buf += h->bLength; in qmi_wwan_bind()
Dkaweth.c1022 (int)udev->descriptor.bLength, in kaweth_probe()
/linux-4.1.27/drivers/usb/host/
Dhwa-hc.c393 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.1.27/tools/usb/
Dtestusb.c80 __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()
Dffs-test.c128 .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.1.27/drivers/uwb/
Dhwa-rc.c773 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.1.27/sound/usb/
Dstream.c412 if (!csep || csep->bLength < 7 || in parse_uac_endpoint_attributes()
552 if (as->bLength < sizeof(*as)) { in snd_usb_parse_audio_interface()
584 if (as->bLength < sizeof(*as)) { in snd_usb_parse_audio_interface()
628 if (((protocol == UAC_VERSION_1) && (fmt->bLength < 8)) || in snd_usb_parse_audio_interface()
629 ((protocol == UAC_VERSION_2) && (fmt->bLength < 6))) { in snd_usb_parse_audio_interface()
Dmixer.c189 if (hdr->bLength >= 4 && in find_audio_control_unit()
1398 channels = (hdr->bLength - 7) / csize - 1; in parse_audio_feature_unit()
1400 if (hdr->bLength < 7 + csize) { in parse_audio_feature_unit()
1409 channels = (hdr->bLength - 6) / 4 - 1; in parse_audio_feature_unit()
1411 if (hdr->bLength < 6 + csize) { in parse_audio_feature_unit()
1593 if (desc->bLength < 11 || !(input_pins = desc->bNrInPins) || in parse_audio_mixer_unit()
1608 if (desc->bLength <= 10 + input_pins) in parse_audio_mixer_unit()
1797 if (desc->bLength < 13 || desc->bLength < 13 + num_ins || in build_audio_procunit()
1798 desc->bLength < num_ins + uac_processing_unit_bControlSize(desc, state->mixer->protocol)) { in build_audio_procunit()
2008 if (!desc->bNrInPins || desc->bLength < 5 + desc->bNrInPins) { in parse_audio_selector_unit()
[all …]
Dquirks.c233 if (!ashd || ashd->bLength < 7 || in create_auto_pcm_quirk()
234 !fmtd || fmtd->bLength < 8) in create_auto_pcm_quirk()
258 if (injd && (injd->bLength < 5 || in create_yamaha_midi_quirk()
262 if (outjd && (outjd->bLength < 6 || in create_yamaha_midi_quirk()
304 mshd->bLength < 7 || in create_std_midi_quirk()
311 msepd->bLength < 4 || in create_std_midi_quirk()
Dpcm.c412 (get_endpoint(alts, 1)->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE && in set_sync_endpoint()
418 get_endpoint(alts, 1)->bLength, in set_sync_endpoint()
423 if (get_endpoint(alts, 0)->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE && in set_sync_endpoint()
Dmidi.c82 __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()
Dcard.c250 if (h1->bLength < sizeof(*h1) + h1->bInCollection) { in snd_usb_create_streams()
Dendpoint.c469 if (get_endpoint(alts, 1)->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE && in snd_usb_add_endpoint()
/linux-4.1.27/drivers/usb/host/whci/
Dwusb.c77 | (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.1.27/drivers/hid/
Dhid-hyperv.c200 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.1.27/drivers/net/irda/
Dirda-usb.h118 __u8 bLength; member
Dirda-usb.c1516 printk("bLength=%x\n", desc->bLength); in irda_usb_dump_class_desc()
/linux-4.1.27/drivers/usb/image/
Dmdc800.c187 .bLength = 0,
197 .bLength = 0,
207 .bLength = 0,
217 .bLength = 0,
/linux-4.1.27/drivers/media/pci/saa7164/
Dsaa7164-types.h28 u8 bLength; member
48 u8 bLength; member
Dsaa7164-core.c794 dprintk(1, " .bLength = 0x%x\n", dev->hwdesc.bLength); in saa7164_dump_hwdesc()
825 dprintk(1, " .bLength = 0x%x\n", dev->intfdesc.bLength); in saa7164_dump_intfdesc()
867 if (dev->hwdesc.bLength != sizeof(struct tmComResHWDescr)) { in saa7164_get_descriptors()
869 printk(KERN_ERR "Need %x got %d\n", dev->hwdesc.bLength, in saa7164_get_descriptors()
874 if (dev->intfdesc.bLength != sizeof(struct tmComResInterfaceDescr)) { in saa7164_get_descriptors()
876 printk(KERN_ERR "Need %x got %d\n", dev->intfdesc.bLength, in saa7164_get_descriptors()
/linux-4.1.27/sound/usb/misc/
Dua101.c949 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.1.27/drivers/usb/serial/
Dir-usb.c98 dev_dbg(dev, "bLength=%x\n", desc->bLength); in irda_usb_dump_class_desc()
Dio_edgeport.c377 pStringDesc = kmalloc(StringDesc.bLength, GFP_KERNEL);
382 StringDesc.bLength)) {
/linux-4.1.27/include/linux/uwb/
Dspec.h776 u8 bLength; member
/linux-4.1.27/drivers/usb/misc/
Dusbtest.c662 if (config->bLength != 9) { in is_good_config()
695 if (ext->bLength != USB_DT_USB_EXT_CAP_SIZE) { in is_good_ext()
716 if (ss->bLength != USB_DT_USB_SS_CAP_SIZE) { in is_good_ss_cap()
745 if (con_id->bLength != USB_DT_USB_SS_CONTN_ID_SIZE) { in is_good_con_id()
886 length = header->bLength; in ch9_postconfig()
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-bus-usb127 than it advertises. The bLength field of each (sub) descriptor
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/
Dusb_intf.c118 DBG_8723A("bLength =%x\n", pendp_desc->bLength); in usb_dvobj_init()
/linux-4.1.27/drivers/usb/class/
Dcdc-acm.c1433 acm->country_codes = kmalloc(cfd->bLength - 4, GFP_KERNEL); in acm_probe()
1436 acm->country_code_size = cfd->bLength - 4; in acm_probe()
1438 cfd->bLength - 4); in acm_probe()
/linux-4.1.27/drivers/usb/gadget/udc/bdc/
Dbdc_udc.c57 .bLength = USB_DT_ENDPOINT_SIZE,
/linux-4.1.27/include/linux/
Dhid.h600 __u8 bLength; member
/linux-4.1.27/drivers/usb/gadget/udc/
Dfusb300_udc.c818 memcpy(mem, *__src, (*__src)->bLength); \
819 mem += (*__src)->bLength; \
Ddummy_hcd.c1908 .bLength = USB_DT_BOS_SIZE,
1914 .bLength = USB_DT_USB_SS_CAP_SIZE,
Dudc-xilinx.c210 .bLength = USB_DT_ENDPOINT_SIZE,
Dmv_u3d_core.c46 .bLength = USB_DT_ENDPOINT_SIZE,
Dfsl_udc_core.c71 .bLength = USB_DT_ENDPOINT_SIZE,
Datmel_usba_udc.c1019 .bLength = USB_DT_ENDPOINT_SIZE,
Dmv_udc_core.c68 .bLength = USB_DT_ENDPOINT_SIZE,
Dfsl_qe_udc.c66 .bLength = USB_DT_ENDPOINT_SIZE,
/linux-4.1.27/drivers/input/misc/
Dims-pcu.c1647 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.1.27/drivers/usb/chipidea/
Dudc.c36 .bLength = USB_DT_ENDPOINT_SIZE,
46 .bLength = USB_DT_ENDPOINT_SIZE,
/linux-4.1.27/drivers/usb/dwc3/
Dgadget.c1335 .bLength = USB_DT_ENDPOINT_SIZE,
/linux-4.1.27/drivers/staging/emxx_udc/
Demxx_udc.c1405 .bLength = sizeof(device_desc),