Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/crypto/amcc/
Dcrypto4xx_core.c332 if (dev->gdr_head > dev->gdr_tail) { in crypto4xx_get_n_gd()
333 if (tmp < dev->gdr_head && tmp >= dev->gdr_tail) in crypto4xx_get_n_gd()
335 } else if (dev->gdr_head < dev->gdr_tail) { in crypto4xx_get_n_gd()
336 if (tmp < dev->gdr_head || tmp >= dev->gdr_tail) in crypto4xx_get_n_gd()
349 if (dev->gdr_tail == dev->gdr_head) { in crypto4xx_put_gd_to_gdr()
354 if (dev->gdr_tail != PPC4XX_LAST_GD) in crypto4xx_put_gd_to_gdr()
355 dev->gdr_tail++; in crypto4xx_put_gd_to_gdr()
357 dev->gdr_tail = 0; in crypto4xx_put_gd_to_gdr()
439 if (dev->sdr_head > dev->gdr_tail) { in crypto4xx_get_n_sd()
Dcrypto4xx_core.h96 u32 gdr_tail; member