Searched refs:timx (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/mips/cavium-octeon/
H A Doct_ilm.c118 union cvmx_ciu_timx timx; start_timer() local
121 timx.u64 = 0; start_timer()
122 timx.s.one_shot = 1; start_timer()
123 timx.s.len = interval; start_timer()
126 cvmx_write_csr(CVMX_CIU_TIMX(timer), timx.u64); start_timer()
128 timx.u64 = cvmx_read_csr(CVMX_CIU_TIMX(timer)); start_timer()
158 union cvmx_ciu_timx timx; disable_timer() local
160 timx.s.one_shot = 0; disable_timer()
161 timx.s.len = 0; disable_timer()
162 cvmx_write_csr(CVMX_CIU_TIMX(timer), timx.u64); disable_timer()
164 timx.u64 = cvmx_read_csr(CVMX_CIU_TIMX(timer)); disable_timer()

Completed in 42 milliseconds