Searched refs:clk_baud (Results 1 – 2 of 2) sorted by relevance
31 struct clk *clk_baud; member282 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()
670 struct clk *clk_baud = NULL; in meson_uart_probe_clocks() local680 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()