Lines Matching +full:scatter +full:- +full:gather
1 // SPDX-License-Identifier: GPL-2.0
25 static int efi_reset_type = -1;
34 * efi_capsule_pending - has a capsule been passed to the firmware?
47 * A non-racy use is from platform reboot code because we use
74 * efi_capsule_supported - does the firmware support the capsule?
94 return -EINVAL; in efi_capsule_supported()
105 return -ENOSPC; in efi_capsule_supported()
112 * Every scatter gather list (block descriptor) page must end with a
116 #define SGLIST_PER_PAGE ((PAGE_SIZE / sizeof(efi_capsule_block_desc_t)) - 1)
119 * How many scatter gather list (block descriptor) pages do we need
128 * efi_capsule_update_locked - pass a single capsule to the firmware
130 * @sg_pages: array of scatter gather (block descriptor) pages
158 return -EINVAL; in efi_capsule_update_locked()
169 return -EINVAL; in efi_capsule_update_locked()
184 * efi_capsule_update - send a capsule to the firmware
188 * Build a scatter gather list with EFI capsule block descriptors to
218 u32 imagesize = capsule->imagesize; in efi_capsule_update()
219 efi_guid_t guid = capsule->guid; in efi_capsule_update()
221 u32 flags = capsule->flags; in efi_capsule_update()
235 return -ENOMEM; in efi_capsule_update()
240 rv = -ENOMEM; in efi_capsule_update()
252 PAGE_SIZE - (u64)*pages % PAGE_SIZE); in efi_capsule_update()
257 imagesize -= sz; in efi_capsule_update()
258 count--; in efi_capsule_update()