Searched refs:cs_rc_max (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/crypto/inside-secure/ |
D | safexcel.c | 126 int cs_rc_max, int cs_ht_wc) in eip197_trc_cache_clear() argument 132 for (i = 0; i < cs_rc_max; i++) { in eip197_trc_cache_clear() 142 else if (i == cs_rc_max - 1) in eip197_trc_cache_clear() 151 htable_offset = cs_rc_max * EIP197_CS_RC_SIZE; in eip197_trc_cache_clear() 161 int cs_rc_max, cs_ht_wc, cs_trc_rec_wc, cs_trc_lg_rec_wc; in eip197_trc_cache_init() local 232 cs_rc_max = min_t(uint, cs_rc_abs_max, (asize >> 1)); in eip197_trc_cache_init() 234 cs_ht_sz = __fls(asize - cs_rc_max) - 2; in eip197_trc_cache_init() 238 cs_rc_max = min_t(uint, cs_rc_abs_max, asize - (cs_ht_wc >> 2)); in eip197_trc_cache_init() 241 eip197_trc_cache_clear(priv, cs_rc_max, cs_ht_wc); in eip197_trc_cache_init() 250 EIP197_TRC_FREECHAIN_TAIL_PTR(cs_rc_max - 1); in eip197_trc_cache_init() [all …]
|