Home
last modified time | relevance | path

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

/openbmc/qemu/hw/timer/
H A Dnpcm7xx_timer.c237 static void npcm7xx_timer_restart(NPCM7xxTimer *t, uint32_t old_tcsr) in npcm7xx_timer_restart() argument
241 if (old_tcsr & t->tcsr & NPCM7XX_TCSR_CEN) { in npcm7xx_timer_restart()
261 uint32_t old_tcsr = t->tcsr; in npcm7xx_timer_write_tcsr() local
286 if (npcm7xx_tcsr_prescaler(old_tcsr) != npcm7xx_tcsr_prescaler(new_tcsr)) { in npcm7xx_timer_write_tcsr()
289 if (old_tcsr & t->tcsr & NPCM7XX_TCSR_CEN) { in npcm7xx_timer_write_tcsr()
294 if ((old_tcsr ^ new_tcsr) & NPCM7XX_TCSR_IE) { in npcm7xx_timer_write_tcsr()
298 npcm7xx_timer_restart(t, old_tcsr); in npcm7xx_timer_write_tcsr()
301 if ((old_tcsr ^ new_tcsr) & NPCM7XX_TCSR_CEN) { in npcm7xx_timer_write_tcsr()