Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-debug-uart.c245 cvmx_ciu_intx0_t irq_control; in cvmx_debug_uart_change_core() local
247 irq_control.u64 = cvmx_read_csr(CVMX_CIU_INTX_EN0(newcore * 2)); in cvmx_debug_uart_change_core()
248 irq_control.s.uart |= (1u<<cvmx_debug_uart); in cvmx_debug_uart_change_core()
249 cvmx_write_csr(CVMX_CIU_INTX_EN0(newcore * 2), irq_control.u64); in cvmx_debug_uart_change_core()
252 irq_control.u64 = cvmx_read_csr(CVMX_CIU_INTX_EN0(oldcore * 2)); in cvmx_debug_uart_change_core()
253 irq_control.s.uart &= ~(1u<<cvmx_debug_uart); in cvmx_debug_uart_change_core()
254 cvmx_write_csr(CVMX_CIU_INTX_EN0(oldcore* 2), irq_control.u64); in cvmx_debug_uart_change_core()