Home
last modified time | relevance | path

Searched refs:sci_port (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/tty/serial/
H A Dsh-sci.c117 struct sci_port { struct
164 static struct sci_port sci_ports[SCI_NPORTS]; argument
169 static inline struct sci_port *
172 return container_of(uart, struct sci_port, port); in to_sci_port()
532 static void sci_port_enable(struct sci_port *sci_port) in sci_port_enable() argument
536 if (!sci_port->port.dev) in sci_port_enable()
539 pm_runtime_get_sync(sci_port->port.dev); in sci_port_enable()
542 clk_prepare_enable(sci_port->clks[i]); in sci_port_enable()
543 sci_port->clk_rates[i] = clk_get_rate(sci_port->clks[i]); in sci_port_enable()
545 sci_port->port.uartclk = sci_port->clk_rates[SCI_FCK]; in sci_port_enable()
[all …]