Lines Matching refs:writel_relaxed
28 writel_relaxed(XMIT_FIFO_RESET | RCVR_FIFO_RESET | UART_RESET, in rkpm_uart_debug_init()
32 writel_relaxed(DIAGNOSTIC_MODE, base + UARTMCR); in rkpm_uart_debug_init()
33 writel_relaxed(0x83, base + UARTLCR); in rkpm_uart_debug_init()
34 writel_relaxed(uart_dll, base + UARTDLL); in rkpm_uart_debug_init()
35 writel_relaxed(uart_dlh, base + UARTDLLM); in rkpm_uart_debug_init()
36 writel_relaxed(0x03, base + UARTLCR); in rkpm_uart_debug_init()
37 writel_relaxed(0x01, base + UARTIER); in rkpm_uart_debug_init()
38 writel_relaxed(UARTFCR_FIFOEN, base + UARTFCR); in rkpm_uart_debug_init()
39 writel_relaxed(0, base + UARTMCR); in rkpm_uart_debug_init()
58 writel_relaxed(ctx->uart_lcr | UARTLCR_DLAB, base + UARTLCR); in rkpm_uart_debug_save()
61 writel_relaxed(ctx->uart_lcr, base + UARTLCR); in rkpm_uart_debug_save()
74 writel_relaxed(XMIT_FIFO_RESET | RCVR_FIFO_RESET | UART_RESET, in rkpm_uart_debug_restore()
78 writel_relaxed(DIAGNOSTIC_MODE, base + UARTMCR); in rkpm_uart_debug_restore()
79 writel_relaxed(uart_lcr | UARTLCR_DLAB, base + UARTLCR); in rkpm_uart_debug_restore()
80 writel_relaxed(ctx->uart_dll, base + UARTDLL); in rkpm_uart_debug_restore()
81 writel_relaxed(ctx->uart_dlh, base + UARTDLLM); in rkpm_uart_debug_restore()
82 writel_relaxed(ctx->uart_lcr, base + UARTLCR); in rkpm_uart_debug_restore()
83 writel_relaxed(ctx->uart_ier, base + UARTIER); in rkpm_uart_debug_restore()
84 writel_relaxed(UARTFCR_FIFOEN, base + UARTFCR); in rkpm_uart_debug_restore()
85 writel_relaxed(ctx->uart_mcr, base + UARTMCR); in rkpm_uart_debug_restore()