Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/amcc/
H A Dcrypto4xx_core.c309 if (dev->gdr_head > dev->gdr_tail) { in crypto4xx_get_n_gd()
310 if (tmp < dev->gdr_head && tmp >= dev->gdr_tail) in crypto4xx_get_n_gd()
312 } else if (dev->gdr_head < dev->gdr_tail) { in crypto4xx_get_n_gd()
313 if (tmp < dev->gdr_head || tmp >= dev->gdr_tail) in crypto4xx_get_n_gd()
326 if (dev->gdr_tail == dev->gdr_head) { in crypto4xx_put_gd_to_gdr()
331 if (dev->gdr_tail != PPC4XX_LAST_GD) in crypto4xx_put_gd_to_gdr()
332 dev->gdr_tail++; in crypto4xx_put_gd_to_gdr()
334 dev->gdr_tail = 0; in crypto4xx_put_gd_to_gdr()
408 if (dev->sdr_head > dev->gdr_tail) { in crypto4xx_get_n_sd()
H A Dcrypto4xx_core.h95 u32 gdr_tail; member