Searched refs:gdr_head (Results 1 – 2 of 2) sorted by relevance
330 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()
97 u32 gdr_head; member