Lines Matching defs:sci
9 * based off of the old drivers/char/sh-sci.c by:
62 #include "sh-sci-common.h"
1335 struct sci_port *sci = to_sci_port(port);
1337 return sprintf(buf, "%d\n", sci->rx_trigger);
1345 struct sci_port *sci = to_sci_port(port);
1353 sci->rx_trigger = sci->ops->set_rtrg(port, r);
1354 if (sci->type == PORT_SCIFA || sci->type == PORT_SCIFB)
1355 sci->ops->set_rtrg(port, 1);
1367 struct sci_port *sci = to_sci_port(port);
1370 if (sci->type == PORT_HSCIF)
1371 v = sci->hscif_tot >> HSSCR_TOT_SHIFT;
1373 v = sci->rx_fifo_timeout;
1384 struct sci_port *sci = to_sci_port(port);
1392 if (sci->type == PORT_HSCIF) {
1395 sci->hscif_tot = r << HSSCR_TOT_SHIFT;
1397 sci->rx_fifo_timeout = r;
1398 sci->ops->set_rtrg(port, 1);
1400 timer_setup(&sci->rx_fifo_timer, rx_fifo_timer_fn, 0);
2958 return "sci";
3558 .driver_name = "sci",
3714 .compatible = "renesas,sci",
4004 .name = "sh-sci",
4120 OF_EARLYCON_DECLARE(sci, "renesas,sci", sci_early_console_setup);
4134 MODULE_ALIAS("platform:sh-sci");