Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/amcc/
Dcrypto4xx_core.c316 if (dev->gdr_head > dev->gdr_tail) { in crypto4xx_get_n_gd()
317 if (tmp < dev->gdr_head && tmp >= dev->gdr_tail) in crypto4xx_get_n_gd()
319 } else if (dev->gdr_head < dev->gdr_tail) { in crypto4xx_get_n_gd()
320 if (tmp < dev->gdr_head || tmp >= dev->gdr_tail) in crypto4xx_get_n_gd()
333 if (dev->gdr_tail == dev->gdr_head) { in crypto4xx_put_gd_to_gdr()
338 if (dev->gdr_tail != PPC4XX_LAST_GD) in crypto4xx_put_gd_to_gdr()
339 dev->gdr_tail++; in crypto4xx_put_gd_to_gdr()
341 dev->gdr_tail = 0; in crypto4xx_put_gd_to_gdr()
419 if (dev->sdr_head > dev->gdr_tail) { in crypto4xx_get_n_sd()
Dcrypto4xx_core.h102 u32 gdr_tail; member