Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/crypto/rockchip/
H A Dcrypto_v2.c986 u8 *dma_in = NULL, *dma_out = NULL, *aad_tmp = NULL; in hw_cipher_crypt() local
1015 dma_out = out; in hw_cipher_crypt()
1017 dma_out = align_malloc(tmp_len, DATA_ADDR_ALIGN_SIZE); in hw_cipher_crypt()
1018 if (!dma_out) in hw_cipher_crypt()
1029 data_desc->dst_addr = (u32)virt_to_phys(dma_out); in hw_cipher_crypt()
1119 cache_op_inner(DCACHE_AREA_INVALIDATE, dma_out, tmp_len); in hw_cipher_crypt()
1138 if (out && out != dma_out) in hw_cipher_crypt()
1139 memcpy(out, dma_out, len); in hw_cipher_crypt()
1156 if (out && dma_out != out) in hw_cipher_crypt()
1157 align_free(dma_out); in hw_cipher_crypt()