Lines Matching defs:header
110 struct usb_functionfs_descs_head_v2 header;
127 .header = {
229 /* Read v2 header */
232 const struct usb_functionfs_descs_head_v2 header;
238 if (le32_to_cpu(in->header.magic) !=
241 length = le32_to_cpu(in->header.length);
242 if (length <= sizeof in->header)
244 length -= sizeof in->header;
245 flags = le32_to_cpu(in->header.flags);
289 struct usb_functionfs_descs_head header;
294 length = sizeof out->header + (descs_end - descs_start);
296 out->header.magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC);
297 out->header.length = cpu_to_le32(length);
298 out->header.fs_count = cpu_to_le32(fs_count);
299 out->header.hs_count = cpu_to_le32(hs_count);
311 struct usb_functionfs_strings_head header;
317 .header = {