Home
last modified time | relevance | path

Searched refs:mappings (Results 1 - 12 of 12) sorted by relevance

/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/common/
H A Dump_kernel_descriptor_mapping.c20 * Allocate a descriptor table capable of holding 'count' mappings
21 * @param count Number of mappings in the table
87 _mali_osk_memcpy(new_table->mappings, old_table->mappings, map->current_nr_mappings * sizeof(void *)); in ump_descriptor_mapping_allocate_mapping()
95 map->table->mappings[descriptor] = target; in ump_descriptor_mapping_allocate_mapping()
108 *target = map->table->mappings[descriptor]; in ump_descriptor_mapping_get()
120 map->table->mappings[descriptor] = target; in ump_descriptor_mapping_set()
131 map->table->mappings[descriptor] = NULL; in ump_descriptor_mapping_free()
145 table->mappings = (void **)((u8 *)table + sizeof(ump_descriptor_table) + ((sizeof(unsigned long) * count) / BITS_PER_LONG)); in descriptor_table_alloc()
H A Dump_kernel_descriptor_mapping.h25 void **mappings; /**< Array of the pointers the descriptors map to */ member
34 int max_nr_mappings_allowed; /**< Max number of mappings to support in this namespace */
35 int current_nr_mappings; /**< Current number of possible mappings */
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/ump/common/
H A Dump_kernel_descriptor_mapping.h26 void **mappings; /**< Array of the pointers the descriptors map to */ member
35 int max_nr_mappings_allowed; /**< Max number of mappings to support in this namespace */
36 int current_nr_mappings; /**< Current number of possible mappings */
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_mem.h103 * shared with another region or client. CPU mappings are OK to exist when changing, as
104 * long as the tracked mappings objects are updated as part of the change.
113 struct list_head mappings; member
178 /* we only track mappings of NATIVE buffers */ in kbase_mem_phy_alloc_gpu_mapped()
187 /* we only track mappings of NATIVE buffers */ in kbase_mem_phy_alloc_gpu_unmapped()
215 * A GPU memory region, and attributes for CPU mappings.
389 INIT_LIST_HEAD(&alloc->mappings); in kbase_alloc_create()
H A Dmali_kbase_mem_linux.c53 * Shrink (or completely remove) all CPU mappings which reference the shrunk
1567 /* No update required for CPU mappings, that's done on fault. */
1810 list_add(&map->mappings_list, &map->alloc->mappings);
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_mem.h105 * shared with another region or client. CPU mappings are OK to exist when changing, as
106 * long as the tracked mappings objects are updated as part of the change.
115 struct list_head mappings; member
180 /* we only track mappings of NATIVE buffers */ in kbase_mem_phy_alloc_gpu_mapped()
188 /* we only track mappings of NATIVE buffers */ in kbase_mem_phy_alloc_gpu_unmapped()
215 * A GPU memory region, and attributes for CPU mappings.
385 INIT_LIST_HEAD(&alloc->mappings); in kbase_alloc_create()
H A Dmali_kbase_mem_linux.c58 * Shrink (or completely remove) all CPU mappings which reference the shrunk
1561 /* No update required for CPU mappings, that's done on fault. */
1807 list_add(&map->mappings_list, &map->alloc->mappings);
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem.h102 * is not shared with another region or client. CPU mappings are OK to
103 * exist when changing, as long as the tracked mappings objects are
110 * @mappings: List of CPU mappings of this physical memory allocation.
132 struct list_head mappings; member
201 /* we only track mappings of NATIVE buffers */ in kbase_mem_phy_alloc_gpu_mapped()
210 /* we only track mappings of NATIVE buffers */ in kbase_mem_phy_alloc_gpu_unmapped()
250 * A GPU memory region, and attributes for CPU mappings.
362 * due to the reference held by CPU mappings created on the GPU VA region.
366 * not create or update any more GPU mappings o
[all...]
H A Dmali_kbase_mem_linux.c456 /* Permanent kernel mappings must happen as soon as in kbase_mem_alloc()
1450 * cache attributes of CPU mappings, so we have to assume that the in kbase_mem_from_umm()
2289 /* No update required for CPU mappings, that's done on fault. */
2605 list_add(&map->mappings_list, &map->alloc->mappings);
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem.h102 * is not shared with another region or client. CPU mappings are OK to
103 * exist when changing, as long as the tracked mappings objects are
116 * @mappings: List of CPU mappings of this physical memory allocation.
139 struct list_head mappings; member
210 /* we only track mappings of NATIVE buffers */ in kbase_mem_phy_alloc_gpu_mapped()
218 /* we only track mappings of NATIVE buffers */ in kbase_mem_phy_alloc_gpu_unmapped()
282 * struct kbase_va_region - A GPU memory region, and attributes for CPU mappings
421 * due to the reference held by CPU mappings created on the GPU VA region.
425 * not create or update any more GPU mappings o
[all...]
H A Dmali_kbase_mem_linux.c438 /* Permanent kernel mappings must happen as soon as in kbase_mem_alloc()
930 * - CPU mappings for the physical pages at different vm_pgoff in kbase_mem_flags_change()
1403 * cache attributes of CPU mappings, so we have to assume that the in kbase_mem_from_umm()
2207 * - CPU mappings for the physical pages at different vm_pgoff
2260 /* No update required for CPU mappings, that's done on fault. */
2570 list_add(&map->mappings_list, &map->alloc->mappings);
/device/soc/rockchip/common/sdk_linux/drivers/iommu/
H A Diommu.c727 struct list_head mappings; in iommu_create_device_direct_mappings() local
738 INIT_LIST_HEAD(&mappings); in iommu_create_device_direct_mappings()
740 iommu_get_resv_regions(dev, &mappings); in iommu_create_device_direct_mappings()
743 list_for_each_entry(entry, &mappings, list) in iommu_create_device_direct_mappings()
776 iommu_put_resv_regions(dev, &mappings); in iommu_create_device_direct_mappings()
2696 /* undo mappings already done */ in iommu_map_sg_ext()

Completed in 23 milliseconds