Searched refs:desc_header (Results 1 – 1 of 1) sorted by relevance
101 struct greybus_descriptor_header *desc_header = &desc->header; in identify_descriptor() local106 if (size < sizeof(*desc_header)) { in identify_descriptor()108 sizeof(*desc_header)); in identify_descriptor()112 desc_size = le16_to_cpu(desc_header->size); in identify_descriptor()120 expected_size = sizeof(*desc_header); in identify_descriptor()122 switch (desc_header->type) { in identify_descriptor()142 desc_header->type); in identify_descriptor()148 get_descriptor_type_string(desc_header->type), in identify_descriptor()156 get_descriptor_type_string(desc_header->type), in identify_descriptor()165 descriptor->data = (char *)desc + sizeof(*desc_header); in identify_descriptor()[all …]