Lines Matching refs:currSgtEntry
2674 uint32_t currSgtEntry; in caam_hash_sgt_insert() local
2679 currSgtEntry = 0; in caam_hash_sgt_insert()
2700 sgt[currSgtEntry].address_l = ADD_OFFSET(ctxBlkAddr); in caam_hash_sgt_insert()
2701 sgt[currSgtEntry].length = ctxBlksz; in caam_hash_sgt_insert()
2704 sgt[currSgtEntry].length |= 0x40000000u; /* Final SG entry */ in caam_hash_sgt_insert()
2706 currSgtEntry++; in caam_hash_sgt_insert()
2715 sgt[currSgtEntry].address_l = ADD_OFFSET((uint32_t)input); in caam_hash_sgt_insert()
2716 sgt[currSgtEntry].length = inputSize - remain; in caam_hash_sgt_insert()
2719 sgt[currSgtEntry].length |= 0x40000000u; /* Final SG entry */ in caam_hash_sgt_insert()
2720 sgt[currSgtEntry].offset = 0x80000000u; in caam_hash_sgt_insert()
3126 uint32_t currSgtEntry = ctxInternal->blksz; in CAAM_HASH_UpdateNonBlocking() local
3127 if (currSgtEntry >= (uint32_t)kCAAM_HashSgtMaxCtxEntries) in CAAM_HASH_UpdateNonBlocking()
3132 caam_sgt_entry_t *sgt = &((caam_sgt_entry_t *)(uint32_t)ctxInternal)[currSgtEntry]; in CAAM_HASH_UpdateNonBlocking()
3243 uint32_t currSgtEntry = ctxInternal->blksz; in CAAM_HASH_FinishNonBlocking() local
3244 if (currSgtEntry > (uint32_t)kCAAM_HashSgtMaxCtxEntries) in CAAM_HASH_FinishNonBlocking()
3254 for (i = 0; i < currSgtEntry; i++) in CAAM_HASH_FinishNonBlocking()
3258 sgt[currSgtEntry].length |= 0x40000000u; /* Final SG entry */ in CAAM_HASH_FinishNonBlocking()
3481 uint32_t currSgtEntry; in caam_crc_sgt_insert() local
3486 currSgtEntry = 0; in caam_crc_sgt_insert()
3507 sgt[currSgtEntry].address_l = ADD_OFFSET(ctxBlkAddr); in caam_crc_sgt_insert()
3508 sgt[currSgtEntry].length = ctxBlksz; in caam_crc_sgt_insert()
3511 sgt[currSgtEntry].length |= 0x40000000u; /* Final SG entry */ in caam_crc_sgt_insert()
3513 currSgtEntry++; in caam_crc_sgt_insert()
3522 sgt[currSgtEntry].address_l = ADD_OFFSET((uint32_t)input); in caam_crc_sgt_insert()
3523 sgt[currSgtEntry].length = inputSize - remain; in caam_crc_sgt_insert()
3526 sgt[currSgtEntry].length |= 0x40000000u; /* Final SG entry */ in caam_crc_sgt_insert()
3527 sgt[currSgtEntry].offset = 0x80000000u; in caam_crc_sgt_insert()