Home
last modified time | relevance | path

Searched refs:mem_cnt (Results 1 – 3 of 3) sorted by relevance

/device/soc/rockchip/rk3568/hardware/omx_il/osal/
DRockchip_OSAL_Memory.c32 static int mem_cnt = 0; variable
40 mem_cnt++; in Rockchip_OSAL_Malloc_With_Caller()
42 tag, caller, (int)line, mem_cnt); in Rockchip_OSAL_Malloc_With_Caller()
60 mem_cnt--; in Rockchip_OSAL_Free_With_Caller()
62 tag, caller, (int)line, mem_cnt); in Rockchip_OSAL_Free_With_Caller()
DRockchip_OSAL_SharedMemory.c57 static int mem_cnt = 0; variable
549 mem_cnt--; in Rockchip_OSAL_SharedMemory_Close()
550 omx_trace("SharedMemory free count: %d", mem_cnt); in Rockchip_OSAL_SharedMemory_Close()
692 mem_cnt++; in Rockchip_OSAL_SharedMemory_Alloc()
693 omx_trace("SharedMemory alloc count: %d", mem_cnt); in Rockchip_OSAL_SharedMemory_Alloc()
745 if (mem_cnt == MEMORY_TYPE_ION) { in Rockchip_OSAL_SharedMemory_Free()
755 mem_cnt--; in Rockchip_OSAL_SharedMemory_Free()
756 omx_trace("SharedMemory free count: %d", mem_cnt); in Rockchip_OSAL_SharedMemory_Free()
822 mem_cnt++; in Rockchip_OSAL_SharedMemory_Map()
823 omx_trace("SharedMemory alloc count: %d", mem_cnt); in Rockchip_OSAL_SharedMemory_Map()
[all …]
/device/soc/esp/esp32/components/driver/
Drmt.c566 uint8_t mem_cnt = rmt_param->mem_block_num; in rmt_internal_config() local
573 RMT_CHECK((mem_cnt + channel <= 8 && mem_cnt > 0), RMT_MEM_CNT_ERROR_STR, ESP_ERR_INVALID_ARG); in rmt_internal_config()
617 rmt_ll_tx_set_mem_blocks(dev, channel, mem_cnt); in rmt_internal_config()
653 rmt_ll_rx_set_mem_blocks(dev, RMT_DECODE_RX_CHANNEL(channel), mem_cnt); in rmt_internal_config()
714 uint8_t mem_cnt = rmt_ll_tx_get_mem_blocks(rmt_contex.hal.regs, channel); in rmt_fill_tx_items() local
715 …RMT_CHECK((mem_cnt * RMT_MEM_ITEM_NUM >= item_num), RMT_WR_MEM_OVF_ERROR_STR, ESP_ERR_INVALID_ARG); in rmt_fill_tx_items()