Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/amcc/
Dcrypto4xx_core.c464 unsigned int last_sd; in crypto4xx_copy_pkt_to_dst() local
475 last_sd = (first_sd + pd_uinfo->num_sd); in crypto4xx_copy_pkt_to_dst()
476 if (last_sd > PPC4XX_LAST_SD) { in crypto4xx_copy_pkt_to_dst()
477 last_sd = PPC4XX_LAST_SD; in crypto4xx_copy_pkt_to_dst()
478 overflow = last_sd % PPC4XX_NUM_SD; in crypto4xx_copy_pkt_to_dst()
486 (1 + last_sd - first_sd)); in crypto4xx_copy_pkt_to_dst()
492 last_sd = overflow; in crypto4xx_copy_pkt_to_dst()