sci_port 166 drivers/tty/serial/sh-sci.c static struct sci_port sci_ports[SCI_NPORTS]; sci_port 170 drivers/tty/serial/sh-sci.c static inline struct sci_port * sci_port 173 drivers/tty/serial/sh-sci.c return container_of(uart, struct sci_port, port); sci_port 532 drivers/tty/serial/sh-sci.c static void sci_port_enable(struct sci_port *sci_port) sci_port 536 drivers/tty/serial/sh-sci.c if (!sci_port->port.dev) sci_port 539 drivers/tty/serial/sh-sci.c pm_runtime_get_sync(sci_port->port.dev); sci_port 542 drivers/tty/serial/sh-sci.c clk_prepare_enable(sci_port->clks[i]); sci_port 543 drivers/tty/serial/sh-sci.c sci_port->clk_rates[i] = clk_get_rate(sci_port->clks[i]); sci_port 545 drivers/tty/serial/sh-sci.c sci_port->port.uartclk = sci_port->clk_rates[SCI_FCK]; sci_port 548 drivers/tty/serial/sh-sci.c static void sci_port_disable(struct sci_port *sci_port) sci_port 552 drivers/tty/serial/sh-sci.c if (!sci_port->port.dev) sci_port 556 drivers/tty/serial/sh-sci.c clk_disable_unprepare(sci_port->clks[i]); sci_port 558 drivers/tty/serial/sh-sci.c pm_runtime_put_sync(sci_port->port.dev); sci_port 575 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 707 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 757 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 779 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 930 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 972 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 1095 drivers/tty/serial/sh-sci.c struct sci_port *s = from_timer(s, t, rx_fifo_timer); sci_port 1106 drivers/tty/serial/sh-sci.c struct sci_port *sci = to_sci_port(port); sci_port 1116 drivers/tty/serial/sh-sci.c struct sci_port *sci = to_sci_port(port); sci_port 1138 drivers/tty/serial/sh-sci.c struct sci_port *sci = to_sci_port(port); sci_port 1155 drivers/tty/serial/sh-sci.c struct sci_port *sci = to_sci_port(port); sci_port 1183 drivers/tty/serial/sh-sci.c struct sci_port *s = arg; sci_port 1215 drivers/tty/serial/sh-sci.c static int sci_dma_rx_push(struct sci_port *s, void *buf, size_t count) sci_port 1230 drivers/tty/serial/sh-sci.c static int sci_dma_rx_find_active(struct sci_port *s) sci_port 1241 drivers/tty/serial/sh-sci.c static void sci_dma_rx_chan_invalidate(struct sci_port *s) sci_port 1251 drivers/tty/serial/sh-sci.c static void sci_dma_rx_release(struct sci_port *s) sci_port 1272 drivers/tty/serial/sh-sci.c static void sci_dma_rx_reenable_irq(struct sci_port *s) sci_port 1288 drivers/tty/serial/sh-sci.c struct sci_port *s = arg; sci_port 1341 drivers/tty/serial/sh-sci.c static void sci_dma_tx_release(struct sci_port *s) sci_port 1354 drivers/tty/serial/sh-sci.c static int sci_dma_rx_submit(struct sci_port *s, bool port_lock_held) sci_port 1399 drivers/tty/serial/sh-sci.c struct sci_port *s = container_of(work, struct sci_port, work_tx); sci_port 1466 drivers/tty/serial/sh-sci.c struct sci_port *s = container_of(t, struct sci_port, rx_timer); sci_port 1568 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 1654 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 1664 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 1692 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 1766 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 1807 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 1895 drivers/tty/serial/sh-sci.c static int sci_request_irq(struct sci_port *port) sci_port 1954 drivers/tty/serial/sh-sci.c static void sci_free_irq(struct sci_port *port) sci_port 2051 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 2096 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 2158 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 2176 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 2211 drivers/tty/serial/sh-sci.c static int sci_sck_calc(struct sci_port *s, unsigned int bps, sci_port 2238 drivers/tty/serial/sh-sci.c static int sci_brg_calc(struct sci_port *s, unsigned int bps, sci_port 2270 drivers/tty/serial/sh-sci.c static int sci_scbrr_calc(struct sci_port *s, unsigned int bps, sci_port 2341 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 2378 drivers/tty/serial/sh-sci.c struct sci_port *s = to_sci_port(port); sci_port 2646 drivers/tty/serial/sh-sci.c struct sci_port *sci_port = to_sci_port(port); sci_port 2650 drivers/tty/serial/sh-sci.c sci_port_disable(sci_port); sci_port 2653 drivers/tty/serial/sh-sci.c sci_port_enable(sci_port); sci_port 2680 drivers/tty/serial/sh-sci.c struct sci_port *sport = to_sci_port(port); sci_port 2708 drivers/tty/serial/sh-sci.c struct sci_port *sport = to_sci_port(port); sci_port 2721 drivers/tty/serial/sh-sci.c struct sci_port *sport = to_sci_port(port); sci_port 2743 drivers/tty/serial/sh-sci.c struct sci_port *sport = to_sci_port(port); sci_port 2784 drivers/tty/serial/sh-sci.c static int sci_init_clocks(struct sci_port *sci_port, struct device *dev) sci_port 2795 drivers/tty/serial/sh-sci.c if (sci_port->cfg->type == PORT_HSCIF) sci_port 2836 drivers/tty/serial/sh-sci.c sci_port->clks[i] = IS_ERR(clk) ? NULL : clk; sci_port 2883 drivers/tty/serial/sh-sci.c struct sci_port *sci_port, unsigned int index, sci_port 2886 drivers/tty/serial/sh-sci.c struct uart_port *port = &sci_port->port; sci_port 2891 drivers/tty/serial/sh-sci.c sci_port->cfg = p; sci_port 2902 drivers/tty/serial/sh-sci.c sci_port->reg_size = resource_size(res); sci_port 2904 drivers/tty/serial/sh-sci.c for (i = 0; i < ARRAY_SIZE(sci_port->irqs); ++i) { sci_port 2906 drivers/tty/serial/sh-sci.c sci_port->irqs[i] = platform_get_irq_optional(dev, i); sci_port 2908 drivers/tty/serial/sh-sci.c sci_port->irqs[i] = platform_get_irq(dev, i); sci_port 2918 drivers/tty/serial/sh-sci.c if (sci_port->irqs[0] < 0) sci_port 2921 drivers/tty/serial/sh-sci.c if (sci_port->irqs[1] < 0) sci_port 2922 drivers/tty/serial/sh-sci.c for (i = 1; i < ARRAY_SIZE(sci_port->irqs); i++) sci_port 2923 drivers/tty/serial/sh-sci.c sci_port->irqs[i] = sci_port->irqs[0]; sci_port 2925 drivers/tty/serial/sh-sci.c sci_port->params = sci_probe_regmap(p); sci_port 2926 drivers/tty/serial/sh-sci.c if (unlikely(sci_port->params == NULL)) sci_port 2931 drivers/tty/serial/sh-sci.c sci_port->rx_trigger = 48; sci_port 2934 drivers/tty/serial/sh-sci.c sci_port->rx_trigger = 64; sci_port 2937 drivers/tty/serial/sh-sci.c sci_port->rx_trigger = 32; sci_port 2942 drivers/tty/serial/sh-sci.c sci_port->rx_trigger = 1; sci_port 2944 drivers/tty/serial/sh-sci.c sci_port->rx_trigger = 8; sci_port 2947 drivers/tty/serial/sh-sci.c sci_port->rx_trigger = 1; sci_port 2951 drivers/tty/serial/sh-sci.c sci_port->rx_fifo_timeout = 0; sci_port 2952 drivers/tty/serial/sh-sci.c sci_port->hscif_tot = 0; sci_port 2958 drivers/tty/serial/sh-sci.c sci_port->sampling_rate_mask = p->sampling_rate sci_port 2960 drivers/tty/serial/sh-sci.c : sci_port->params->sampling_rate_mask; sci_port 2963 drivers/tty/serial/sh-sci.c ret = sci_init_clocks(sci_port, &dev->dev); sci_port 2974 drivers/tty/serial/sh-sci.c port->fifosize = sci_port->params->fifosize; sci_port 2977 drivers/tty/serial/sh-sci.c if (sci_port->reg_size >= 0x20) sci_port 2990 drivers/tty/serial/sh-sci.c port->irq = sci_port->irqs[SCIx_RXI_IRQ]; sci_port 2999 drivers/tty/serial/sh-sci.c static void sci_cleanup_single(struct sci_port *port) sci_port 3018 drivers/tty/serial/sh-sci.c struct sci_port *sci_port = &sci_ports[co->index]; sci_port 3019 drivers/tty/serial/sh-sci.c struct uart_port *port = &sci_port->port; sci_port 3037 drivers/tty/serial/sh-sci.c (sci_port->cfg->scscr & ~(SCSCR_CKE1 | SCSCR_CKE0)) | sci_port 3039 drivers/tty/serial/sh-sci.c serial_port_out(port, SCSCR, ctrl_temp | sci_port->hscif_tot); sci_port 3057 drivers/tty/serial/sh-sci.c struct sci_port *sci_port; sci_port 3071 drivers/tty/serial/sh-sci.c sci_port = &sci_ports[co->index]; sci_port 3072 drivers/tty/serial/sh-sci.c port = &sci_port->port; sci_port 3156 drivers/tty/serial/sh-sci.c struct sci_port *port = platform_get_drvdata(dev); sci_port 3225 drivers/tty/serial/sh-sci.c struct sci_port *sp; sci_port 3265 drivers/tty/serial/sh-sci.c struct sci_port *sciport) sci_port 3319 drivers/tty/serial/sh-sci.c struct sci_port *sp; sci_port 3379 drivers/tty/serial/sh-sci.c struct sci_port *sport = dev_get_drvdata(dev); sci_port 3389 drivers/tty/serial/sh-sci.c struct sci_port *sport = dev_get_drvdata(dev);