Lines Matching refs:capsule
3 * EFI capsule loader driver.
47 pr_err("invalid capsule size\n");
51 /* Check if the capsule binary supported */
57 pr_err("capsule not supported\n");
81 * efi_capsule_setup_info - obtain the efi capsule header in the binary and
87 * Platforms with non-standard capsule update mechanisms can override
88 * this __weak function so they can perform any required capsule
115 * cap_info->capsule may have been assigned already by a quirk
118 if (!cap_info->capsule) {
119 cap_info->capsule = vmap(cap_info->pages, cap_info->index,
121 if (!cap_info->capsule)
126 ret = efi_capsule_update(cap_info->capsule, cap_info->phys);
128 vunmap(cap_info->capsule);
130 pr_err("capsule update failed\n");
134 /* Indicate capsule binary uploading is done */
138 pr_info("Successfully uploaded capsule file with reboot type '%s'\n",
143 pr_info("Successfully processed capsule file\n");
150 * efi_capsule_write - store the capsule binary and pass it to
158 * - A user space tool should start at the beginning of capsule binary and
165 * - An EFI capsule header must be located at the beginning of capsule
203 /* Copy capsule binary data from user space to kernel space buffer */
211 /* Setup capsule binary info structure */
226 pr_err("capsule upload size exceeded header defined size\n");
260 pr_err("capsule upload not complete\n");
279 * upload their capsule binary.
330 pr_err("Unable to register capsule loader device\n");
342 MODULE_DESCRIPTION("EFI capsule firmware binary loader");