Home
last modified time | relevance | path

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

/external/u-boot/drivers/serial/
Dserial_sh.c28 return sci_in(port, SCRFDR) & 0xff; in scif_rxfill()
36 return sci_in(port, SCRFDR) & 0xff; in scif_rxfill()
39 return sci_in(port, SCFDR) & SCIF2_RFDC_MASK; in scif_rxfill()
46 return sci_in(port, SCFDR) & SCIF_RFDC_MASK; in scif_rxfill()
48 return sci_in(port, SCRFDR); in scif_rxfill()
53 return sci_in(port, SCFDR) & SCIF_RFDC_MASK; in scif_rxfill()
64 sci_in(port, SCFCR); in sh_serial_init_generic()
83 sci_in(port, SCxSR); in handle_error()
85 sci_in(port, SCLSR); in handle_error()
92 if (!(sci_in(port, SCxSR) & SCxSR_TEND(port))) in serial_raw_putc()
[all …]
Dserial_sh.h352 # define SCxSR_RDxF_CLEAR(port) (sci_in(port, SCxSR) & 0xfffc)
353 # define SCxSR_ERROR_CLEAR(port) (sci_in(port, SCxSR) & 0xfd73)
354 # define SCxSR_TDxE_CLEAR(port) (sci_in(port, SCxSR) & 0xffdf)
355 # define SCxSR_BREAK_CLEAR(port) (sci_in(port, SCxSR) & 0xffe3)
624 #define sci_in(port, reg) sci_##reg##_in(port) macro