• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/serial/

Lines Matching refs:sci_port

65 struct sci_port {
125 static struct sci_port sci_ports[SCI_NPORTS];
128 static inline struct sci_port *
131 return container_of(uart, struct sci_port, port);
470 struct sci_port *sci_port = to_sci_port(port);
496 sci_port->break_flag)
506 if (sci_port->break_flag) {
515 sci_port->break_flag = 0;
566 static void sci_schedule_break_timer(struct sci_port *port)
574 struct sci_port *port = (struct sci_port *)data;
604 struct sci_port *sci_port = to_sci_port(port);
606 if (!sci_port->break_flag) {
607 sci_port->break_flag = 1;
608 sci_schedule_break_timer(sci_port);
669 struct sci_port *s = to_sci_port(port);
698 struct sci_port *s = to_sci_port(port);
782 struct sci_port *s = to_sci_port(port);
819 struct sci_port *sci_port;
825 list_for_each_entry(sci_port, &priv->ports, node)
826 sci_port->port.uartclk = clk_get_rate(sci_port->iclk);
835 struct sci_port *sci_port = to_sci_port(port);
837 clk_enable(sci_port->iclk);
838 sci_port->port.uartclk = clk_get_rate(sci_port->iclk);
839 clk_enable(sci_port->fclk);
844 struct sci_port *sci_port = to_sci_port(port);
846 clk_disable(sci_port->fclk);
847 clk_disable(sci_port->iclk);
850 static int sci_request_irq(struct sci_port *port)
885 static void sci_free_irq(struct sci_port *port)
927 struct sci_port *s = arg;
959 static int sci_dma_rx_push(struct sci_port *s, struct tty_struct *tty,
993 struct sci_port *s = arg;
1018 static void sci_rx_dma_release(struct sci_port *s, bool enable_pio)
1033 static void sci_tx_dma_release(struct sci_port *s, bool enable_pio)
1045 static void sci_submit_rx(struct sci_port *s)
1089 struct sci_port *s = container_of(work, struct sci_port, work_rx);
1145 struct sci_port *s = container_of(work, struct sci_port, work_tx);
1202 struct sci_port *s = to_sci_port(port);
1289 struct sci_port *s = (struct sci_port *)arg;
1304 struct sci_port *s = to_sci_port(port);
1395 struct sci_port *s = to_sci_port(port);
1409 struct sci_port *s = to_sci_port(port);
1428 struct sci_port *s = to_sci_port(port);
1447 struct sci_port *s = to_sci_port(port);
1566 struct sci_port *s = to_sci_port(port);
1590 struct sci_port *s = to_sci_port(port);
1625 struct sci_port *sci_port,
1629 struct uart_port *port = &sci_port->port;
1651 sci_port->iclk = clk_get(&dev->dev, "sci_ick");
1652 if (IS_ERR(sci_port->iclk)) {
1653 sci_port->iclk = clk_get(&dev->dev, "peripheral_clk");
1654 if (IS_ERR(sci_port->iclk)) {
1656 return PTR_ERR(sci_port->iclk);
1664 sci_port->fclk = clk_get(&dev->dev, "sci_fck");
1665 if (IS_ERR(sci_port->fclk))
1666 sci_port->fclk = NULL;
1668 sci_port->enable = sci_clk_enable;
1669 sci_port->disable = sci_clk_disable;
1673 sci_port->break_timer.data = (unsigned long)sci_port;
1674 sci_port->break_timer.function = sci_break_timer;
1675 init_timer(&sci_port->break_timer);
1682 sci_port->type = port->type = p->type;
1685 sci_port->dma_dev = p->dma_dev;
1686 sci_port->slave_tx = p->dma_slave_tx;
1687 sci_port->slave_rx = p->dma_slave_rx;
1693 memcpy(&sci_port->irqs, &p->irqs, sizeof(p->irqs));
1718 struct sci_port *sci_port = to_sci_port(port);
1721 if (sci_port->enable)
1722 sci_port->enable(port);
1731 if (sci_port->disable)
1732 sci_port->disable(port);
1737 struct sci_port *sci_port;
1755 sci_port = to_sci_port(port);
1757 sci_port = &sci_ports[co->index];
1758 port = &sci_port->port;
1773 if (sci_port->enable)
1774 sci_port->enable(port);
1805 static struct sci_port early_serial_port;
1838 struct sci_port *p;
1858 struct sci_port *sciport)
1955 struct sci_port *p;
1969 struct sci_port *p;