Home
last modified time | relevance | path

Searched refs:dma_in (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
1006 dma_in = (void *)in; in hw_cipher_crypt()
1008 dma_in = align_malloc(tmp_len, DATA_ADDR_ALIGN_SIZE); in hw_cipher_crypt()
1009 if (!dma_in) in hw_cipher_crypt()
1024 if (dma_in != in) in hw_cipher_crypt()
1025 memcpy(dma_in, in, len); in hw_cipher_crypt()
1027 data_desc->src_addr = (u32)virt_to_phys(dma_in); in hw_cipher_crypt()
1118 cache_op_inner(DCACHE_AREA_CLEAN, dma_in, tmp_len); in hw_cipher_crypt()
1154 if (dma_in != in) in hw_cipher_crypt()
1155 align_free(dma_in); in hw_cipher_crypt()