Home
last modified time | relevance | path

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

/openbmc/qemu/hw/timer/
H A Dmss-timer.c49 #define R_TIM_CTRL 3 macro
65 ier = !!(st->regs[R_TIM_CTRL] & TIMER_CTRL_INTR); in timer_update_irq()
74 if (!(st->regs[R_TIM_CTRL] & TIMER_CTRL_ENBL)) { in timer_update()
114 ier = !!(st->regs[R_TIM_CTRL] & TIMER_CTRL_INTR); in timer_read()
160 case R_TIM_CTRL: in timer_write()
161 st->regs[R_TIM_CTRL] = value; in timer_write()
175 if (st->regs[R_TIM_CTRL] & TIMER_CTRL_ENBL) { in timer_write()
220 if (!(st->regs[R_TIM_CTRL] & TIMER_CTRL_ONESHOT)) { in timer_hit()