/Linux-v5.4/drivers/mtd/chips/ |
D | jedec_probe.c | 274 const uint32_t regions[6]; member 306 .regions = { 318 .regions = { 333 .regions = { 348 .regions = { 363 .regions = { 378 .regions = { 394 .regions = { 411 .regions = { 428 .regions = { [all …]
|
D | cfi_util.c | 366 struct mtd_erase_region_info *regions = mtd->eraseregions; in cfi_varsize_frob() local 380 while (i < mtd->numeraseregions && ofs >= regions[i].offset) in cfi_varsize_frob() 390 if (ofs & (regions[i].erasesize-1)) in cfi_varsize_frob() 400 while (i<mtd->numeraseregions && (ofs + len) >= regions[i].offset) in cfi_varsize_frob() 408 if ((ofs + len) & (regions[i].erasesize-1)) in cfi_varsize_frob() 417 int size = regions[i].erasesize; in cfi_varsize_frob() 428 if (ofs == regions[i].offset + size * regions[i].numblocks) in cfi_varsize_frob()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ |
D | acr_r364.c | 51 } regions; member 78 desc->regions.no_regions = 2; in acr_r364_fixup_hs_desc() 79 desc->regions.region_props[0].start_addr = wpr_start >> 8; in acr_r364_fixup_hs_desc() 80 desc->regions.region_props[0].end_addr = wpr_end >> 8; in acr_r364_fixup_hs_desc() 81 desc->regions.region_props[0].region_id = 1; in acr_r364_fixup_hs_desc() 82 desc->regions.region_props[0].read_mask = 0xf; in acr_r364_fixup_hs_desc() 83 desc->regions.region_props[0].write_mask = 0xc; in acr_r364_fixup_hs_desc() 84 desc->regions.region_props[0].client_mask = 0x2; in acr_r364_fixup_hs_desc() 86 desc->regions.region_props[0].shadow_mem_start_addr = in acr_r364_fixup_hs_desc() 89 desc->regions.region_props[0].shadow_mem_start_addr = 0; in acr_r364_fixup_hs_desc()
|
D | acr_r367.c | 340 } regions; member 367 desc->regions.no_regions = 2; in acr_r367_fixup_hs_desc() 368 desc->regions.region_props[0].start_addr = wpr_start >> 8; in acr_r367_fixup_hs_desc() 369 desc->regions.region_props[0].end_addr = wpr_end >> 8; in acr_r367_fixup_hs_desc() 370 desc->regions.region_props[0].region_id = 1; in acr_r367_fixup_hs_desc() 371 desc->regions.region_props[0].read_mask = 0xf; in acr_r367_fixup_hs_desc() 372 desc->regions.region_props[0].write_mask = 0xc; in acr_r367_fixup_hs_desc() 373 desc->regions.region_props[0].client_mask = 0x2; in acr_r367_fixup_hs_desc() 375 desc->regions.region_props[0].shadow_mem_start_addr = in acr_r367_fixup_hs_desc() 378 desc->regions.region_props[0].shadow_mem_start_addr = 0; in acr_r367_fixup_hs_desc()
|
/Linux-v5.4/drivers/vfio/platform/ |
D | vfio_platform_common.c | 145 vdev->regions = kcalloc(cnt, sizeof(struct vfio_platform_region), in vfio_platform_regions_init() 147 if (!vdev->regions) in vfio_platform_regions_init() 157 vdev->regions[i].addr = res->start; in vfio_platform_regions_init() 158 vdev->regions[i].size = resource_size(res); in vfio_platform_regions_init() 159 vdev->regions[i].flags = 0; in vfio_platform_regions_init() 163 vdev->regions[i].type = VFIO_PLATFORM_REGION_TYPE_MMIO; in vfio_platform_regions_init() 164 vdev->regions[i].flags |= VFIO_REGION_INFO_FLAG_READ; in vfio_platform_regions_init() 166 vdev->regions[i].flags |= in vfio_platform_regions_init() 173 if (!(vdev->regions[i].addr & ~PAGE_MASK) && in vfio_platform_regions_init() 174 !(vdev->regions[i].size & ~PAGE_MASK)) in vfio_platform_regions_init() [all …]
|
/Linux-v5.4/mm/ |
D | memblock.c | 115 .memory.regions = memblock_memory_init_regions, 120 .reserved.regions = memblock_reserved_init_regions, 126 .physmem.regions = memblock_physmem_init_regions, 168 if (memblock_addrs_overlap(base, size, type->regions[i].base, in memblock_overlaps_region() 169 type->regions[i].size)) in memblock_overlaps_region() 358 type->total_size -= type->regions[r].size; in memblock_remove_region() 359 memmove(&type->regions[r], &type->regions[r + 1], in memblock_remove_region() 360 (type->cnt - (r + 1)) * sizeof(type->regions[r])); in memblock_remove_region() 367 type->regions[0].base = 0; in memblock_remove_region() 368 type->regions[0].size = 0; in memblock_remove_region() [all …]
|
/Linux-v5.4/Documentation/admin-guide/device-mapper/ |
D | dm-clone.rst | 58 3. A small metadata device - it records which regions are already valid in the 59 destination device, i.e., which regions have already been hydrated, or have 68 dm-clone divides the source and destination devices in fixed sized regions. 77 Reads and writes from/to hydrated regions are serviced from the destination 93 as a hint to skip hydration of the regions covered by the request, i.e., it 111 A message `hydration_threshold <#regions>` can be used to set the maximum number 112 of regions being copied, the default being 1 region. 116 region size. A message `hydration_batch_size <#regions>` can be used to tune the 118 dm-clone trying to batch together contiguous regions, so we copy the data in 119 batches of this many regions. [all …]
|
/Linux-v5.4/drivers/bus/fsl-mc/ |
D | fsl-mc-bus.c | 453 struct resource *regions; in fsl_mc_device_get_mmio_regions() local 472 regions = kmalloc_array(obj_desc->region_count, in fsl_mc_device_get_mmio_regions() 473 sizeof(regions[0]), GFP_KERNEL); in fsl_mc_device_get_mmio_regions() 474 if (!regions) in fsl_mc_device_get_mmio_regions() 496 regions[i].start = region_desc.base_address + in fsl_mc_device_get_mmio_regions() 501 ®ions[i].start); in fsl_mc_device_get_mmio_regions() 511 regions[i].end = regions[i].start + region_desc.size - 1; in fsl_mc_device_get_mmio_regions() 512 regions[i].name = "fsl-mc object MMIO region"; in fsl_mc_device_get_mmio_regions() 513 regions[i].flags = IORESOURCE_IO; in fsl_mc_device_get_mmio_regions() 515 regions[i].flags |= IORESOURCE_CACHEABLE; in fsl_mc_device_get_mmio_regions() [all …]
|
/Linux-v5.4/drivers/net/wireless/ath/ath10k/ |
D | coredump.c | 959 .regions = qca6174_hw10_mem_regions, 967 .regions = qca6174_hw10_mem_regions, 975 .regions = qca6174_hw10_mem_regions, 983 .regions = qca6174_hw21_mem_regions, 991 .regions = qca6174_hw30_mem_regions, 999 .regions = qca6174_hw30_mem_regions, 1007 .regions = qca6174_hw30_mem_regions, 1015 .regions = qca988x_hw20_mem_regions, 1023 .regions = qca9984_hw10_mem_regions, 1031 .regions = qca9984_hw10_mem_regions, [all …]
|
/Linux-v5.4/arch/mips/generic/ |
D | yamon-dt.c | 44 const struct yamon_mem_region *regions, in gen_fdt_mem_array() argument 53 for (mr = regions; mr->size && memsize; ++mr) { in gen_fdt_mem_array() 76 const struct yamon_mem_region *regions) in yamon_dt_append_memory() argument 136 mem_entries = gen_fdt_mem_array(regions, mem_array, in yamon_dt_append_memory() 145 mem_entries = gen_fdt_mem_array(regions, mem_array, in yamon_dt_append_memory()
|
/Linux-v5.4/arch/csky/kernel/ |
D | setup.c | 29 return (memblock.memory.regions[0].base + in memblock_end_of_REG0() 30 memblock.memory.regions[0].size); in memblock_end_of_REG0() 35 return memblock.memory.regions[1].base; in memblock_start_of_REG1() 40 return memblock.memory.regions[1].size; in memblock_size_of_REG1()
|
/Linux-v5.4/drivers/soc/qcom/ |
D | smem.c | 274 struct smem_region regions[]; member 406 header = smem->regions[0].virt_base; in qcom_smem_alloc_global() 491 header = smem->regions[0].virt_base; in qcom_smem_get_global() 499 region = &smem->regions[i]; in qcom_smem_get_global() 639 header = __smem->regions[0].virt_base; in qcom_smem_get_free_space() 659 struct smem_region *region = &__smem->regions[i]; in qcom_smem_virt_to_phys() 679 header = smem->regions[0].virt_base; in qcom_smem_get_sbl_version() 690 ptable = smem->regions[0].virt_base + smem->regions[0].size - SZ_4K; in qcom_smem_get_ptable() 731 header = smem->regions[0].virt_base + le32_to_cpu(entry->offset); in qcom_smem_partition_header() 887 smem->regions[i].virt_base = devm_ioremap_wc(dev, r.start, size); in qcom_smem_map_memory() [all …]
|
/Linux-v5.4/tools/virtio/ |
D | virtio_test.c | 126 dev->mem = malloc(offsetof(struct vhost_memory, regions) + in vdev_info_init() 127 sizeof dev->mem->regions[0]); in vdev_info_init() 129 memset(dev->mem, 0, offsetof(struct vhost_memory, regions) + in vdev_info_init() 130 sizeof dev->mem->regions[0]); in vdev_info_init() 132 dev->mem->regions[0].guest_phys_addr = (long)dev->buf; in vdev_info_init() 133 dev->mem->regions[0].userspace_addr = (long)dev->buf; in vdev_info_init() 134 dev->mem->regions[0].memory_size = dev->buf_size; in vdev_info_init()
|
/Linux-v5.4/drivers/fpga/ |
D | dfl-afu-region.c | 21 INIT_LIST_HEAD(&afu->regions); in afu_mmio_region_init() 25 list_for_each_entry((region), &(afu)->regions, node) 78 list_add(®ion->node, &afu->regions); in afu_mmio_region_add() 100 list_for_each_entry_safe(region, tmp, &afu->regions, node) in afu_mmio_region_destroy()
|
/Linux-v5.4/sound/drivers/opl4/ |
D | opl4_synth.c | 485 const struct opl4_region_ptr *regions; in snd_opl4_note_on() local 493 regions = &snd_yrw801_regions[i]; in snd_opl4_note_on() 494 for (i = 0; i < regions->count; i++) { in snd_opl4_note_on() 495 if (note >= regions->regions[i].key_min && in snd_opl4_note_on() 496 note <= regions->regions[i].key_max) { in snd_opl4_note_on() 497 sound[voices] = ®ions->regions[i].sound; in snd_opl4_note_on()
|
/Linux-v5.4/drivers/soc/fsl/dpio/ |
D | dpio-driver.c | 207 desc.regs_cena = devm_memremap(dev, dpio_dev->regions[1].start, in dpaa2_dpio_probe() 208 resource_size(&dpio_dev->regions[1]), in dpaa2_dpio_probe() 211 desc.regs_cena = devm_memremap(dev, dpio_dev->regions[2].start, in dpaa2_dpio_probe() 212 resource_size(&dpio_dev->regions[2]), in dpaa2_dpio_probe() 222 desc.regs_cinh = devm_ioremap(dev, dpio_dev->regions[1].start, in dpaa2_dpio_probe() 223 resource_size(&dpio_dev->regions[1])); in dpaa2_dpio_probe()
|
/Linux-v5.4/Documentation/devicetree/bindings/pci/ |
D | cdns,cdns-pcie-ep.txt | 8 - cdns,max-outbound-regions: Set to maximum number of outbound regions 23 cdns,max-outbound-regions = <16>;
|
D | cdns,cdns-pcie-host.txt | 14 - ranges: Ranges for the PCI memory and I/O regions 20 - cdns,max-outbound-regions: Set to maximum number of outbound regions 40 cdns,max-outbound-regions = <16>;
|
/Linux-v5.4/arch/microblaze/mm/ |
D | init.c | 241 memblock.memory.regions[0].size = memory_size; in mm_cmdline_setup() 284 if ((u32) memblock.memory.regions[0].size < 0x400000) { in mmu_init() 289 if ((u32) memblock.memory.regions[0].size < kernel_tlb) { in mmu_init() 295 memory_start = (u32) memblock.memory.regions[0].base; in mmu_init() 296 lowmem_size = memory_size = (u32) memblock.memory.regions[0].size; in mmu_init()
|
/Linux-v5.4/drivers/soc/aspeed/ |
D | aspeed-p2a-ctrl.c | 52 struct region regions[P2A_REGION_COUNT]; member 140 const struct region *curr = &ctrl->config->regions[i]; in aspeed_p2a_region_acquire() 283 bits |= priv->parent->config->regions[i].bit; in aspeed_p2a_release() 324 value |= p2a_ctrl->config->regions[i].bit; in aspeed_p2a_disable_all() 401 .regions = { 412 .regions = {
|
/Linux-v5.4/Documentation/devicetree/bindings/pmem/ |
D | pmem-region.txt | 1 Device-tree bindings for persistent memory regions 11 persistent regions separately to the normal memory pool. To aid with that this 13 memory regions exist inside the physical address space. 56 * This node specifies two 4KB regions that are backed by
|
/Linux-v5.4/Documentation/x86/ |
D | intel-iommu.rst | 30 PS2 emulation. The regions of memory used for these devices are marked 32 regions will fail. Hence BIOS uses RMRR to specify these regions along with 33 devices that need to access these regions. OS is expected to setup 34 unity mappings for these regions for these devices to access these regions.
|
/Linux-v5.4/Documentation/devicetree/bindings/mfd/ |
D | qcom,spmi-pmic.txt | 7 locations/definitions within these regions, with some of these regions 13 16-bit SPMI slave address space into 256 smaller fixed-size regions, 256 bytes 14 each. A function can consume one or more of these fixed-size register regions.
|
/Linux-v5.4/Documentation/devicetree/bindings/reserved-memory/ |
D | reserved-memory.txt | 1 *** Reserved memory regions *** 6 normal use) memory regions. Such memory regions are usually designed for 21 Each child of the reserved-memory node specifies one or more regions of 41 - Specifies regions of memory that are 83 This example defines 3 contiguous regions are defined for Linux kernel:
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | base.c | 140 for (i = 0; i < fb->tile.regions; i++) in nvkm_fb_init() 169 for (i = 0; i < fb->tile.regions; i++) in nvkm_fb_dtor() 194 fb->tile.regions = fb->func->tile.regions; in nvkm_fb_ctor()
|