Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/amcc/
Dcrypto4xx_core.c417 retval = dev->sdr_head; in crypto4xx_get_n_sd()
418 tmp = (dev->sdr_head + n) % PPC4XX_NUM_SD; in crypto4xx_get_n_sd()
419 if (dev->sdr_head > dev->gdr_tail) { in crypto4xx_get_n_sd()
420 if (tmp < dev->sdr_head && tmp >= dev->sdr_tail) in crypto4xx_get_n_sd()
422 } else if (dev->sdr_head < dev->sdr_tail) { in crypto4xx_get_n_sd()
423 if (tmp < dev->sdr_head || tmp >= dev->sdr_tail) in crypto4xx_get_n_sd()
426 dev->sdr_head = tmp; in crypto4xx_get_n_sd()
436 if (dev->sdr_tail == dev->sdr_head) { in crypto4xx_put_sd_to_sdr()
798 dev->sdr_head = fst_sd; in crypto4xx_build_pd()
Dcrypto4xx_core.h105 u32 sdr_head; member