Lines Matching refs:head
120 struct fw_header *head; in xc_request_firmware() local
135 head = (struct fw_header *)fw->data; in xc_request_firmware()
136 if (head->magic != 0x4e657458) { in xc_request_firmware()
137 if (head->magic == 0x5874654e) { in xc_request_firmware()
144 head->magic); in xc_request_firmware()
149 x->type = head->type; in xc_request_firmware()
150 x->version = head->version; in xc_request_firmware()
155 src = fw->data + head->fw_desc[i].ofs; in xc_request_firmware()
158 size = head->fw_desc[i].size - sizeof (unsigned int); in xc_request_firmware()
165 src = fw->data + head->fw_desc[i].patch_ofs; in xc_request_firmware()
166 size = head->fw_desc[i].patch_entries; in xc_request_firmware()