Lines Matching full:csr
85 u8 csr; in sh_wdt_start() local
95 csr = sh_wdt_read_csr(); in sh_wdt_start()
96 csr |= WTCSR_WT | clock_division_ratio; in sh_wdt_start()
97 sh_wdt_write_csr(csr); in sh_wdt_start()
109 csr = sh_wdt_read_csr(); in sh_wdt_start()
110 csr |= WTCSR_TME; in sh_wdt_start()
111 csr &= ~WTCSR_RSTS; in sh_wdt_start()
112 sh_wdt_write_csr(csr); in sh_wdt_start()
115 csr = sh_wdt_read_rstcsr(); in sh_wdt_start()
116 csr &= ~RSTCSR_RSTS; in sh_wdt_start()
117 sh_wdt_write_rstcsr(csr); in sh_wdt_start()
128 u8 csr; in sh_wdt_stop() local
134 csr = sh_wdt_read_csr(); in sh_wdt_stop()
135 csr &= ~WTCSR_TME; in sh_wdt_stop()
136 sh_wdt_write_csr(csr); in sh_wdt_stop()
181 u8 csr; in sh_wdt_ping() local
183 csr = sh_wdt_read_csr(); in sh_wdt_ping()
184 csr &= ~WTCSR_IOVF; in sh_wdt_ping()
185 sh_wdt_write_csr(csr); in sh_wdt_ping()