Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/crypto/amcc/
Dcrypto4xx_core.c406 retval = dev->sdr_head; in crypto4xx_get_n_sd()
407 tmp = (dev->sdr_head + n) % PPC4XX_NUM_SD; in crypto4xx_get_n_sd()
408 if (dev->sdr_head > dev->gdr_tail) { in crypto4xx_get_n_sd()
409 if (tmp < dev->sdr_head && tmp >= dev->sdr_tail) in crypto4xx_get_n_sd()
411 } else if (dev->sdr_head < dev->sdr_tail) { in crypto4xx_get_n_sd()
412 if (tmp < dev->sdr_head || tmp >= dev->sdr_tail) in crypto4xx_get_n_sd()
415 dev->sdr_head = tmp; in crypto4xx_get_n_sd()
425 if (dev->sdr_tail == dev->sdr_head) { in crypto4xx_put_sd_to_sdr()
801 dev->sdr_head = fst_sd; in crypto4xx_build_pd()
Dcrypto4xx_core.h98 u32 sdr_head; member