Home
last modified time | relevance | path

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

/qemu/hw/misc/
H A Dnpcm7xx_mft.c139 static int npcm7xx_mft_compare(int32_t src, uint16_t tgt, uint8_t cpcfg) in npcm7xx_mft_compare() argument
141 if (cpcfg & NPCM7XX_MFT_CPCFG_HIEN) { in npcm7xx_mft_compare()
144 if ((cpcfg & NPCM7XX_MFT_CPCFG_EQEN) && (src <= tgt)) { in npcm7xx_mft_compare()
147 if ((cpcfg & NPCM7XX_MFT_CPCFG_LOEN) && (tgt > 0) && (src < tgt)) { in npcm7xx_mft_compare()
157 uint8_t cpcfg, uint16_t *cnt) in npcm7xx_mft_compute_cnt() argument
185 stopped = npcm7xx_mft_compare(count, tgt, cpcfg); in npcm7xx_mft_compute_cnt()
215 uint8_t cpcfg; in npcm7xx_mft_capture() local
229 cpcfg = NPCM7XX_MFT_CPCFG_GET_A(s->regs[R_NPCM7XX_MFT_CPCFG]); in npcm7xx_mft_capture()
234 cpcfg, in npcm7xx_mft_capture()
271 cpcfg = NPCM7XX_MFT_CPCFG_GET_B(s->regs[R_NPCM7XX_MFT_CPCFG]); in npcm7xx_mft_capture()
[all …]