Lines Matching +full:write +full:- +full:1
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
9 #include <asm/asm-offsets.h>
17 #if CONFIG_MIPS_CPS_NS16550_WIDTH == 1
32 * _mips_cps_putc() - write a character to the UART
33 * @a0: ASCII character to write
37 1: UART_L t0, UART_LSR_OFS(t9)
39 beqz t0, 1b
45 * _mips_cps_puts() - write a string to the UART
46 * @a0: pointer to NULL-terminated ASCII string
49 * Write a null-terminated ASCII string to the UART.
55 1: lb a0, 0(s6)
58 PTR_ADDIU s6, s6, 1
59 b 1b
65 * _mips_cps_putx4 - write a 4b hex value to the UART
66 * @a0: the 4b value to write to the UART
69 * Write a single hexadecimal character to the UART.
74 blt a0, 10, 1f
76 addiu a0, a0, -10
77 1: addu a0, a0, t0
82 * _mips_cps_putx8 - write an 8b hex value to the UART
83 * @a0: the 8b value to write to the UART
86 * Write an 8 bit value (ie. 2 hexadecimal characters) to the UART.
99 * _mips_cps_putx16 - write a 16b hex value to the UART
100 * @a0: the 16b value to write to the UART
103 * Write a 16 bit value (ie. 4 hexadecimal characters) to the UART.
116 * _mips_cps_putx32 - write a 32b hex value to the UART
117 * @a0: the 32b value to write to the UART
120 * Write a 32 bit value (ie. 8 hexadecimal characters) to the UART.
135 * _mips_cps_putx64 - write a 64b hex value to the UART
136 * @a0: the 64b value to write to the UART
139 * Write a 64 bit value (ie. 16 hexadecimal characters) to the UART.
160 * mips_cps_bev_dump() - dump relevant exception state to UART
161 * @a0: pointer to NULL-terminated ASCII string naming the exception
163 * Write information that may be useful in debugging an exception to the