Lines Matching refs:c
64 char c = transfer_buf[0]; in uart_irq_handler() local
65 cbuf_write_char(&uart_rx_buf, c, false); in uart_irq_handler()
93 void uart_putc(char c) { in uart_putc() argument
94 write_reg(REG_PUT_CHAR, c); in uart_putc()
97 int uart_getc(char *c, bool wait) { in uart_getc() argument
99 return cbuf_read_char(&uart_rx_buf, c, wait); in uart_getc()
101 return platform_pgetc(c, false); in uart_getc()
105 void platform_dputc(char c) { in platform_dputc() argument
106 if (c == '\n') in platform_dputc()
108 uart_putc(c); in platform_dputc()
111 int platform_dgetc(char *c, bool wait) { in platform_dgetc() argument
112 int ret = uart_getc(c, wait); in platform_dgetc()
118 void platform_pputc(char c) { in platform_pputc() argument
119 return uart_putc(c); in platform_pputc()
122 int platform_pgetc(char *c, bool wait) { in platform_pgetc() argument
126 *c = transfer_buf[0]; in platform_pgetc()