Home
last modified time | relevance | path

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

/openbmc/qemu/hw/arm/
H A Domap1.c2539 int16_t comp_reg; member
2636 return ((uint16_t) s->comp_reg) & 0xff; in omap_rtc_read()
2639 return ((uint16_t) s->comp_reg) >> 8; in omap_rtc_read()
2821 s->comp_reg &= 0xff00; in omap_rtc_write()
2822 s->comp_reg |= 0x00ff & value; in omap_rtc_write()
2829 s->comp_reg &= 0x00ff; in omap_rtc_write()
2830 s->comp_reg |= 0xff00 & (value << 8); in omap_rtc_write()
2903 s->tick += s->comp_reg * 1000 / 32768; in omap_rtc_tick()
2913 s->comp_reg = 0; in omap_rtc_reset()