Searched refs:ele_buf (Results 1 – 2 of 2) sorted by relevance
12 struct imx_ele_buf *ele_buf) in imx_ele_buf_cache_op() argument14 if (ele_buf && ele_buf->data) in imx_ele_buf_cache_op()15 cache_operation(op, ele_buf->data, ele_buf->size); in imx_ele_buf_cache_op()18 TEE_Result imx_ele_buf_alloc(struct imx_ele_buf *ele_buf, const uint8_t *buf, in imx_ele_buf_alloc() argument21 if (!ele_buf || !size) in imx_ele_buf_alloc()24 ele_buf->data = alloc_cache_aligned(size); in imx_ele_buf_alloc()25 if (!ele_buf->data) { in imx_ele_buf_alloc()30 ele_buf->paddr = virt_to_phys(ele_buf->data); in imx_ele_buf_alloc()31 if (!ele_buf->paddr) { in imx_ele_buf_alloc()32 free(ele_buf->data); in imx_ele_buf_alloc()[all …]
42 TEE_Result imx_ele_buf_alloc(struct imx_ele_buf *ele_buf, const uint8_t *buf,50 void imx_ele_buf_free(struct imx_ele_buf *ele_buf);59 TEE_Result imx_ele_buf_copy(struct imx_ele_buf *ele_buf, uint8_t *buf,