Lines Matching refs:data_count
211 unsigned int data_count, res_bits, i = 0, j; in tegra_aes_prep_cmd() local
216 data_count = rctx->len / AES_BLOCK_SIZE; in tegra_aes_prep_cmd()
224 data_count--; in tegra_aes_prep_cmd()
234 cpuvaddr[i++] = SE_LAST_BLOCK_VAL(data_count) | in tegra_aes_prep_cmd()
609 unsigned int data_count, res_bits, i = 0; in tegra_gmac_prep_cmd() local
613 data_count = (rctx->assoclen / AES_BLOCK_SIZE); in tegra_gmac_prep_cmd()
621 data_count--; in tegra_gmac_prep_cmd()
624 cpuvaddr[i++] = SE_LAST_BLOCK_VAL(data_count) | in tegra_gmac_prep_cmd()
649 unsigned int data_count, res_bits, i = 0, j; in tegra_gcm_crypt_prep_cmd() local
653 data_count = (rctx->cryptlen / AES_BLOCK_SIZE); in tegra_gcm_crypt_prep_cmd()
670 data_count--; in tegra_gcm_crypt_prep_cmd()
678 cpuvaddr[i++] = SE_LAST_BLOCK_VAL(data_count) | in tegra_gcm_crypt_prep_cmd()
856 unsigned int data_count, i = 0; in tegra_cbcmac_prep_cmd() local
860 data_count = (rctx->inbuf.size / AES_BLOCK_SIZE) - 1; in tegra_cbcmac_prep_cmd()
863 cpuvaddr[i++] = SE_LAST_BLOCK_VAL(data_count); in tegra_cbcmac_prep_cmd()
1472 unsigned int data_count, res_bits = 0, i = 0, j; in tegra_cmac_prep_cmd() local
1476 data_count = (rctx->datbuf.size / AES_BLOCK_SIZE); in tegra_cmac_prep_cmd()
1485 if (!res_bits && data_count) in tegra_cmac_prep_cmd()
1486 data_count--; in tegra_cmac_prep_cmd()
1499 cpuvaddr[i++] = SE_LAST_BLOCK_VAL(data_count) | in tegra_cmac_prep_cmd()