Searched refs:regions (Results 126 - 150 of 169) sorted by relevance

1234567

/linux-master/drivers/vhost/
H A Dvhost.c39 "Maximum number of memory regions in memory map. (default: 64)");
1717 unsigned long size = offsetof(struct vhost_memory, regions);
1726 newmem = kvzalloc(struct_size(newmem, regions, mem.nregions),
1732 if (copy_from_user(newmem->regions, m->regions,
1733 flex_array_size(newmem, regions, mem.nregions))) {
1744 for (region = newmem->regions;
1745 region < newmem->regions + mem.nregions;
/linux-master/include/linux/fsl/
H A Dmc.h138 * @region_count: Number of mappable regions supported by the object
178 * @regions: pointer to array of MMIO region entries
213 struct resource *regions; member in struct:fsl_mc_device
/linux-master/drivers/gpu/drm/i915/gt/
H A Dselftest_tlb.c201 struct intel_memory_region *mr = gt->i915->mm.regions[INTEL_REGION_LMEM_0];
H A Dintel_gt.c109 GEM_BUG_ON(i915->mm.regions[id]);
110 i915->mm.regions[id] = mem;
/linux-master/drivers/mtd/spi-nor/
H A Dcore.h261 * @regions: array of erase regions. The regions are consecutive in
262 * address space. Walking through the regions is done
266 * @erase_type: an array of erase types shared by all the regions.
270 * @n_regions: number of erase regions.
273 struct spi_nor_erase_region *regions; member in struct:spi_nor_erase_map
292 * struct spi_nor_otp_organization - Structure to describe the SPI NOR OTP regions
295 * @offset: offset between consecutive OTP regions if there are more
297 * @n_regions: number of individual OTP regions
[all...]
H A Dsfdp.c391 struct spi_nor_erase_region *region = map->regions;
847 * The regions will be freed when the driver detaches from the
854 map->regions = region;
860 /* Populate regions. */
871 * Save the erase types that are supported in all regions and
H A Dcore.c1559 /* Alignment is not mandatory for overlaid regions */
1645 region = &map->regions[i];
1829 /* REVISIT in some cases we could speed up erasing large regions
2411 map->regions = &map->uniform_region;
3392 const struct spi_nor_erase_region *region = map->regions;
/linux-master/drivers/gpu/drm/amd/display/dmub/src/
H A Ddmub_srv.c434 struct dmub_region *region = &out->regions[i];
515 &params->region_info->regions[i];
/linux-master/tools/include/uapi/drm/
H A Di915_drm.h846 /* A memory manager for regions of shared memory:
3453 * for I915_MEMORY_CLASS_DEVICE regions (for other types the value here
3475 * I915_MEMORY_CLASS_DEVICE regions (for other types the
3495 * I915_MEMORY_CLASS_DEVICE regions (for other types the
3503 * regions (for other types the value here will also
3517 * The region info query enumerates all regions known to the driver by filling
3520 * Example for getting the list of supported regions:
3535 * // enough to hold our array of regions. The kernel will fill out the
3551 * struct drm_i915_memory_region_info mr = info->regions[i];
3561 /** @num_regions: Number of supported regions */
3568 struct drm_i915_memory_region_info regions[]; member in struct:drm_i915_query_memory_regions
3776 __u64 regions; member in struct:drm_i915_gem_create_ext_memory_regions
[all...]
/linux-master/include/uapi/drm/
H A Di915_drm.h852 /* A memory manager for regions of shared memory:
3478 * for I915_MEMORY_CLASS_DEVICE regions (for other types the value here
3500 * I915_MEMORY_CLASS_DEVICE regions (for other types the
3520 * I915_MEMORY_CLASS_DEVICE regions (for other types the
3528 * regions (for other types the value here will also
3542 * The region info query enumerates all regions known to the driver by filling
3545 * Example for getting the list of supported regions:
3560 * // enough to hold our array of regions. The kernel will fill out the
3576 * struct drm_i915_memory_region_info mr = info->regions[i];
3586 /** @num_regions: Number of supported regions */
3593 struct drm_i915_memory_region_info regions[]; member in struct:drm_i915_query_memory_regions
3801 __u64 regions; member in struct:drm_i915_gem_create_ext_memory_regions
[all...]
/linux-master/drivers/firmware/cirrus/
H A Dcs_dsp.c1387 int regions = 0; local
1490 file, regions, type, pos, pos);
1495 regions, le32_to_cpu(region->len), offset,
1502 file, regions, region_name,
1530 file, regions,
1538 regions++;
1549 file, regions, pos - firmware->size);
/linux-master/arch/s390/kernel/
H A Dcrash_dump.c37 .regions = &oldmem_region,
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dchip.h430 /* devlink regions */
431 struct devlink_region *regions[_MV88E6XXX_REGION_MAX]; member in struct:mv88e6xxx_chip
/linux-master/drivers/cxl/
H A Dcxl.h20 * The CXL core objects like ports, decoders, and regions are shared
364 * CXL_DECODER_DEAD prevents endpoints from being reattached to regions
479 * @uuid: unique id for persistent regions
516 * @id: This region's id. Id is globally unique across all regions
520 * @cxlr_pmem: (for pmem regions) cached copy of the nvdimm bridge
588 * @regions: cxl_region_ref instances, regions mapped by this port
608 struct xarray regions; member in struct:cxl_port
/linux-master/drivers/gpu/drm/i915/
H A Di915_query.c466 &query_ptr->regions[0];
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_shmem.c651 return i915_gem_object_create_region(i915->mm.regions[INTEL_REGION_SMEM],
/linux-master/drivers/vfio/
H A Dvfio_iommu_type1.c935 struct list_head *regions,
943 list_for_each_entry_safe(entry, next, regions, list) {
961 * of these regions (currently using a list).
963 * This value specifies maximum number of regions for each IOTLB flush sync.
995 * Sync if the number of fast-unmap regions hits the limit
1820 static void vfio_test_domain_fgsp(struct vfio_domain *domain, struct list_head *regions) argument
1831 list_for_each_entry(region, regions, list) {
1893 * The presence of any 'real' MSI regions should take
1918 * exclude any reserved regions associated with the device group.
2033 * Check iova region overlap with reserved regions an
934 vfio_sync_unpin(struct vfio_dma *dma, struct vfio_domain *domain, struct list_head *regions, struct iommu_iotlb_gather *iotlb_gather) argument
[all...]
/linux-master/drivers/iommu/
H A Diommu.c768 * list of reserved regions.
770 * @regions: list of regions
776 struct list_head *regions)
787 list_for_each_entry(iter, regions, list) {
794 /* Merge overlapping segments of type nr->type in @regions, if any */
795 list_for_each_entry_safe(iter, tmp, regions, list) {
823 list_splice(&stack, regions);
1110 /* We need to consider overlapping regions for different devices */
2734 * iommu_get_resv_regions - get reserved regions
775 iommu_insert_resv_region(struct iommu_resv_region *new, struct list_head *regions) argument
[all...]
/linux-master/arch/um/drivers/
H A Dvirtio_uml.c672 &msg.payload.mem_regions.regions[0]);
679 &fds[1], &msg.payload.mem_regions.regions[1]);
/linux-master/drivers/video/fbdev/
H A Dstifb.c835 pBytePerLongDevDepData = fb->sti->regions[NGLEDEVDEPROM_CRT_REGION];
1320 fix->smem_len = fb->sti->regions[1].region_desc.length * 4096;
/linux-master/arch/arm/mm/
H A Dmmu.c513 * Mark device regions on ARMv6+ as execute-never
1329 end = memblock.memory.regions[0].base + memblock.memory.regions[0].size;
1351 * Reserve the special regions of memory
1418 * Map the cache flushing regions.
/linux-master/drivers/mtd/chips/
H A Dcfi_cmdset_0002.c356 * These flashes report two separate eraseblock regions based on the
702 printk(KERN_WARNING "%s: Swapping erase regions for top-boot CFI table.\n", map->name);
802 printk(KERN_WARNING "Sum of regions (%lx) != total size of set of interleaved chips (%lx)\n", offset, devsize);
2801 struct mtd_erase_region_info *regions = mtd->eraseregions; local
2822 max_sectors += regions[i].numblocks;
2840 int size = regions[i].erasesize;
2859 if (offset == regions[i].offset + size * regions[i].numblocks)
/linux-master/drivers/video/fbdev/nvidia/
H A Dnv_hw.c970 int regions = 12; local
977 regions = 15;
978 for(i = 0; i < regions; i++) {
/linux-master/mm/
H A Dhugetlb.c525 if (&prg->link != &resv->regions && prg->to == rg->from &&
537 if (&nrg->link != &resv->regions && nrg->from == rg->to &&
571 * the regions for this range.
578 struct list_head *head = &resv->regions;
591 /* Skip irrelevant regions that start before our range. */
692 * Sufficient regions should exist in the cache due to the previous
702 * region_add of regions of length 1 never allocate file_regions and cannot
715 /* Count how many regions are actually needed to execute this add. */
764 * out_regions_needed is the number of regions added to the
820 * t parameter is LONG_MAX, this indicates that ALL regions afte
[all...]
/linux-master/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_mman.c604 i915->mm.regions[INTEL_REGION_SMEM];
1310 struct intel_memory_region *system = i915->mm.regions[INTEL_REGION_SMEM];

Completed in 574 milliseconds

1234567