Searched refs:tcnt (Results 1 – 5 of 5) sorted by relevance
142 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() local393 tmr->tcnt[0] = (tcnt >> 8) & 0xff; in timer_events()394 tmr->tcnt[1] = tcnt & 0xff; in timer_events()[all …]
38 uint32_t tcnt; member97 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()
284 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),
20 uint16_t tcnt; member
43 uint8_t tcnt[TMR_CH]; member