1 // SPDX-License-Identifier: GPL-2.0+
6 * (C) Copyright 2007-2012
15 #include <asm/processor.h>
17 #include <linux/bitops.h>
19 #if defined(CONFIG_CPU_SH4) || defined(CONFIG_ARCH_RMOBILE)
22 #endif /* CONFIG_CPU_SH4 */
25 #define TSTR_STR0 BIT(0)
29 writew(readw(TMU_BASE + TCR0) & ~TCR_TPSC, TMU_BASE + TCR0);
30 writeb(readb(TMU_BASE + TSTR) & ~TSTR_STR0, TMU_BASE + TSTR);
31 writeb(readb(TMU_BASE + TSTR) | TSTR_STR0, TMU_BASE + TSTR);