Lines Matching refs:cap_hdr
119 static int query_capability(struct pfru_update_cap_info *cap_hdr, in query_capability() argument
147 cap_hdr->status = out_obj->package.elements[CAP_STATUS_IDX].integer.value; in query_capability()
148 if (cap_hdr->status != DSM_SUCCEED) { in query_capability()
150 dev_dbg(pfru_dev->parent_dev, "Error Status:%d\n", cap_hdr->status); in query_capability()
154 cap_hdr->update_cap = out_obj->package.elements[CAP_UPDATE_IDX].integer.value; in query_capability()
155 memcpy(&cap_hdr->code_type, in query_capability()
158 cap_hdr->fw_version = in query_capability()
160 cap_hdr->code_rt_version = in query_capability()
162 memcpy(&cap_hdr->drv_type, in query_capability()
165 cap_hdr->drv_rt_version = in query_capability()
167 cap_hdr->drv_svn = in query_capability()
169 memcpy(&cap_hdr->platform_id, in query_capability()
172 memcpy(&cap_hdr->oem_id, in query_capability()
175 cap_hdr->oem_info_len = in query_capability()
275 const efi_capsule_header_t *cap_hdr = data; in applicable_image() local
287 size = cap_hdr->headersize; in applicable_image()
395 struct pfru_update_cap_info cap_hdr; in pfru_ioctl() local
403 ret = query_capability(&cap_hdr, pfru_dev); in pfru_ioctl()
407 if (copy_to_user(p, &cap_hdr, sizeof(cap_hdr))) in pfru_ioctl()