Searched refs:uartclk (Results 76 - 100 of 140) sorted by relevance

123456

/linux-master/drivers/tty/serial/
H A Ddigicolor-usart.c300 port->uartclk / (0x10000*16),
301 port->uartclk / 256);
485 dp->port.uartclk = clk_get_rate(uart_clk);
H A Dmilbeaut_usio.c335 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk);
337 quot = port->uartclk / baud - 1;
534 port->uartclk = clk_get_rate(clk);
H A Dsunplus-uart.c339 u32 clk = port->uartclk;
342 baud = uart_get_baud_rate(port, termios, oldtermios, 0, port->uartclk / 16);
344 /* baud rate = uartclk / ((16 * divisor + 1) + divisor_ext) */
629 port->uartclk = clk_get_rate(sup->clk);
H A Dtimbuart.c281 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16);
423 uart->port.uartclk = 3250000 * 16;
H A Dsunhv.c349 (port->uartclk / (16 * quot)));
558 port->uartclk = ( 29491200 / 16 ); /* arbitrary */
H A Dsa1100.c421 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16);
553 if (sport->port.uartclk / 16 != ser->baud_base)
607 sa1100_ports[i].port.uartclk = 3686400;
743 *baud = sport->port.uartclk / (16 * (quot + 1));
H A Dmeson_uart.c318 if (port->uartclk == 24000000) {
325 val |= DIV_ROUND_CLOSEST(port->uartclk / xtal_div, baud) - 1;
328 val = DIV_ROUND_CLOSEST(port->uartclk / 4, baud) - 1;
684 port->uartclk = clk_get_rate(clk_baud);
H A Dserial_port.c198 device_property_read_u32(dev, "clock-frequency", &port->uartclk);
H A Dfsl_lpuart.c2055 baud = uart_get_baud_rate(port, termios, old, 50, port->uartclk / 16);
2099 sbr = sport->port.uartclk / (16 * baud);
2100 brfa = ((sport->port.uartclk - (16 * sbr * baud)) * 2) / baud;
2130 u32 clk = port->uartclk;
2290 baud = uart_get_baud_rate(port, termios, old, 50, port->uartclk / 4);
2395 if (port->uartclk / 16 != ser->baud_base)
2538 unsigned int sbr, uartclk, baud_raw; local
2571 uartclk = lpuart_get_baud_clk_rate(sport);
2575 baud_raw = uartclk / (16 * (sbr + brfa / 32));
2587 unsigned int sbr, uartclk, baud_ra local
[all...]
H A Dvt8500_serial.c290 baud = port->uartclk / 16 / ((div & 0x3ff) + 1);
679 vt8500_port->uart.uartclk = 16 * clk_get_rate(vt8500_port->clk) /
H A Dowl-uart.c701 owl_port->port.uartclk = clk_get_rate(owl_port->clk);
702 if (owl_port->port.uartclk == 0) {
/linux-master/drivers/tty/serial/8250/
H A D8250_dw.c307 * We have no choice but to defer the uartclk update due to two
355 p->uartclk = rate;
577 p->uartclk = clk_get_rate(data->clk);
580 if (!p->uartclk)
H A D8250_exar.c494 quot_16 = DIV_ROUND_CLOSEST(p->uartclk, baud);
598 port->port.uartclk = baud * 16;
890 port->port.uartclk = priv->osc_freq;
1160 port->port.uartclk = baud * 16;
1404 port->port.uartclk = baud * 16;
1416 port->port.uartclk /= 2;
H A D8250_fintek.c319 if (port->uartclk == baudrate_table[i] * 16)
325 port->uartclk = baudrate_table[i] * 16;
H A D8250_mid.c233 p->uartclk = fuart * 16 / ps; /* core uses ps = 16 always */
311 uart.port.uartclk = mid->board->base_baud * 16;
H A D8250_lpss.c92 * uartclk = (m / n) * 100 MHz, where m <= n
95 p->uartclk = fuart;
341 uart.port.uartclk = lpss->board->base_baud * 16;
H A D8250_men_mcb.c77 "board not detected, using default uartclk\n");
219 uart.port.uartclk = men_lookup_uartclk(mdev);
H A D8250_em.c186 up.port.uartclk = clk_get_rate(sclk);
H A D8250_uniphier.c193 up.port.uartclk = clk_get_rate(priv->clk);
/linux-master/arch/mips/sni/
H A Dpcimt.c74 .uartclk = 1843200, \
H A Dpcit.c26 .uartclk = 1843200, \
/linux-master/arch/mips/rb532/
H A Ddevices.c293 rb532_uart_res[0].uartclk = idt_cpu_freq;
/linux-master/arch/mips/loongson32/common/
H A Dplatform.c59 p->uartclk = clk_get_rate(clk);
/linux-master/arch/powerpc/kernel/
H A Dlegacy_serial.c138 legacy_serial_ports[index].uartclk = clock;
158 legacy_serial_ports[index].uartclk,
/linux-master/arch/mips/txx9/generic/
H A Dsetup.c387 req.uartclk = sclk;
389 req.uartclk = TXX9_IMCLK;

Completed in 491 milliseconds

123456