Home
last modified time | relevance | path

Searched refs:DMA_FLAG_TO_DEVICE (Results 1 – 4 of 4) sorted by relevance

/trusty/kernel/include/uapi/uapi/
Dmm.h117 #define DMA_FLAG_TO_DEVICE (0x1 << 0) /* memory to device */ macro
119 #define DMA_FLAG_BIDIRECTION (DMA_FLAG_TO_DEVICE | DMA_FLAG_FROM_DEVICE)
/trusty/user/base/lib/libc-trusty/
Dmman.c108 rc = prepare_dma(input, input_len, DMA_FLAG_TO_DEVICE, input_pmem); in prepare_input_output_dma()
116 finish_dma(input, input_len, DMA_FLAG_TO_DEVICE); // Clean DMA in prepare_input_output_dma()
134 int rc_in = finish_dma(input, input_len, DMA_FLAG_TO_DEVICE); in finish_input_output_dma()
/trusty/hardware/nxp/app/hwcrypto/
Dcaam.c100 rc = prepare_dma(g_rings, sizeof(g_rings), DMA_FLAG_TO_DEVICE, &pmem); in setup_job_rings()
123 DMA_FLAG_TO_DEVICE, &pmem); in run_job()
132 ret = prepare_dma(g_rings, sizeof(g_rings), DMA_FLAG_TO_DEVICE, &pmem); in run_job()
274 ret = prepare_dma((void*)kmod, kmod_size, DMA_FLAG_TO_DEVICE, &pmem); in caam_decap_blob()
282 DMA_FLAG_TO_DEVICE, &pmem); in caam_decap_blob()
331 ret = prepare_dma((void*)kmod, kmod_size, DMA_FLAG_TO_DEVICE, &pmem); in caam_gen_blob()
338 ret = prepare_dma((void*)plain, size, DMA_FLAG_TO_DEVICE, &pmem); in caam_gen_blob()
390 ret = prepare_dma((void*)key, key_size, DMA_FLAG_TO_DEVICE, &pmem); in caam_aes_op()
397 ret = prepare_dma((void*)in, len, DMA_FLAG_TO_DEVICE, &pmem); in caam_aes_op()
482 ret = prepare_dma((void*)in, len, DMA_FLAG_TO_DEVICE, &pmem); in caam_hash()
/trusty/user/base/lib/libc-trusty/test/
Dlibc_test.c889 int rc = prepare_dma(buf, TEST_BUF_SIZE, DMA_FLAG_TO_DEVICE, &dma); in TEST_F()
893 rc = prepare_dma(buf, TEST_BUF_SIZE, DMA_FLAG_TO_DEVICE, &dma); in TEST_F()
896 rc = finish_dma(buf, TEST_BUF_SIZE, DMA_FLAG_TO_DEVICE); in TEST_F()
911 rc = finish_dma(buf_in, TEST_BUF_SIZE, DMA_FLAG_TO_DEVICE); in TEST_F()
948 int rc = prepare_dma(buf_in, TEST_BUF_SIZE, DMA_FLAG_TO_DEVICE, &dma_in); in TEST_F()
950 rc = prepare_dma(buf_out, TEST_BUF_SIZE, DMA_FLAG_TO_DEVICE, &dma_out); in TEST_F()
957 rc = finish_dma(buf_in, TEST_BUF_SIZE, DMA_FLAG_TO_DEVICE); in TEST_F()