Searched refs:new_tcsr (Results 1 – 1 of 1) sorted by relevance
259 static void npcm7xx_timer_write_tcsr(NPCM7xxTimer *t, uint32_t new_tcsr) in npcm7xx_timer_write_tcsr() argument264 if (new_tcsr & NPCM7XX_TCSR_RSVD) { in npcm7xx_timer_write_tcsr()266 __func__, new_tcsr); in npcm7xx_timer_write_tcsr()267 new_tcsr &= ~NPCM7XX_TCSR_RSVD; in npcm7xx_timer_write_tcsr()269 if (new_tcsr & NPCM7XX_TCSR_CACT) { in npcm7xx_timer_write_tcsr()271 __func__, new_tcsr); in npcm7xx_timer_write_tcsr()272 new_tcsr &= ~NPCM7XX_TCSR_CACT; in npcm7xx_timer_write_tcsr()274 if ((new_tcsr & NPCM7XX_TCSR_CRST) && (new_tcsr & NPCM7XX_TCSR_CEN)) { in npcm7xx_timer_write_tcsr()278 new_tcsr &= ~NPCM7XX_TCSR_CEN; in npcm7xx_timer_write_tcsr()284 t->tcsr = (t->tcsr & NPCM7XX_TCSR_CACT) | new_tcsr; in npcm7xx_timer_write_tcsr()[all …]