Home
last modified time | relevance | path

Searched refs:ele_buf (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/drivers/crypto/ele/
H A Dmemutils.c12 struct imx_ele_buf *ele_buf) in imx_ele_buf_cache_op() argument
14 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() argument
21 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 …]
/optee_os/core/drivers/crypto/ele/include/
H A Dmemutils.h42 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,