Home
last modified time | relevance | path

Searched refs:max_regions (Results 1 – 7 of 7) sorted by relevance

/u-boot/include/
A Dfdt_region.h77 int max_regions; /* Maximum regions to find */ member
139 struct fdt_region region[], int max_regions,
301 int max_regions, struct fdt_region_state *info);
/u-boot/common/
A Dfdt_region.c34 struct fdt_region region[], int max_regions, in fdt_find_regions() argument
131 if (count && count <= max_regions && in fdt_find_regions()
140 if (count < max_regions) { in fdt_find_regions()
153 if (count < max_regions) { in fdt_find_regions()
180 info->count <= info->max_regions && in fdt_add_region()
183 } else if (info->count++ < info->max_regions) { in fdt_add_region()
236 int max_regions, struct fdt_region_state *info) in fdt_add_alias_regions() argument
262 info->max_regions = max_regions; in fdt_add_alias_regions()
291 return info->count < max_regions ? info->count : -FDT_ERR_NOSPACE; in fdt_add_alias_regions()
366 info->max_regions = 1; in fdt_first_region()
A Dimage-fit-sig.c256 int max_regions; in fit_config_check_sig() local
322 max_regions = 20 + count * 7; in fit_config_check_sig()
323 struct fdt_region fdt_regions[max_regions]; in fit_config_check_sig()
328 fdt_regions, max_regions - 1, in fit_config_check_sig()
338 if (count >= max_regions - 1) { in fit_config_check_sig()
/u-boot/tools/
A Dfdtgrep.c655 int max_regions, char *path, int path_len, int flags) in fdtgrep_find_regions() argument
667 count < max_regions ? &region[count] : NULL, in fdtgrep_find_regions()
676 if (disp->add_aliases && count < max_regions) { in fdtgrep_find_regions()
680 max_regions, &state); in fdtgrep_find_regions()
685 } else if (new_count <= max_regions) { in fdtgrep_find_regions()
781 int max_regions; in do_fdtgrep() local
815 max_regions = count; in do_fdtgrep()
818 region, max_regions, path, sizeof(path), in do_fdtgrep()
825 if (count <= max_regions) in do_fdtgrep()
828 if (count > max_regions) { in do_fdtgrep()
/u-boot/drivers/pci_endpoint/
A Dpcie-cadence-ep.c154 pdata->max_regions = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in cdns_pci_ep_probe()
A Dpcie-cadence.h233 u32 max_regions; member
/u-boot/drivers/pci/
A Dpci-uclass.c911 int max_regions; in decode_regions() local
933 max_regions = len / cells_per_record + CONFIG_NR_DRAM_BANKS; in decode_regions()
935 calloc(1, max_regions * sizeof(struct pci_region)); in decode_regions()
937 for (i = 0; i < max_regions; i++, len -= cells_per_record) { in decode_regions()

Completed in 14 milliseconds