Home
last modified time | relevance | path

Searched refs:secure_id (Results 1 – 23 of 23) sorted by relevance

/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/common/
Dump_kernel_api.c31 DBG_MSG(5, ("Returning secure ID. ID: %u\n", mem->secure_id)); in ump_dd_secure_id_get()
33 return mem->secure_id; in ump_dd_secure_id_get()
38 UMP_KERNEL_API_EXPORT ump_dd_handle ump_dd_handle_create_from_secure_id(ump_secure_id secure_id) in ump_dd_handle_create_from_secure_id() argument
42 DBG_MSG(5, ("Getting handle from secure ID. ID: %u\n", secure_id)); in ump_dd_handle_create_from_secure_id()
43 mem = ump_random_mapping_get(device.secure_id_map, (int)secure_id); in ump_dd_handle_create_from_secure_id()
45 DBG_MSG(1, ("Secure ID not found. ID: %u\n", secure_id)); in ump_dd_handle_create_from_secure_id()
83 DBG_MSG(5, ("Returning physical block information. ID: %u\n", mem->secure_id)); in ump_dd_phys_blocks_get()
108 DBG_MSG(5, ("Returning physical block information. ID: %u, index: %lu\n", mem->secure_id, index)); in ump_dd_phys_block_get()
123 DBG_MSG(5, ("Returning size. ID: %u, size: %lu\n", mem->secure_id, mem->size_bytes)); in ump_dd_size_get()
139 DBG_MSG(5, ("Memory reference incremented. ID: %u, new value: %d\n", mem->secure_id, new_ref)); in ump_dd_reference_add()
[all …]
Dump_uk_types.h105 u32 secure_id; /**< Return value from DD to Userdriver */ member
116 u32 secure_id; /**< Input to DD */ member
126 u32 secure_id; /**< Input to DD */ member
135 u32 secure_id; /**< [in] secure_id to assign to mapping */ member
158 u32 secure_id; /**< [in] secure_id that identifies the ump buffer */ member
172 u32 secure_id; /**< [in] secure_id that identifies the ump buffer */ member
180 u32 secure_id; /**< [in] secure_id that identifies the ump buffer */ member
187 u32 secure_id; /**< [in] secure_id that identifies the ump buffer */ member
195 u32 secure_id; /**< [out] secure_id that identifies the ump buffer */ member
Dump_kernel_common.c182 DBG_MSG(2, ("Releasing UMP memory %u as part of file close\n", item->mem->secure_id)); in _ump_ukk_close()
221 handle = ump_dd_handle_create_from_secure_id(args->secure_id); in _ump_ukk_map_mem()
224 DBG_MSG(1, ("Trying to map unknown secure ID %u\n", args->secure_id)); in _ump_ukk_map_mem()
233 …p too much or little. ID: %u, virtual size=%lu, UMP size: %lu\n", args->secure_id, args->size, mem… in _ump_ukk_map_mem()
256 DBG_MSG(3, ("Mapping UMP secure_id: %d as cached.\n", args->secure_id)); in _ump_ukk_map_mem()
259 DBG_MSG(3, ("Mapping UMP secure_id: %d as Uncached.\n", args->secure_id)); in _ump_ukk_map_mem()
266 …G_MSG(1, ("Failed to initialize memory mapping in _ump_ukk_map_mem(). ID: %u\n", args->secure_id)); in _ump_ukk_map_mem()
274 mem->secure_id, in _ump_ukk_map_mem()
Dump_kernel_ref_drv.c90 DBG_MSG(3, ("UMP memory created. ID: %u, size: %lu\n", mem->secure_id, mem->size_bytes)); in ump_dd_handle_create_from_phys_blocks()
174 user_interaction->secure_id = new_allocation->secure_id; in _ump_ukk_allocate()
177 new_allocation->secure_id, in _ump_ukk_allocate()
Dump_kernel_types.h39 ump_secure_id secure_id; member
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/ump/common/
Dump_uk_types.h98 u32 secure_id; /**< Return value from DD to Userdriver */ member
108 u32 secure_id; /**< Input to DD */ member
117 u32 secure_id; /**< Input to DD */ member
125 u32 secure_id; /**< [in] secure_id to assign to mapping */ member
146 u32 secure_id; /**< [in] secure_id that identifies the ump buffer */ member
157 u32 secure_id; /**< [in] secure_id that identifies the ump buffer */ member
163 u32 secure_id; /**< [in] secure_id that identifies the ump buffer */ member
169 u32 secure_id; /**< [in] secure_id that identifies the ump buffer */ member
176 u32 secure_id; /**< [out] secure_id that identifies the ump buffer */ member
Dump_kernel_types.h40 ump_secure_id secure_id; member
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/umplock/
Dumplock_driver.c36 u32 secure_id; member
68 int umplock_find_item(u32 secure_id) in umplock_find_item() argument
72 if (device.items[i].secure_id == secure_id) { in umplock_find_item()
87 i = umplock_find_item(lock_item->secure_id); in umplock_find_item_by_pid()
136 } else if ((i_index = umplock_find_item(lock_item->secure_id)) >= 0) { in do_umplock_create_locked()
155 device.items[i_index].secure_id = lock_item->secure_id; in do_umplock_create_locked()
184 if (0 == lock_item->secure_id) { in do_umplock_process()
205 …, pid: %d, secure_id: 0x%x, ref_count: %d\n", lock_cmd->pid, lock_item->secure_id, device.items[i_… in do_umplock_process()
208 …, pid: %d, secure_id: 0x%x, ref_count: %d\n", lock_cmd->pid, lock_item->secure_id, device.items[i_… in do_umplock_process()
224 PDEBUG(1, "release item, pid: %d, secure_id: 0x%x\n", lock_cmd->pid, lock_item->secure_id); in do_umplock_process()
[all …]
Dumplock_ioctl.h40 unsigned int secure_id; member
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/linux/
Dump_kernel_random_mapping.c31 if (id < e->secure_id) { in search()
33 } else if (id > e->secure_id) { in search()
52 if (id < this->secure_id) { in insert()
54 } else if (id > this->secure_id) { in insert()
112 mem->secure_id = id; in ump_random_mapping_insert()
184 mem->secure_id, new_ref)); in ump_random_mapping_put()
187 DBG_MSG(3, ("Final release of memory. ID: %u\n", mem->secure_id)); in ump_random_mapping_put()
204 ump_random_mapping_remove_internal(device.secure_id_map, mem->secure_id); in ump_random_mapping_put()
Dump_osk_low_level_mem.c228 …DBG_MSG(3, ("UMP[%02u] Flushing CPU L1 Cache. CPU address: %x, size: %x\n", mem->secure_id, virt, … in _ump_osk_msync()
239 …DBG_MSG(4, ("UMP[%02u] Defering the L1 flush. Nr pending:%d\n", mem->secure_id, session_data->has_… in _ump_osk_msync()
254 DBG_MSG(3, ("UMP[%02u] Flushing CPU L2 Cache\n", mem->secure_id)); in _ump_osk_msync()
257 mem->secure_id, mem->nr_blocks, mem->size_bytes, size, offset, mem->block_array[0].addr)); in _ump_osk_msync()
Dump_ukk_ref_wrappers.c65 release_args.secure_id = user_interaction.secure_id; in ump_allocate_wrapper()
204 ump_dmabuf.secure_id = ump_dd_secure_id_get(ump_handle); in ump_dmabuf_import_wrapper()
Dump_kernel_memory_backend_os.c164 …DBG_MSG(5, ("Alloce for ID:%2d got %d pages, cached: %d\n", descriptor->secure_id, pages_allocate… in os_allocate()
Dump_kernel_linux.c412 args.secure_id = vma->vm_pgoff; in ump_file_mmap()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
Dmali_memory_ump.c110 int mali_mem_bind_ump_buf(mali_mem_allocation *alloc, mali_mem_backend *mem_backend, u32 secure_id in mali_mem_bind_ump_buf() argument
120 secure_id, alloc->mali_vma_node.vm_node.start, alloc->mali_vma_node.vm_node.size)); in mali_mem_bind_ump_buf()
122 ump_mem = ump_dd_handle_create_from_secure_id(secure_id); in mali_mem_bind_ump_buf()
Dmali_memory_ump.h22 int mali_mem_bind_ump_buf(mali_mem_allocation *alloc, mali_mem_backend *mem_backend, u32 secure_id
Dmali_memory_manager.c681 args->mem_union.bind_ump.secure_id, args->mem_union.bind_ump.flags); in _mali_ukk_mem_bind()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
Dmali_memory_ump.c110 int mali_mem_bind_ump_buf(mali_mem_allocation *alloc, mali_mem_backend *mem_backend, u32 secure_id,… in mali_mem_bind_ump_buf() argument
120secure_id, alloc->mali_vma_node.vm_node.start, alloc->mali_vma_node.vm_node.size)); in mali_mem_bind_ump_buf()
122 ump_mem = ump_dd_handle_create_from_secure_id(secure_id); in mali_mem_bind_ump_buf()
Dmali_memory_ump.h22 int mali_mem_bind_ump_buf(mali_mem_allocation *alloc, mali_mem_backend *mem_backend, u32 secure_id,…
Dmali_memory_manager.c680 … ret = mali_mem_bind_ump_buf(mali_allocation, mem_backend, args->mem_union.bind_ump.secure_id, in _mali_ukk_mem_bind()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/umplock/
Dumplock_ioctl.h38 unsigned int secure_id; member
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/include/linux/mali/
Dmali_utgard_uk_types.h812 u32 secure_id; /**< [in] secure id */ member
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/include/linux/mali/
Dmali_utgard_uk_types.h808 u32 secure_id; /**< [in] secure id */ member