Lines Matching refs:header
110 struct usb_functionfs_descs_head_v2 header; member
119 .header = {
184 const struct usb_functionfs_descs_head_v2 header; in descs_to_legacy() member
190 if (le32_to_cpu(in->header.magic) != in descs_to_legacy()
193 length = le32_to_cpu(in->header.length); in descs_to_legacy()
194 if (length <= sizeof in->header) in descs_to_legacy()
196 length -= sizeof in->header; in descs_to_legacy()
197 flags = le32_to_cpu(in->header.flags); in descs_to_legacy()
241 struct usb_functionfs_descs_head header; in descs_to_legacy() member
246 length = sizeof out->header + (descs_end - descs_start); in descs_to_legacy()
248 out->header.magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC); in descs_to_legacy()
249 out->header.length = cpu_to_le32(length); in descs_to_legacy()
250 out->header.fs_count = cpu_to_le32(fs_count); in descs_to_legacy()
251 out->header.hs_count = cpu_to_le32(hs_count); in descs_to_legacy()
263 struct usb_functionfs_strings_head header; member
269 .header = {