Home
last modified time | relevance | path

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

/linux/drivers/crypto/amcc/
A Dcrypto4xx_core.c307 retval = dev->gdr_head; in crypto4xx_get_n_gd()
308 tmp = (dev->gdr_head + n) % PPC4XX_NUM_GD; in crypto4xx_get_n_gd()
309 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()
316 dev->gdr_head = tmp; in crypto4xx_get_n_gd()
326 if (dev->gdr_tail == dev->gdr_head) { in crypto4xx_put_gd_to_gdr()
793 dev->gdr_head = fst_gd; in crypto4xx_build_pd()
801 dev->gdr_head = fst_gd; in crypto4xx_build_pd()
A Dcrypto4xx_core.h96 u32 gdr_head; member

Completed in 6 milliseconds