Home
last modified time | relevance | path

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

/qemu/hw/timer/
H A Drenesas_tmr.c142 tcnt[1] = tmr->tcnt[1] + (elapsed & 0xff); in read_tcnt()
147 tcnt[1] = tmr->tcnt[1]; in read_tcnt()
155 tcnt[0] = tmr->tcnt[0] + elapsed; in read_tcnt()
158 tcnt[0] = tmr->tcnt[0] + ovf; in read_tcnt()
162 tcnt[0] = tmr->tcnt[0]; in read_tcnt()
168 tcnt[0] = tmr->tcnt[0]; in read_tcnt()
169 tcnt[1] = tmr->tcnt[1]; in read_tcnt()
377 uint16_t tcnt; in timer_events() local
393 tmr->tcnt[0] = (tcnt >> 8) & 0xff; in timer_events()
394 tmr->tcnt[1] = tcnt & 0xff; in timer_events()
[all …]
H A Dsh_timer.c38 uint32_t tcnt; member
97 s->tcnt = value; in sh_timer_write()
99 ptimer_set_count(s->timer, s->tcnt); in sh_timer_write()
236 s->tcnt = 0xffffffff; in sh_timer_init()
245 sh_timer_write(s, OFFSET_TCNT >> 2, s->tcnt); in sh_timer_init()
/qemu/hw/net/
H A Dne2000.c284 if (index + s->tcnt <= NE2000_PMEM_END) { in ne2000_ioport_write()
286 s->tcnt); in ne2000_ioport_write()
322 s->tcnt = (s->tcnt & 0xff00) | val; in ne2000_ioport_write()
325 s->tcnt = (s->tcnt & 0x00ff) | (val << 8); in ne2000_ioport_write()
617 VMSTATE_UINT16(tcnt, NE2000State),
H A Dne2000.h20 uint16_t tcnt; member
/qemu/include/hw/timer/
H A Drenesas_tmr.h43 uint8_t tcnt[TMR_CH]; member