Lines Matching refs:sci
1145 struct sci_port *sci = to_sci_port(port); in rx_fifo_trigger_show() local
1147 return sprintf(buf, "%d\n", sci->rx_trigger); in rx_fifo_trigger_show()
1155 struct sci_port *sci = to_sci_port(port); in rx_fifo_trigger_store() local
1163 sci->rx_trigger = sci->ops->set_rtrg(port, r); in rx_fifo_trigger_store()
1164 if (sci->type == PORT_SCIFA || sci->type == PORT_SCIFB) in rx_fifo_trigger_store()
1165 sci->ops->set_rtrg(port, 1); in rx_fifo_trigger_store()
1177 struct sci_port *sci = to_sci_port(port); in rx_fifo_timeout_show() local
1180 if (sci->type == PORT_HSCIF) in rx_fifo_timeout_show()
1181 v = sci->hscif_tot >> HSSCR_TOT_SHIFT; in rx_fifo_timeout_show()
1183 v = sci->rx_fifo_timeout; in rx_fifo_timeout_show()
1194 struct sci_port *sci = to_sci_port(port); in rx_fifo_timeout_store() local
1202 if (sci->type == PORT_HSCIF) { in rx_fifo_timeout_store()
1205 sci->hscif_tot = r << HSSCR_TOT_SHIFT; in rx_fifo_timeout_store()
1207 sci->rx_fifo_timeout = r; in rx_fifo_timeout_store()
1208 sci->ops->set_rtrg(port, 1); in rx_fifo_timeout_store()
1210 timer_setup(&sci->rx_fifo_timer, rx_fifo_timer_fn, 0); in rx_fifo_timeout_store()
3918 OF_EARLYCON_DECLARE(sci, "renesas,sci", sci_early_console_setup);