Home
last modified time | relevance | path

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

1234

/drivers/usb/gadget/function/
Df_uvc.c68 .bLength = sizeof(uvc_iad),
79 .bLength = USB_DT_INTERFACE_SIZE,
91 .bLength = USB_DT_ENDPOINT_SIZE,
100 .bLength = sizeof(uvc_ss_control_comp),
109 .bLength = UVC_DT_CONTROL_ENDPOINT_SIZE,
116 .bLength = USB_DT_INTERFACE_SIZE,
128 .bLength = USB_DT_INTERFACE_SIZE,
140 .bLength = USB_DT_ENDPOINT_SIZE,
151 .bLength = USB_DT_ENDPOINT_SIZE,
162 .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 …]
Df_rndis.c124 .bLength = sizeof rndis_control_intf,
137 .bLength = sizeof header_desc,
145 .bLength = sizeof call_mgmt_descriptor,
154 .bLength = sizeof rndis_acm_descriptor,
162 .bLength = sizeof(rndis_union_desc),
172 .bLength = sizeof rndis_data_intf,
186 .bLength = sizeof rndis_iad_descriptor,
200 .bLength = USB_DT_ENDPOINT_SIZE,
210 .bLength = USB_DT_ENDPOINT_SIZE,
218 .bLength = USB_DT_ENDPOINT_SIZE,
[all …]
Df_sourcesink.c91 .bLength = USB_DT_INTERFACE_SIZE,
101 .bLength = USB_DT_INTERFACE_SIZE,
111 .bLength = USB_DT_INTERFACE_SIZE,
123 .bLength = USB_DT_ENDPOINT_SIZE,
131 .bLength = USB_DT_ENDPOINT_SIZE,
139 .bLength = USB_DT_ENDPOINT_SIZE,
149 .bLength = USB_DT_ENDPOINT_SIZE,
159 .bLength = USB_DT_ENDPOINT_SIZE,
169 .bLength = USB_DT_ENDPOINT_SIZE,
198 .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_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_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_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_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_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_audio_source.c46 .bLength = USB_DT_INTERFACE_SIZE,
62 .bLength = UAC_DT_AC_HEADER_LENGTH,
76 .bLength = UAC_DT_INPUT_TERMINAL_SIZE,
89 .bLength = UAC_DT_FEATURE_UNIT_SIZE(0),
99 .bLength = UAC_DT_OUTPUT_TERMINAL_SIZE,
110 .bLength = USB_DT_INTERFACE_SIZE,
119 .bLength = USB_DT_INTERFACE_SIZE,
129 .bLength = UAC_DT_AS_HEADER_SIZE,
140 .bLength = UAC_FORMAT_TYPE_I_DISCRETE_DESC_SIZE(1),
151 .bLength = USB_DT_ENDPOINT_AUDIO_SIZE,
[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,
53 .bLength = UAC_DT_AC_HEADER_LENGTH,
67 .bLength = UAC_DT_INPUT_TERMINAL_SIZE,
80 .bLength = UAC_DT_FEATURE_UNIT_SIZE(0),
117 .bLength = UAC_DT_OUTPUT_TERMINAL_SIZE,
128 .bLength = USB_DT_INTERFACE_SIZE,
137 .bLength = USB_DT_INTERFACE_SIZE,
147 .bLength = UAC_DT_AS_HEADER_SIZE,
158 .bLength = UAC_FORMAT_TYPE_I_DISCRETE_DESC_SIZE(1),
169 .bLength = USB_DT_ENDPOINT_AUDIO_SIZE,
[all …]
/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()
343 buffer += d->bLength; in usb_parse_interface()
344 size -= d->bLength; in usb_parse_interface()
[all …]
/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.c1955 .bLength = sizeof(bot_intf_desc),
1965 .bLength = sizeof(uasp_intf_desc),
1975 .bLength = USB_DT_ENDPOINT_SIZE,
1983 .bLength = USB_DT_ENDPOINT_SIZE,
1990 .bLength = sizeof(uasp_bi_pipe_desc),
1996 .bLength = USB_DT_ENDPOINT_SIZE,
2004 .bLength = sizeof(uasp_bi_ep_comp_desc),
2012 .bLength = sizeof(bot_bi_ep_comp_desc),
2018 .bLength = USB_DT_ENDPOINT_SIZE,
2026 .bLength = USB_DT_ENDPOINT_SIZE,
[all …]
/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()
/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()
/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.c177 if (info->header->bLength != sizeof(*info->header)) { in usbnet_generic_cdc_bind()
179 info->header->bLength); in usbnet_generic_cdc_bind()
210 if (info->u->bLength != sizeof(*info->u)) { in usbnet_generic_cdc_bind()
212 info->u->bLength); in usbnet_generic_cdc_bind()
270 if (info->ether->bLength != sizeof(*info->ether)) { in usbnet_generic_cdc_bind()
272 info->ether->bLength); in usbnet_generic_cdc_bind()
288 if (desc->bLength != sizeof(*desc)) in usbnet_generic_cdc_bind()
303 if (detail->bLength < (sizeof(*detail) + 1)) in usbnet_generic_cdc_bind()
Dqmi_wwan.c258 if (h->bLength != sizeof(struct usb_cdc_header_desc)) { in qmi_wwan_bind()
260 h->bLength); in qmi_wwan_bind()
269 if (h->bLength != sizeof(struct usb_cdc_union_desc)) { in qmi_wwan_bind()
271 h->bLength); in qmi_wwan_bind()
281 if (h->bLength != sizeof(struct usb_cdc_ether_desc)) { in qmi_wwan_bind()
283 h->bLength); in qmi_wwan_bind()
298 len -= h->bLength; in qmi_wwan_bind()
299 buf += h->bLength; in qmi_wwan_bind()
/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 …]

1234