Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/crypto/amcc/
Dcrypto4xx_core.c330 retval = dev->gdr_head; in crypto4xx_get_n_gd()
331 tmp = (dev->gdr_head + n) % PPC4XX_NUM_GD; in crypto4xx_get_n_gd()
332 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()
339 dev->gdr_head = tmp; in crypto4xx_get_n_gd()
349 if (dev->gdr_tail == dev->gdr_head) { in crypto4xx_put_gd_to_gdr()
833 dev->gdr_head = fst_gd; in crypto4xx_build_pd()
841 dev->gdr_head = fst_gd; in crypto4xx_build_pd()
Dcrypto4xx_core.h97 u32 gdr_head; member