Home
last modified time | relevance | path

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

/drivers/tty/serial/8250/
D8250_mtk.c36 struct clk *uart_clk; member
117 clk_disable_unprepare(data->uart_clk); in mtk8250_runtime_suspend()
128 err = clk_prepare_enable(data->uart_clk); in mtk8250_runtime_resume()
158 data->uart_clk = devm_clk_get(&pdev->dev, "baud"); in mtk8250_probe_of()
159 if (IS_ERR(data->uart_clk)) { in mtk8250_probe_of()
164 data->uart_clk = devm_clk_get(&pdev->dev, NULL); in mtk8250_probe_of()
165 if (IS_ERR(data->uart_clk)) { in mtk8250_probe_of()
167 return PTR_ERR(data->uart_clk); in mtk8250_probe_of()
220 uart.port.uartclk = clk_get_rate(data->uart_clk); in mtk8250_probe()
/drivers/tty/serial/
Ddigicolor-usart.c459 struct clk *uart_clk; in digicolor_uart_probe() local
474 uart_clk = devm_clk_get(&pdev->dev, NULL); in digicolor_uart_probe()
475 if (IS_ERR(uart_clk)) in digicolor_uart_probe()
476 return PTR_ERR(uart_clk); in digicolor_uart_probe()
490 dp->port.uartclk = clk_get_rate(uart_clk); in digicolor_uart_probe()
Dclps711x.c452 struct clk *uart_clk; in uart_clps711x_probe() local
462 uart_clk = devm_clk_get(&pdev->dev, NULL); in uart_clps711x_probe()
463 if (IS_ERR(uart_clk)) in uart_clps711x_probe()
464 return PTR_ERR(uart_clk); in uart_clps711x_probe()
500 s->port.uartclk = clk_get_rate(uart_clk); in uart_clps711x_probe()
Dserial-tegra.c104 struct clk *uart_clk; member
297 ret = clk_set_rate(tup->uart_clk, rate); in tegra_set_baudrate()
305 rate = clk_get_rate(tup->uart_clk); in tegra_set_baudrate()
818 clk_disable_unprepare(tup->uart_clk); in tegra_uart_hw_deinit()
831 clk_prepare_enable(tup->uart_clk); in tegra_uart_hw_init()
1082 struct clk *parent_clk = clk_get_parent(tup->uart_clk); in tegra_uart_set_termios()
1307 tup->uart_clk = devm_clk_get(&pdev->dev, NULL); in tegra_uart_probe()
1308 if (IS_ERR(tup->uart_clk)) { in tegra_uart_probe()
1310 return PTR_ERR(tup->uart_clk); in tegra_uart_probe()