/openbmc/u-boot/arch/arm/mach-mvebu/armada8k/ |
H A D | cpu.c | 26 * The following table includes all memory regions for Armada 7k and 27 * 8k SoCs. The Armada 7k is missing the CP110 slave regions here. Lets 28 * define these regions at the beginning of the struct so that they 34 /* Armada 80x0 memory regions include the CP1 (slave) units */ 36 /* SRAM, MMIO regions - CP110 slave region */ 44 /* PCI CP1 regions */ 51 /* Armada 80x0 and 70x0 common memory regions start here */ 61 /* SRAM, MMIO regions - AP806 region */ 69 /* SRAM, MMIO regions - CP110 master region */ 77 /* PCI CP0 regions */ [all …]
|
/openbmc/u-boot/include/linux/ |
H A D | libfdt.h | 80 struct fdt_region *region; /* Contains list of regions found */ 81 int count; /* Numnber of regions found */ 83 int max_regions; /* Maximum regions to find */ 90 * fdt_find_regions() - find regions in device tree 93 * the regions of the device tree which describe those included parts. 95 * The intent is to get a list of regions which will be invariant provided 96 * those parts are invariant. For example, if you request a list of regions 132 * @region: Returns list of regions 139 * @return number of regions in list. If this is >max_regions then the 149 * fdt_first_region() - find regions in device tree [all …]
|
/openbmc/qemu/docs/devel/ |
H A D | memory.rst | 10 - memory controllers that can dynamically reroute physical memory regions 17 - setting up ioeventfd regions for kvm 20 (leaves) are RAM and MMIO regions, while other nodes represent 21 buses, memory controllers, and memory regions that have been rerouted. 27 Types of regions 30 There are multiple types of memory regions (all represented by a single C type 58 - container: a container simply includes other memory regions, each at 59 a different offset. Containers are useful for grouping several regions 64 useful to have overlapping regions; for example a memory controller that 71 split apart into discontiguous regions. Examples of uses are memory [all …]
|
/openbmc/u-boot/drivers/mtd/ |
H A D | cfi_mtd.c | 136 int regions = 0; in cfi_mtd_set_erasesize() local 147 regions++; in cfi_mtd_set_erasesize() 151 switch (regions) { in cfi_mtd_set_erasesize() 160 mtd->numeraseregions = regions; in cfi_mtd_set_erasesize() 161 mtd->eraseregions = malloc(sizeof(struct mtd_erase_region_info) * regions); in cfi_mtd_set_erasesize() 166 regions = 0; in cfi_mtd_set_erasesize() 171 mtd->eraseregions[regions].offset = offset - base_addr; in cfi_mtd_set_erasesize() 172 mtd->eraseregions[regions].erasesize = sect_size_old; in cfi_mtd_set_erasesize() 173 mtd->eraseregions[regions].numblocks = numblocks; in cfi_mtd_set_erasesize() 176 regions++; in cfi_mtd_set_erasesize() [all …]
|
H A D | jedec_flash.c | 151 const ulong regions[6]; member 177 .regions = { 193 .regions = { 207 .regions = { 221 .regions = { 235 .regions = { 249 .regions = { 263 .regions = { 277 .regions = { 293 .regions = { [all …]
|
/openbmc/u-boot/cmd/ |
H A D | armflash.c | 29 struct afs_region regions[MAX_REGIONS]; member 104 afi->regions[0].offset = readl((void *)imginfo + 0x04); in parse_bank() 105 afi->regions[0].load_address = in parse_bank() 107 afi->regions[0].size = readl((void *)imginfo + 0x0C); in parse_bank() 146 /* Parse regions */ in parse_bank() 148 afi->regions[j].load_address = in parse_bank() 150 afi->regions[j].size = in parse_bank() 152 afi->regions[j].offset = in parse_bank() 200 from = afi->flash_mem_start + afi->regions[i].offset; in load_image() 203 } else if (afi->regions[i].load_address) { in load_image() [all …]
|
/openbmc/qemu/include/hw/nvram/ |
H A D | nrf51_nvm.h | 4 * It provides an interface to erase regions in flash memory. 8 * + sysbus MMIO regions 0: NVMC peripheral registers 9 * + sysbus MMIO regions 1: FICR peripheral registers 10 * + sysbus MMIO regions 2: UICR peripheral registers 14 * + Code regions (MPU configuration) are disregarded.
|
/openbmc/u-boot/drivers/pci/ |
H A D | pci_auto_common.c | 89 switch (hose->regions[i].flags) { in pciauto_config_init() 92 hose->pci_io->size < hose->regions[i].size) in pciauto_config_init() 93 hose->pci_io = hose->regions + i; in pciauto_config_init() 97 hose->pci_mem->size < hose->regions[i].size) in pciauto_config_init() 98 hose->pci_mem = hose->regions + i; in pciauto_config_init() 102 hose->pci_prefetch->size < hose->regions[i].size) in pciauto_config_init() 103 hose->pci_prefetch = hose->regions + i; in pciauto_config_init()
|
H A D | pci_sh4.c | 25 pci_set_region(hose->regions + 0, in pci_sh4_init() 33 pci_set_region(hose->regions + 1, in pci_sh4_init() 42 pci_set_region(hose->regions + 2, in pci_sh4_init()
|
H A D | fsl_pci_init.c | 19 * regions[] 87 struct pci_region *r = hose->regions + hose->region_count; in fsl_pci_setup_inbound_windows() 194 hose->region_count = r - hose->regions; in fsl_pci_setup_inbound_windows() 312 struct pci_region *reg = hose->regions + hose->region_count; in fsl_pci_init() 315 /* Initialize ATMU registers based on hose regions and flags */ in fsl_pci_init() 339 unsigned long flags = hose->regions[r].flags; in fsl_pci_init() 340 u32 sz = (__ilog2_u64((u64)hose->regions[r].size) - 1); in fsl_pci_init() 344 u64 start = hose->regions[r].bus_start; in fsl_pci_init() 345 u64 end = start + hose->regions[r].size; in fsl_pci_init() 347 out_be32(&po->powbar, hose->regions[r].phys_start >> 12); in fsl_pci_init() [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/ |
H A D | PersistentMemory.interface.yaml | 26 Total size of volatile regions in kibibytes (KiB). 30 Total size of persistent regions in kibibytes (KiB). 59 The boundary that memory regions are allocated on, measured in 64 Total number of volatile regions this memory can support. 68 Total number of persistent regions this memory can support.
|
/openbmc/qemu/include/hw/mem/ |
H A D | memory-device.h | 45 * successive memory regions are used, a covering memory region has to 46 * be provided. Scattered memory regions are not supported for single 51 * that are RAM memory regions or aliases to RAM memory regions. Other 52 * memory regions or subregions are not supported. 57 * be exceeded and as long as all memory regions are of the same kind (e.g., 119 * (distinct RAM memory regions in the device memory region) that are
|
/openbmc/qemu/include/hw/arm/ |
H A D | armv7m.h | 56 * + Property "mpu-ns-regions": number of Non-Secure MPU regions (forwarded 59 * + Property "mpu-s-regions": number of Secure MPU regions (default is 61 * value as mpu-ns-regions if the CPU implements the Security Extension)
|
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | pcie.c | 125 hose->regions[i] = *reg; in PCIE_OP() 130 hose->regions[i].bus_start = 0; in PCIE_OP() 131 hose->regions[i].phys_start = 0; in PCIE_OP() 132 hose->regions[i].size = gd->ram_size; in PCIE_OP() 133 hose->regions[i].flags = PCI_REGION_MEM | PCI_REGION_SYS_MEMORY; in PCIE_OP() 136 hose->regions[i].bus_start = CONFIG_SYS_IMMR; in PCIE_OP() 137 hose->regions[i].phys_start = CONFIG_SYS_IMMR; in PCIE_OP() 138 hose->regions[i].size = 0x100000; in PCIE_OP() 139 hose->regions[i].flags = PCI_REGION_MEM | PCI_REGION_SYS_MEMORY; in PCIE_OP() 314 * must have been set to cover all of the requested regions.
|
H A D | pci.c | 44 hose->regions[i] = *reg; in pci_init_bus() 72 hose->regions[i].bus_start = 0; in pci_init_bus() 73 hose->regions[i].phys_start = 0; in pci_init_bus() 74 hose->regions[i].size = gd->ram_size; in pci_init_bus() 75 hose->regions[i].flags = PCI_REGION_MEM | PCI_REGION_SYS_MEMORY; in pci_init_bus() 114 * must have been set to cover all of the requested regions. 116 * If fewer than three regions are requested, then the region
|
/openbmc/qemu/qapi/ |
H A D | pci.json | 152 # @regions: a list of the PCI I/O regions associated with the device 160 '*pci_bridge': 'PciBridgeInfo', 'regions': ['PciMemoryRegion'] }} 207 # "regions": [ 223 # "regions": [ 239 # "regions": [ 261 # "regions": [ 302 # "regions": [
|
/openbmc/qemu/hw/usb/ |
H A D | chipidea.c | 104 } regions[ARRAY_SIZE(ci->iomem)] = { in chipidea_init() local 136 regions[i].ops, in chipidea_init() 138 regions[i].name, in chipidea_init() 139 regions[i].size); in chipidea_init() 142 regions[i].offset, in chipidea_init()
|
/openbmc/u-boot/drivers/smem/ |
H A D | msm_smem.c | 44 * the partition and holds properties for the two internal memory regions. The 45 * two regions are cached and non-cached memory respectively. Each region 256 * @num_regions: number of @regions 257 * @regions: list of the memory regions defining the shared memory 269 struct smem_region regions[0]; member 395 header = smem->regions[0].virt_base; in qcom_smem_alloc_global() 470 header = smem->regions[0].virt_base; in qcom_smem_get_global() 478 area = &smem->regions[i]; in qcom_smem_get_global() 607 header = __smem->regions[0].virt_base; in qcom_smem_get_free_space() 619 header = smem->regions[0].virt_base; in qcom_smem_get_sbl_version() [all …]
|
/openbmc/u-boot/arch/arm/mach-at91/arm926ejs/ |
H A D | eflash.c | 11 * AT91SAM9XE128: 1 plane of 8 regions of 32 pages (total 256 pages) 12 * AT91SAM9XE256: 1 plane of 16 regions of 32 pages (total 512 pages) 13 * AT91SAM9XE512: 1 plane of 32 regions of 32 pages (total 1024 pages) 17 * Regions can be write/erase protected. 94 /* since we are going to use the lock regions as sectors, check count */ in flash_init() 96 printf("eflash: number of lock regions(%u) "\ in flash_init() 113 /* now read the protection information for all regions */ in flash_init() 177 /* now re-read the protection information for all regions */ in flash_real_protect()
|
/openbmc/qemu/tests/tcg/plugins/ |
H A D | mem.c | 41 * individual regions. We mirror the data written to the region and 44 * We do this as regions rather than pages to save on complications 69 static GHashTable *regions; variable 96 GList *counts = g_hash_table_get_values(regions); in plugin_exit() 123 * that span regions even though the plugin infrastructure will deliver 139 ri = (RegionInfo *) g_hash_table_lookup(regions, ®ion); in update_region_info() 146 g_hash_table_insert(regions, &ri->region_address, ri); in update_region_info() 216 * This is expected for regions initialised by QEMU (.text etc) but we in update_region_info() 396 regions = g_hash_table_new(g_int64_hash, g_int64_equal); in qemu_plugin_install()
|
/openbmc/qemu/include/crypto/ |
H A D | hash.h | 70 * @iov: the array of memory regions to hash 76 * Computes the hash across all the memory regions 134 * @iov: the array of memory regions to hash 139 * Computes the hash across all the memory regions 157 * @iov: the array of memory regions to hash 161 * Updates the given hash object with all the memory regions 300 * @iov: the array of memory regions to hash 305 * Computes the hash across all the memory regions
|
/openbmc/u-boot/include/u-boot/ |
H A D | rsa-checksum.h | 19 * @region: Array having info of regions over which hash needs to be calculated 20 * @region_count: Number of regions in the region array
|
/openbmc/qemu/include/io/ |
H A D | channel.h | 210 * @iov: the array of memory regions to read data into 218 * memory regions referenced by @iov. Each element 258 * @iov: the array of memory regions to write data from 266 * memory regions referenced by @iov. Each element 301 * @iov: the array of memory regions to read data into 306 * memory regions referenced by @iov. Each element 331 * @iov: the array of memory regions to read data into 336 * memory regions referenced by @iov. Each element 359 * @iov: the array of memory regions to write data from 364 * memory regions referenced by @iov. Each element [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | reserved-region.h | 26 * Insert a new region into a sorted list of reserved regions. In case 27 * there is overlap with existing regions, the new added region has
|
/openbmc/u-boot/tools/ |
H A D | fdtgrep.c | 221 * display_fdt_by_regions() - Display regions of an FDT source 223 * This dumps an FDT as source, but only certain regions of it. This is the 224 * final stage of the grep - we have a list of regions we want to display, 229 * @region: List of regions to display 230 * @count: Number of regions 404 * dump_fdt_regions() - Dump regions of an FDT as binary data 406 * This dumps an FDT as binary, but only certain regions of it. This is the 407 * final stage of the grep - we have a list of regions we want to dump, 424 * @region: List of regions to display 425 * @count: Number of regions [all …]
|