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