Searched refs:dma_node_fd (Results 1 – 1 of 1) sorted by relevance
30 #define IS_DMA_INVALID() (dma_node_fd < 0)41 void (*deinit)(int dma_node_fd);42 struct mem_pool_node *(*alloc_node)(int dma_node_fd, uint32_t size);43 void (*free_node)(int dma_node_fd, struct mem_pool_node *node);46 static int dma_node_fd = -1; variable63 static void crypto_deinit_drm(int dma_node_fd) in crypto_deinit_drm() argument65 if (dma_node_fd >= 0) in crypto_deinit_drm()66 close(dma_node_fd); in crypto_deinit_drm()69 static struct mem_pool_node *crypto_alloc_node_drm(int dma_node_fd, uint32_t size) in crypto_alloc_node_drm() argument91 ret = drmIoctl(dma_node_fd, DRM_IOCTL_ROCKCHIP_GEM_CREATE, &req); in crypto_alloc_node_drm()[all …]