Searched refs:old_tcsr (Results 1 – 1 of 1) sorted by relevance
237 static void npcm7xx_timer_restart(NPCM7xxTimer *t, uint32_t old_tcsr) in npcm7xx_timer_restart() argument241 if (old_tcsr & t->tcsr & NPCM7XX_TCSR_CEN) { in npcm7xx_timer_restart()261 uint32_t old_tcsr = t->tcsr; in npcm7xx_timer_write_tcsr() local286 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()