Lines Matching defs:uartclk
311 div_std = DIV_ROUND_CLOSEST(port->uartclk, 2 * 16 * baud);
313 bestbaud = DIV_ROUND_CLOSEST(port->uartclk, 2 * 16 * div_std);
327 tmp_baud = DIV_ROUND_CLOSEST(port->uartclk, div_std);
885 int i, ret, uartclk;
921 uartclk = 0;
933 uartclk = clk_get_rate(clk);
936 if (!uartclk) {
938 uartclk = s->chip->freq_std;
942 if ((uartclk < s->chip->freq_min) || (uartclk > s->chip->freq_max)) {
997 s->port[i].uartclk = uartclk;