Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/sh/lib/
H A Dtime.c18 #define TSTR 0x2 macro
23 #define TSTR 0x4 macro
33 writeb(readb(TMU_BASE + TSTR) & ~TSTR_STR0, TMU_BASE + TSTR); in timer_init()
34 writeb(readb(TMU_BASE + TSTR) | TSTR_STR0, TMU_BASE + TSTR); in timer_init()
/openbmc/linux/drivers/clocksource/
H A Dsh_mtu2.c55 #define TSTR -1 /* shared register */ macro
160 if (reg_nr == TSTR) in sh_mtu2_read()
176 if (reg_nr == TSTR) in sh_mtu2_write()
193 value = sh_mtu2_read(ch, TSTR); in sh_mtu2_start_stop_ch()
200 sh_mtu2_write(ch, TSTR, value); in sh_mtu2_start_stop_ch()
H A Dsh_tmu.c70 #define TSTR -1 /* shared register */ macro
88 if (reg_nr == TSTR) { in sh_tmu_read()
110 if (reg_nr == TSTR) { in sh_tmu_write()
133 value = sh_tmu_read(ch, TSTR); in sh_tmu_start_stop_ch()
140 sh_tmu_write(ch, TSTR, value); in sh_tmu_start_stop_ch()