Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/tty/serial/8250/
D8250_ingenic.c31 struct clk *clk_baud; member
282 data->clk_baud = devm_clk_get(&pdev->dev, "baud"); in ingenic_uart_probe()
283 if (IS_ERR(data->clk_baud)) in ingenic_uart_probe()
284 return dev_err_probe(&pdev->dev, PTR_ERR(data->clk_baud), in ingenic_uart_probe()
293 err = clk_prepare_enable(data->clk_baud); in ingenic_uart_probe()
298 uart.port.uartclk = clk_get_rate(data->clk_baud); in ingenic_uart_probe()
310 clk_disable_unprepare(data->clk_baud); in ingenic_uart_probe()
323 clk_disable_unprepare(data->clk_baud); in ingenic_uart_remove()
/linux-6.12.1/drivers/tty/serial/
Dmeson_uart.c670 struct clk *clk_baud = NULL; in meson_uart_probe_clocks() local
680 clk_baud = devm_clk_get_enabled(&pdev->dev, "baud"); in meson_uart_probe_clocks()
681 if (IS_ERR(clk_baud)) in meson_uart_probe_clocks()
682 return PTR_ERR(clk_baud); in meson_uart_probe_clocks()
684 port->uartclk = clk_get_rate(clk_baud); in meson_uart_probe_clocks()