/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
D | oal_mem.c | 279 mem->user_cnt = 0; in oal_mem_create_subpool() 463 mem->user_cnt = 1; in oal_mem_alloc_enhanced() 496 if (oal_unlikely(mem->user_cnt == 0)) { in oal_mem_free_enhanced() 500 mem->user_cnt--; in oal_mem_free_enhanced() 502 if (mem->user_cnt != 0) { in oal_mem_free_enhanced()
|
D | oal_mem.h | 217 hi_u8 user_cnt :4; /* 申请本内存块的用户计数 */ member
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/ |
D | drv_hdmi_intf_k.c | 181 if (hdmi_dev->kernel_cnt == 0 && hdmi_dev->user_cnt == 0) { in hi_drv_hdmi_csc_param_set() 232 if (hdmi_dev->kernel_cnt == 0 && hdmi_dev->user_cnt == 0) { in hi_drv_hdmi_video_param_set() 303 if (hdmi_dev->kernel_cnt == 0 && hdmi_dev->user_cnt == 0) { in hi_drv_hdmi_set_hdr_attr()
|
D | drv_hdmi_intf.h | 48 hi_u32 user_cnt; member
|
D | drv_hdmi_intf.c | 1289 hdmi_dev->user_cnt = 0; 1434 hdmi_dev->user_cnt++; 1449 hdmi_dev->user_cnt, hdmi_dev->kernel_cnt, hdmi_dev->user_callback_cnt); 1487 if (hdmi_dev->user_cnt == 0) { 1549 hdmi_info("user_cnt: %u, kernel_cnt: %u\n", hdmi_dev->user_cnt, hdmi_dev->kernel_cnt); 1553 if (user && hdmi_dev->user_cnt > 0) { 1562 if (hdmi_dev->user_cnt == 1) { 1569 hdmi_dev->user_cnt--; 1570 if (hdmi_dev->user_cnt == 0 && hdmi_dev->kernel_cnt > 0) { 1587 if (hdmi_dev->user_cnt == 0 && hdmi_dev->kernel_cnt == 0) { [all …]
|
D | drv_hdmi_proc.c | 614 osal_seq_printf(file, "%-15s: %-20d \n", "UserCnt", hdmi_dev->user_cnt); in proc_sw_status()
|
D | drv_hdmi_debug.c | 3255 if (hdmi_dev->user_cnt == 0 && hdmi_dev->kernel_cnt == 0) { in drv_hdmi_debug_source_write()
|
/device/soc/amlogic/a311d/soc/amlogic/media/common/codec_mm/ |
D | codec_mm_scatter.c | 1362 ret = atomic_read(&mms->user_cnt); in codec_mm_scatter_free_on_nouser_ext() 1415 old_user = atomic_read(&mms->user_cnt); in codec_mm_scatter_inc_user_in1() 1417 ret = atomic_add_return(cnt, &mms->user_cnt); in codec_mm_scatter_inc_user_in1() 1453 if (atomic_read(&mms->user_cnt) >= 1) { in codec_mm_scatter_dec_user_in1() 1454 after_users = atomic_sub_return(cnt, &mms->user_cnt); in codec_mm_scatter_dec_user_in1() 1539 atomic_set(&mms->user_cnt, 0); in codec_mm_scatter_alloc_new() 1549 atomic_set(&mms->user_cnt, 1000L); in codec_mm_scatter_alloc_new() 1589 if (mms->page_max_cnt >= max_page && atomic_read(&mms->user_cnt) == 0) { in codec_mm_scatter_alloc() 1590 if (atomic_add_return(1000L, &mms->user_cnt) == 1000L) { in codec_mm_scatter_alloc() 1595 atomic_sub(1000L, &mms->user_cnt); in codec_mm_scatter_alloc() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/common/codec_mm/ |
D | codec_mm_scatter.c | 1580 ret = atomic_read(&mms->user_cnt); in codec_mm_scatter_free_on_nouser_ext() 1640 old_user = atomic_read(&mms->user_cnt); in codec_mm_scatter_inc_user_in1() 1642 ret = atomic_add_return(cnt, &mms->user_cnt); in codec_mm_scatter_inc_user_in1() 1684 if (atomic_read(&mms->user_cnt) >= 1) { in codec_mm_scatter_dec_user_in1() 1685 after_users = atomic_sub_return(cnt, &mms->user_cnt); in codec_mm_scatter_dec_user_in1() 1787 atomic_set(&mms->user_cnt, 0); in codec_mm_scatter_alloc_new() 1798 atomic_set(&mms->user_cnt, 1000); in codec_mm_scatter_alloc_new() 1841 atomic_read(&mms->user_cnt) == 0) { in codec_mm_scatter_alloc() 1843 &mms->user_cnt) == 1000) { in codec_mm_scatter_alloc() 1848 atomic_sub(1000, &mms->user_cnt); in codec_mm_scatter_alloc() [all …]
|
/device/soc/amlogic/a311d/soc/include/linux/amlogic/media/codec_mm/ |
D | codec_mm_scatter.h | 43 atomic_t user_cnt; member
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/codec_mm/ |
D | codec_mm_scatter.h | 44 atomic_t user_cnt; member
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/g2d/g2d_legacy/ |
D | g2d_driver_i.h | 59 __u32 user_cnt; member
|
D | g2d_driver.c | 503 para.user_cnt++; in g2d_open() 504 if (para.user_cnt == 1) { in g2d_open() 519 para.user_cnt--; in g2d_release() 520 if (para.user_cnt == 0) { in g2d_release()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/g2d/g2d_rcq/ |
D | g2d_driver_i.h | 65 __u32 user_cnt; member
|
D | g2d.c | 460 para.user_cnt++; in g2d_open() 461 if (para.user_cnt == 1) { in g2d_open() 475 para.user_cnt--; in g2d_release() 476 if (para.user_cnt == 0) { in g2d_release()
|
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wifi/macif/ |
D | wifi_tx_swdesc.h | 310 uint8_t user_cnt; member
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/frw/ |
D | frw_event.c | 631 event_mem->user_cnt++; in frw_event_post_event()
|