Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_hal.c124 unsigned int base_cnt = 0, cur_cnt = 0; in qat_hal_wait_cycles() local
129 base_cnt = qat_hal_rd_ae_csr(handle, ae, PROFILE_COUNT); in qat_hal_wait_cycles()
130 base_cnt &= 0xffff; in qat_hal_wait_cycles()
137 elapsed_cycles = cur_cnt - base_cnt; in qat_hal_wait_cycles()
381 unsigned int base_cnt, cur_cnt; in qat_hal_check_ae_alive() local
386 base_cnt = qat_hal_rd_ae_csr(handle, ae, PROFILE_COUNT); in qat_hal_check_ae_alive()
387 base_cnt &= 0xffff; in qat_hal_check_ae_alive()
392 } while (times-- && (cur_cnt == base_cnt)); in qat_hal_check_ae_alive()
/openbmc/linux/sound/pci/hda/
H A Dpatch_ca0132.c2721 unsigned int base_cnt; in dsp_dma_setup() local
2775 base_cnt = (count - 1) << DSPDMAC_XFRCNT_BCNT_LOBIT; in dsp_dma_setup()
2779 xfr_cnt = base_cnt | cur_cnt; in dsp_dma_setup()