Home
last modified time | relevance | path

Searched refs:num_regions (Results 1 – 2 of 2) sorted by relevance

/u-boot/drivers/smem/
A Dmsm_smem.c273 unsigned int num_regions; member
482 for (i = 0; i < smem->num_regions; i++) { in qcom_smem_get_global()
852 int num_regions; in qcom_smem_probe() local
857 num_regions = 1; in qcom_smem_probe()
859 num_regions++; in qcom_smem_probe()
861 array_size = num_regions * sizeof(struct smem_region); in qcom_smem_probe()
867 smem->num_regions = num_regions; in qcom_smem_probe()
873 if (num_regions > 1) { in qcom_smem_probe()
/u-boot/lib/efi_loader/
A Defi_image_loader.c266 int num_regions, num_sections, i; in efi_image_parse() local
281 num_regions = 3; /* for header */ in efi_image_parse()
282 num_regions += nt->FileHeader.NumberOfSections; in efi_image_parse()
283 num_regions++; /* for extra */ in efi_image_parse()
285 regs = calloc(sizeof(*regs) + sizeof(struct image_region) * num_regions, in efi_image_parse()
289 regs->max = num_regions; in efi_image_parse()

Completed in 7 milliseconds