Lines Matching refs:csr
76 uint32_t csr, psr, sircdiv; /* LPTMR registers */ in sys_clock_driver_init() local
91 csr = SYSTEM_TIMER_INSTANCE->CSR; in sys_clock_driver_init()
92 csr &= ~LPTMR_CSR_TEN(0); in sys_clock_driver_init()
93 csr |= LPTMR_CSR_TFC(1); in sys_clock_driver_init()
94 SYSTEM_TIMER_INSTANCE->CSR = csr; in sys_clock_driver_init()
113 csr &= ~(LPTMR_CSR_TMS(1) | LPTMR_CSR_TFC(1) | LPTMR_CSR_TDRE(1)); in sys_clock_driver_init()
117 csr |= LPTMR_CSR_TIE(1); in sys_clock_driver_init()
118 SYSTEM_TIMER_INSTANCE->CSR = csr; in sys_clock_driver_init()
145 csr = SYSTEM_TIMER_INSTANCE->CSR; in sys_clock_driver_init()
146 csr |= LPTMR_CSR_TEN(1); in sys_clock_driver_init()
147 SYSTEM_TIMER_INSTANCE->CSR = csr; in sys_clock_driver_init()