Searched refs:clk_uart (Results 1 – 2 of 2) sorted by relevance
30 struct clk *clk_uart; member118 data->clk_uart = devm_clk_get(&pdev->dev, "uartclk"); in lpc18xx_serial_probe()119 if (IS_ERR(data->clk_uart)) { in lpc18xx_serial_probe()121 return PTR_ERR(data->clk_uart); in lpc18xx_serial_probe()136 ret = clk_prepare_enable(data->clk_uart); in lpc18xx_serial_probe()157 uart.port.uartclk = clk_get_rate(data->clk_uart); in lpc18xx_serial_probe()179 clk_disable_unprepare(data->clk_uart); in lpc18xx_serial_probe()190 clk_disable_unprepare(data->clk_uart); in lpc18xx_serial_remove()
1134 struct clk *clk_uart, *clk_parent; in sprd_clk_init() local1137 clk_uart = devm_clk_get(uport->dev, "uart"); in sprd_clk_init()1138 if (IS_ERR(clk_uart)) { in sprd_clk_init()1141 clk_uart = NULL; in sprd_clk_init()1151 if (!clk_uart || clk_set_parent(clk_uart, clk_parent)) in sprd_clk_init()1154 uport->uartclk = clk_get_rate(clk_uart); in sprd_clk_init()