Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/serial/
H A Dserial_sifive.c37 int saved_input_char; member
136 platdata->saved_input_char = 0; in sifive_serial_probe()
148 if (platdata->saved_input_char > 0) { in sifive_serial_getc()
149 c = platdata->saved_input_char; in sifive_serial_getc()
150 platdata->saved_input_char = 0; in sifive_serial_getc()
175 if (platdata->saved_input_char > 0) in sifive_serial_pending()
177 platdata->saved_input_char = _sifive_serial_getc(regs); in sifive_serial_pending()
178 return (platdata->saved_input_char > 0) ? 1 : 0; in sifive_serial_pending()