Lines Matching refs:serial_port_in
578 u16 new, scr = serial_port_in(port, SCSCR); in sci_start_tx()
596 ctrl = serial_port_in(port, SCSCR); in sci_start_tx()
606 ctrl = serial_port_in(port, SCSCR); in sci_stop_tx()
628 ctrl = serial_port_in(port, SCSCR) | port_rx_irq_mask(port); in sci_start_rx()
640 ctrl = serial_port_in(port, SCSCR); in sci_stop_rx()
659 serial_port_in(port, SCxSR) & mask); in sci_clear_SCxSR()
676 status = serial_port_in(port, SCxSR); in sci_poll_get_char()
687 c = serial_port_in(port, SCxRDR); in sci_poll_get_char()
690 serial_port_in(port, SCxSR); in sci_poll_get_char()
702 status = serial_port_in(port, SCxSR); in sci_poll_put_char()
724 u16 data = serial_port_in(port, SCPDR); in sci_init_pins()
725 u16 ctrl = serial_port_in(port, SCPCR); in sci_init_pins()
747 u16 status = serial_port_in(port, SCSPTR); in sci_init_pins()
769 return serial_port_in(port, SCTFDR) & fifo_mask; in sci_txfill()
773 return serial_port_in(port, SCFDR) >> 8; in sci_txfill()
775 return !(serial_port_in(port, SCxSR) & SCI_TDRE); in sci_txfill()
791 return serial_port_in(port, SCRFDR) & fifo_mask; in sci_rxfill()
795 return serial_port_in(port, SCFDR) & fifo_mask; in sci_rxfill()
797 return (serial_port_in(port, SCxSR) & SCxSR_RDxF(port)) != 0; in sci_rxfill()
812 status = serial_port_in(port, SCxSR); in sci_transmit_chars()
814 ctrl = serial_port_in(port, SCSCR); in sci_transmit_chars()
859 status = serial_port_in(port, SCxSR); in sci_receive_chars()
872 char c = serial_port_in(port, SCxRDR); in sci_receive_chars()
883 status = serial_port_in(port, SCxSR); in sci_receive_chars()
884 c = serial_port_in(port, SCxRDR); in sci_receive_chars()
886 c = serial_port_in(port, SCxRDR); in sci_receive_chars()
887 status = serial_port_in(port, SCxSR); in sci_receive_chars()
910 serial_port_in(port, SCxSR); /* dummy read */ in sci_receive_chars()
922 serial_port_in(port, SCxRDR); in sci_receive_chars()
923 serial_port_in(port, SCxSR); /* dummy read */ in sci_receive_chars()
931 unsigned short status = serial_port_in(port, SCxSR); in sci_handle_errors()
984 status = serial_port_in(port, s->params->overrun_reg); in sci_handle_fifo_overrun()
1004 unsigned short status = serial_port_in(port, SCxSR); in sci_handle_breaks()
1081 (serial_port_in(port, SCFCR) & in scif_set_rtrg()
1090 return serial_port_in(port, HSRTRGR) != 0; in scif_rtrg_enabled()
1092 return (serial_port_in(port, SCFCR) & in scif_rtrg_enabled()
1209 u16 ctrl = serial_port_in(port, SCSCR); in sci_dma_tx_complete()
1281 scr = serial_port_in(port, SCSCR); in sci_dma_rx_reenable_irq()
1699 u16 scr = serial_port_in(port, SCSCR); in sci_rx_interrupt()
1700 u16 ssr = serial_port_in(port, SCxSR); in sci_rx_interrupt()
1763 serial_port_in(port, SCxRDR); in sci_br_interrupt()
1777 unsigned short ssr_status = serial_port_in(port, SCxSR); in sci_er_interrupt()
1792 serial_port_in(port, SCxSR); in sci_er_interrupt()
1817 ssr_status = serial_port_in(port, SCxSR); in sci_mpxed_interrupt()
1818 scr_status = serial_port_in(port, SCSCR); in sci_mpxed_interrupt()
1822 orer_status = serial_port_in(port, s->params->overrun_reg); in sci_mpxed_interrupt()
1999 unsigned short status = serial_port_in(port, SCxSR); in sci_tx_empty()
2008 u16 data = serial_port_in(port, SCPDR); in sci_set_rts()
2019 serial_port_in(port, SCPCR) | SCPCR_RTSC); in sci_set_rts()
2021 u16 ctrl = serial_port_in(port, SCSPTR); in sci_set_rts()
2036 return !(serial_port_in(port, SCPDR) & SCPDR_CTSD); in sci_get_cts()
2039 return !(serial_port_in(port, SCSPTR) & SCSPTR_CTSDT); in sci_get_cts()
2070 serial_port_in(port, SCFCR) | in sci_set_mctrl()
2082 serial_port_in(port, SCFCR) & ~SCFCR_MCE); in sci_set_mctrl()
2090 serial_port_in(port, SCPCR) & ~SCPCR_RTSC); in sci_set_mctrl()
2095 serial_port_in(port, SCFCR) | SCFCR_MCE); in sci_set_mctrl()
2148 scsptr = serial_port_in(port, SCSPTR); in sci_break_ctl()
2149 scscr = serial_port_in(port, SCSCR); in sci_break_ctl()
2200 scr = serial_port_in(port, SCSCR); in sci_shutdown()
2361 status = serial_port_in(port, SCLSR); in sci_reset()
2558 smr_val |= serial_port_in(port, SCSMR) & in sci_set_termios()
2570 unsigned short ctrl = serial_port_in(port, SCFCR); in sci_set_termios()
3015 ctrl = serial_port_in(port, SCSCR); in serial_console_write()
3025 while ((serial_port_in(port, SCxSR) & bits) != bits) in serial_console_write()