Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/crypto/amcc/
Dcrypto4xx_core.c437 retval = dev->sdr_head; in crypto4xx_get_n_sd()
438 tmp = (dev->sdr_head + n) % PPC4XX_NUM_SD; in crypto4xx_get_n_sd()
439 if (dev->sdr_head > dev->gdr_tail) { in crypto4xx_get_n_sd()
440 if (tmp < dev->sdr_head && tmp >= dev->sdr_tail) in crypto4xx_get_n_sd()
442 } else if (dev->sdr_head < dev->sdr_tail) { in crypto4xx_get_n_sd()
443 if (tmp < dev->sdr_head || tmp >= dev->sdr_tail) in crypto4xx_get_n_sd()
446 dev->sdr_head = tmp; in crypto4xx_get_n_sd()
456 if (dev->sdr_tail == dev->sdr_head) { in crypto4xx_put_sd_to_sdr()
843 dev->sdr_head = fst_sd; in crypto4xx_build_pd()
Dcrypto4xx_core.h99 u32 sdr_head; member