Home
last modified time | relevance | path

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

/linux/drivers/clocksource/
A Dh8300_tpu.c21 #define TCNT 0x6 macro
37 tcnt = ioread16be(p->mapbase1 + TCNT) << 16; in read_tcnt32()
38 tcnt |= ioread16be(p->mapbase2 + TCNT); in read_tcnt32()
88 iowrite16be(0, p->mapbase1 + TCNT); in tpu_clocksource_enable()
89 iowrite16be(0, p->mapbase2 + TCNT); in tpu_clocksource_enable()
A Dh8300_timer16.c21 #define TCNT 2 macro
47 v1 = ioread16be(p->mapbase + TCNT); in timer16_get_counter()
48 v2 = ioread16be(p->mapbase + TCNT); in timer16_get_counter()
49 v3 = ioread16be(p->mapbase + TCNT); in timer16_get_counter()
94 iowrite16be(0x0000, p->mapbase + TCNT); in timer16_enable()
A Dsh_mtu2.c61 #define TCNT 5 /* channel register */ macro
152 [TCNT] = 6,
165 if ((reg_nr == TCNT) || (reg_nr == TGR)) in sh_mtu2_read()
181 if ((reg_nr == TCNT) || (reg_nr == TGR)) in sh_mtu2_write()
235 sh_mtu2_write(ch, TCNT, 0); in sh_mtu2_enable()
A Dsh_tmu.c72 #define TCNT 1 /* channel register */ macro
161 sh_tmu_write(ch, TCNT, 0xffffffff); in __sh_tmu_enable()
227 sh_tmu_write(ch, TCNT, delta); in sh_tmu_set_next()
257 return sh_tmu_read(ch, TCNT) ^ 0xffffffff; in sh_tmu_clocksource_read()

Completed in 10 milliseconds