Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/crypto/chelsio/
Dchcr_algo.c514 unsigned int sgmin; in ulptx_walk_add_sg() local
531 sgmin = min_t(unsigned int, small, CHCR_SRC_SG_SIZE); in ulptx_walk_add_sg()
532 walk->sgl->len0 = cpu_to_be32(sgmin); in ulptx_walk_add_sg()
535 len -= sgmin; in ulptx_walk_add_sg()
537 walk->last_sg_len = sgmin + skip_len; in ulptx_walk_add_sg()
538 skip_len += sgmin; in ulptx_walk_add_sg()
547 sgmin = min_t(unsigned int, small, CHCR_SRC_SG_SIZE); in ulptx_walk_add_sg()
548 walk->pair->len[walk->pair_idx] = cpu_to_be32(sgmin); in ulptx_walk_add_sg()
555 len -= sgmin; in ulptx_walk_add_sg()
556 skip_len += sgmin; in ulptx_walk_add_sg()