/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/umplock/ |
H A D | umplock_driver.c | 30 int ref_count; member 144 device.items[i_index].references[ref_index].ref_count = 0; in do_umplock_create_locked() 159 device.items[i_index].references[0].ref_count = 0; in do_umplock_create_locked() 203 device.items[i_index].references[ref_index].ref_count++; in do_umplock_process() 205 PDEBUG(1, "try to lock, pid: %d, secure_id: 0x%x, ref_count: %d\n", lock_cmd->pid, lock_item->secure_id, device.items[i_index].references[ref_index].ref_count); in do_umplock_process() 208 PDEBUG(1, "already own the lock, pid: %d, secure_id: 0x%x, ref_count: %d\n", lock_cmd->pid, lock_item->secure_id, device.items[i_index].references[ref_index].ref_count); in do_umplock_process() 218 device.items[i_index].references[ref_index].ref_count--; in do_umplock_process() 221 if (0 == device.items[i_index].references[ref_index].ref_count) { in do_umplock_process() [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/common/ |
H A D | ump_kernel_ref_drv.c | 70 _mali_osk_atomic_init(&mem->ref_count, 1); in ump_dd_handle_create_from_phys_blocks() 128 _mali_osk_atomic_init(&new_allocation->ref_count, 1); in _ump_ukk_allocate()
|
H A D | ump_kernel_types.h | 40 _mali_osk_atomic_t ref_count; member
|
H A D | ump_kernel_api.c | 137 new_ref = _ump_osk_atomic_inc_and_read(&mem->ref_count); in ump_dd_reference_add()
|
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/inc/ |
H A D | mpp_buffer_impl.h | 63 RK_S32 ref_count; member 110 RK_S32 ref_count; member
|
H A D | mpp_meta_impl.h | 47 RK_S32 ref_count; member
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/ump/common/ |
H A D | ump_kernel_types.h | 41 _mali_osk_atomic_t ref_count; member
|
/device/soc/rockchip/common/vendor/drivers/pci/ |
H A D | rockchip-pcie-dma.h | 180 int ref_count; member
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_memory_types.h | 43 * ref_count is used to mark how many memory backends are using this item. 47 atomic_t ref_count; member
|
H A D | mali_memory.c | 47 /* If need to share the allocation, add ref_count here */ in mali_mem_vma_open() 53 /* If need to share the allocation, unref ref_count here */ in mali_mem_vma_close() 446 atomic_inc(&node->swap_it->ref_count); in _mali_page_node_ref() 493 return atomic_read(&node->swap_it->ref_count); in _mali_page_node_get_ref_count()
|
H A D | mali_memory_swap_alloc.c | 361 atomic_set(&swap_item->ref_count, 1); in mali_mem_swap_alloc_swap_item() 374 if (0 == atomic_dec_return(&swap_item->ref_count)) { in mali_mem_swap_free_swap_item()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_memory_types.h | 44 * ref_count is used to mark how many memory backends are using this item. 48 atomic_t ref_count; member
|
H A D | mali_memory.c | 45 /* If need to share the allocation, add ref_count here */ in mali_mem_vma_open() 51 /* If need to share the allocation, unref ref_count here */ in mali_mem_vma_close() 444 atomic_inc(&node->swap_it->ref_count); in _mali_page_node_ref() 488 return atomic_read(&node->swap_it->ref_count); in mali_page_node_get_ref_count()
|
H A D | mali_memory_swap_alloc.c | 360 atomic_set(&swap_item->ref_count, 1); in mali_mem_swap_alloc_swap_item() 373 if (0 == atomic_dec_return(&swap_item->ref_count)) { in mali_mem_swap_free_swap_item()
|
/device/soc/rockchip/common/sdk_linux/drivers/pci/controller/ |
H A D | rockchip-pcie-dma.h | 181 int ref_count; member
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/src/ |
H A D | hifb_main.h | 185 atomic_t ref_count; /* framebuffer reference count */
member
|
H A D | hifb_main.c | 1531 if (!atomic_read(&par->ref_count)) { in hifb_open_is_cursor_layer() 1535 atomic_set(&par->ref_count, 0); in hifb_open_is_cursor_layer() 1540 atomic_inc(&par->ref_count); in hifb_open_is_cursor_layer() 1624 atomic_set(&par->ref_count, 0); in hifb_open_init_display() 1778 if (!atomic_read(&par->ref_count)) { in hifb_open_start() 1854 atomic_inc(&par->ref_count); in hifb_open() 1948 if (atomic_dec_and_test(&par->ref_count)) { in hifb_release() 6354 cnt = atomic_read(&par->ref_count); 9086 osal_seq_printf(p, "referecce count \t :%d\n", atomic_read(&par->ref_count)); 9186 osal_seq_printf(p, "Open count \t :%d\n", atomic_read(&par->ref_count)); [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/linux/ |
H A D | ump_kernel_random_mapping.c | 182 new_ref = _ump_osk_atomic_dec_and_read(&mem->ref_count); in ump_random_mapping_put()
|
/device/soc/rockchip/rk3588/kernel/include/linux/ |
H A D | rockchip-pcie-dma.h | 186 int ref_count; member
|
/device/soc/rockchip/rk3588/kernel/drivers/pci/controller/ |
H A D | rockchip-pcie-dma.h | 186 int ref_count; member
|
/device/soc/rockchip/common/vendor/drivers/rockchip/ |
H A D | rockchip_system_monitor.c | 79 static unsigned long ref_count[32] = {0};
variable 125 if (ref_count[single_status_offset] == 0) {
in rockchip_set_system_status() 128 ref_count[single_status_offset]++;
in rockchip_set_system_status() 151 if (ref_count[single_status_offset] == 0) {
in rockchip_clear_system_status() 154 if (ref_count[single_status_offset] == 1) {
in rockchip_clear_system_status() 157 ref_count[single_status_offset]--;
in rockchip_clear_system_status()
|
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/ |
H A D | rockchip_system_monitor.c | 81 static unsigned long ref_count[32] = {0}; variable 130 if (ref_count[single_status_offset] == 0) in rockchip_set_system_status() 132 ref_count[single_status_offset]++; in rockchip_set_system_status() 154 if (ref_count[single_status_offset] == 0) { in rockchip_clear_system_status() 157 if (ref_count[single_status_offset] == 1) in rockchip_clear_system_status() 159 ref_count[single_status_offset]--; in rockchip_clear_system_status()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop2.c | 205 unsigned int ref_count; member 1462 if (pd->ref_count == 0) { in vop2_power_domain_get() 1468 pd->ref_count++; in vop2_power_domain_get() 1492 if (--pd->ref_count == 0 && pd->module_on) { in vop2_power_domain_put() 1507 * Called if the pd ref_count reach 0 after 2.5 1517 if (pd->ref_count == 0) { in vop2_power_domain_off_work()
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop2.c | 221 unsigned int ref_count; member 1469 if (pd->ref_count == 0) { in vop2_power_domain_get() 1474 pd->ref_count++; in vop2_power_domain_get() 1498 if (--pd->ref_count == 0 && pd->module_on) { in vop2_power_domain_put() 1511 * Called if the pd ref_count reach 0 after 2.5 1521 if (pd->ref_count == 0) in vop2_power_domain_off_work()
|