Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss.h72 #define MAX_SG 8 macro
177 struct sginfo t_src[MAX_SG];
178 struct sginfo t_dst[MAX_SG];
242 struct sginfo t_src[MAX_SG];
243 struct sginfo t_dst[MAX_SG];
Dsun8i-ss-hash.c218 for (i = 0; i < MAX_SG; i++) { in sun8i_ss_run_hash_task()
264 if (sg_nents(areq->src) > MAX_SG - 1) in sun8i_ss_hash_need_fallback()
296 if (nr_sgs > MAX_SG - 1) in sun8i_ss_hash_digest()
353 for (i = 0; i < MAX_SG; i++) { in sun8i_ss_hash_run()
365 if (nr_sgs <= 0 || nr_sgs > MAX_SG) { in sun8i_ss_hash_run()
Dsun8i-ss-core.c98 for (i = 0; i < MAX_SG; i++) { in sun8i_ss_run_task()
/Linux-v5.10/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce.h104 #define MAX_SG 8 macro
174 struct sginfo t_src[MAX_SG];
175 struct sginfo t_dst[MAX_SG];
Dsun8i-ce-cipher.c28 if (sg_nents(areq->src) > MAX_SG || sg_nents(areq->dst) > MAX_SG) in sun8i_ce_cipher_need_fallback()
183 if (nr_sgs <= 0 || nr_sgs > MAX_SG) { in sun8i_ce_cipher_prepare()
192 if (nr_sgs <= 0 || nr_sgs > MAX_SG) { in sun8i_ce_cipher_prepare()
199 if (nr_sgd <= 0 || nr_sgd > MAX_SG) { in sun8i_ce_cipher_prepare()
Dsun8i-ce-hash.c205 if (sg_nents(areq->src) > MAX_SG - 1) in sun8i_ce_hash_need_fallback()
231 if (nr_sgs > MAX_SG - 1) in sun8i_ce_hash_digest()
316 if (nr_sgs <= 0 || nr_sgs > MAX_SG) { in sun8i_ce_hash_run()
/Linux-v5.10/arch/um/drivers/
Dubd_kern.c145 #define MAX_SG 64 macro
948 blk_queue_max_segments(ubd_dev->queue, MAX_SG); in ubd_add()