Home
last modified time | relevance | path

Searched refs:DMA_FLAG_FROM_DEVICE (Results 1 – 8 of 8) sorted by relevance

/trusty/kernel/include/uapi/uapi/
Dmm.h118 #define DMA_FLAG_FROM_DEVICE (0x1 << 1) /* device to memory */ macro
119 #define DMA_FLAG_BIDIRECTION (DMA_FLAG_TO_DEVICE | DMA_FLAG_FROM_DEVICE)
/trusty/hardware/nxp/app/hwcrypto/
Dcaam.c145 finish_dma(g_rings->out, sizeof(g_rings->out), DMA_FLAG_FROM_DEVICE); in run_job()
289 ret = prepare_dma((void*)plain, size, DMA_FLAG_FROM_DEVICE, &pmem); in caam_decap_blob()
313 finish_dma(plain, size, DMA_FLAG_FROM_DEVICE); in caam_decap_blob()
346 DMA_FLAG_FROM_DEVICE, &pmem); in caam_gen_blob()
370 finish_dma(blob, size + CAAM_KB_HEADER_LEN, DMA_FLAG_FROM_DEVICE); in caam_gen_blob()
404 ret = prepare_dma(out, len, DMA_FLAG_FROM_DEVICE, &pmem); in caam_aes_op()
432 finish_dma(out, len, DMA_FLAG_FROM_DEVICE); in caam_aes_op()
442 DMA_FLAG_FROM_DEVICE | DMA_FLAG_ALLOW_PARTIAL, &pmem); in caam_hwrng()
461 finish_dma(out, pmem.size, DMA_FLAG_FROM_DEVICE); in caam_hwrng()
489 ret = prepare_dma(out, len, DMA_FLAG_FROM_DEVICE, &pmem); in caam_hash()
[all …]
/trusty/user/base/lib/libc-trusty/
Dmman.c113 rc = prepare_dma(output, output_len, DMA_FLAG_FROM_DEVICE, output_pmem); in prepare_input_output_dma()
135 int rc_out = finish_dma(output, output_len, DMA_FLAG_FROM_DEVICE); in finish_input_output_dma()
/trusty/user/app/sample/manifest-test/
Dmanifest_test.c44 const uint32_t flags = DMA_FLAG_FROM_DEVICE | DMA_FLAG_ALLOW_PARTIAL; in compare_memory_map()
/trusty/kernel/lib/trusty/
Dsyscall.c410 if (flags & DMA_FLAG_FROM_DEVICE) in sys_prepare_dma()
440 if (flags & DMA_FLAG_FROM_DEVICE) in sys_finish_dma()
/trusty/user/base/lib/smc/tests/
Dsmc_test.c225 const uint32_t dma_flags = DMA_FLAG_FROM_DEVICE | DMA_FLAG_ALLOW_PARTIAL; in TEST_F()
/trusty/user/base/lib/hwasan/test/
Dhwasan_test.c287 uint32_t dma_flags = DMA_FLAG_FROM_DEVICE | DMA_FLAG_ALLOW_PARTIAL; in TEST()
/trusty/user/base/lib/libc-trusty/test/
Dlibc_test.c913 rc = finish_dma(buf_out, TEST_BUF_SIZE, DMA_FLAG_FROM_DEVICE); in TEST_F()
959 rc = finish_dma(buf_out, TEST_BUF_SIZE, DMA_FLAG_FROM_DEVICE); in TEST_F()