Home
last modified time | relevance | path

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

/drivers/tty/serial/8250/
D8250_mtk.c72 struct clk *uart_clk; member
483 data->uart_clk = devm_clk_get(&pdev->dev, "baud"); in mtk8250_probe_of()
484 if (IS_ERR(data->uart_clk)) { in mtk8250_probe_of()
489 data->uart_clk = devm_clk_get(&pdev->dev, NULL); in mtk8250_probe_of()
490 if (IS_ERR(data->uart_clk)) { in mtk8250_probe_of()
492 return PTR_ERR(data->uart_clk); in mtk8250_probe_of()
569 uart.port.uartclk = clk_get_rate(data->uart_clk); in mtk8250_probe()
/drivers/tty/serial/
Dserial-tegra.c111 struct clk *uart_clk; member
399 ret = clk_set_rate(tup->uart_clk, rate); in tegra_set_baudrate()
405 tup->configured_rate = clk_get_rate(tup->uart_clk); in tegra_set_baudrate()
411 rate = clk_get_rate(tup->uart_clk); in tegra_set_baudrate()
989 clk_disable_unprepare(tup->uart_clk); in tegra_uart_hw_deinit()
1002 ret = clk_prepare_enable(tup->uart_clk); in tegra_uart_hw_init()
1054 clk_disable_unprepare(tup->uart_clk); in tegra_uart_hw_init()
1076 clk_disable_unprepare(tup->uart_clk); in tegra_uart_hw_init()
1242 clk_disable_unprepare(tup->uart_clk); in tegra_uart_startup()
1292 struct clk *parent_clk = clk_get_parent(tup->uart_clk); in tegra_uart_set_termios()
[all …]
Dclps711x.c443 struct clk *uart_clk; in uart_clps711x_probe() local
450 uart_clk = devm_clk_get(&pdev->dev, NULL); in uart_clps711x_probe()
451 if (IS_ERR(uart_clk)) in uart_clps711x_probe()
452 return PTR_ERR(uart_clk); in uart_clps711x_probe()
480 s->port.uartclk = clk_get_rate(uart_clk); in uart_clps711x_probe()
Ddigicolor-usart.c457 struct clk *uart_clk; in digicolor_uart_probe() local
472 uart_clk = devm_clk_get(&pdev->dev, NULL); in digicolor_uart_probe()
473 if (IS_ERR(uart_clk)) in digicolor_uart_probe()
474 return PTR_ERR(uart_clk); in digicolor_uart_probe()
487 dp->port.uartclk = clk_get_rate(uart_clk); in digicolor_uart_probe()