Home
last modified time | relevance | path

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

/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss.h73 #define MAX_SG 8 macro
133 u8 *iv[MAX_SG];
186 struct sginfo t_src[MAX_SG];
187 struct sginfo t_dst[MAX_SG];
189 u32 p_iv[MAX_SG];
251 struct sginfo t_src[MAX_SG];
252 struct sginfo t_dst[MAX_SG];
Dsun8i-ss-hash.c220 for (i = 0; i < MAX_SG; i++) { in sun8i_ss_run_hash_task()
266 if (sg_nents(areq->src) > MAX_SG - 1) in sun8i_ss_hash_need_fallback()
298 if (nr_sgs > MAX_SG - 1) in sun8i_ss_hash_digest()
350 for (i = 0; i < MAX_SG; i++) { in sun8i_ss_hash_run()
362 if (nr_sgs <= 0 || nr_sgs > MAX_SG) { in sun8i_ss_hash_run()
Dsun8i-ss-core.c101 for (i = 0; i < MAX_SG; i++) { in sun8i_ss_run_task()
484 for (j = 0; j < MAX_SG; j++) { in allocate_flows()
Dsun8i-ss-cipher.c140 if (i < MAX_SG) { in sun8i_ss_setup_ivs()
/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce.h105 #define MAX_SG 8 macro
175 struct sginfo t_src[MAX_SG];
176 struct sginfo t_dst[MAX_SG];
Dsun8i-ce-cipher.c29 if (sg_nents(areq->src) > MAX_SG || sg_nents(areq->dst) > MAX_SG) in sun8i_ce_cipher_need_fallback()
184 if (nr_sgs <= 0 || nr_sgs > MAX_SG) { in sun8i_ce_cipher_prepare()
193 if (nr_sgs <= 0 || nr_sgs > MAX_SG) { in sun8i_ce_cipher_prepare()
200 if (nr_sgd <= 0 || nr_sgd > MAX_SG) { in sun8i_ce_cipher_prepare()
Dsun8i-ce-hash.c207 if (sg_nents(areq->src) > MAX_SG - 1) in sun8i_ce_hash_need_fallback()
233 if (nr_sgs > MAX_SG - 1) in sun8i_ce_hash_digest()
322 if (nr_sgs <= 0 || nr_sgs > MAX_SG) { in sun8i_ce_hash_run()