Home
last modified time | relevance | path

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

/openbmc/qemu/hw/timer/
H A Dnpcm7xx_timer.c343 if (new_wtcr & NPCM7XX_WTCR_WTIF) { in npcm7xx_timer_write_wtcr()
344 new_wtcr &= ~NPCM7XX_WTCR_WTIF; in npcm7xx_timer_write_wtcr()
346 new_wtcr |= NPCM7XX_WTCR_WTIF; in npcm7xx_timer_write_wtcr()
348 if (new_wtcr & NPCM7XX_WTCR_WTRF) { in npcm7xx_timer_write_wtcr()
349 new_wtcr &= ~NPCM7XX_WTCR_WTRF; in npcm7xx_timer_write_wtcr()
351 new_wtcr |= NPCM7XX_WTCR_WTRF; in npcm7xx_timer_write_wtcr()
354 t->wtcr = new_wtcr; in npcm7xx_timer_write_wtcr()
356 if (new_wtcr & NPCM7XX_WTCR_WTR) { in npcm7xx_timer_write_wtcr()
359 if (new_wtcr & NPCM7XX_WTCR_WTE) { in npcm7xx_timer_write_wtcr()
362 } else if ((old_wtcr ^ new_wtcr) & NPCM7XX_WTCR_WTE) { in npcm7xx_timer_write_wtcr()
[all …]