Home
last modified time | relevance | path

Searched refs:uartclk (Results 1 – 25 of 184) sorted by relevance

12345678

/linux/drivers/tty/serial/
A Dxilinx_uartps.c199 struct clk *uartclk; member
543 port->uartclk = ndata->new_rate; in cdns_uart_clk_notifier_cb()
711 minbaud = port->uartclk / in cdns_uart_set_termios()
1175 if (port->uartclk && device->baud) { in cdns_early_console_setup()
1351 clk_enable(cdns_uart->uartclk); in cdns_uart_resume()
1371 clk_disable(cdns_uart->uartclk); in cdns_uart_resume()
1391 clk_disable(cdns_uart->uartclk); in cdns_runtime_suspend()
1402 clk_enable(cdns_uart->uartclk); in cdns_runtime_resume()
1504 rc = PTR_ERR(cdns_uart_data->uartclk); in cdns_uart_probe()
1508 if (IS_ERR(cdns_uart_data->uartclk)) { in cdns_uart_probe()
[all …]
A Dmpc52xx_uart.c296 port->uartclk / 32); in mpc5200_psc_set_baudrate()
316 port->uartclk / 4); in mpc5200b_psc_set_baudrate()
555 port->uartclk / 16); in mpc512x_psc_set_baudrate()
896 port->uartclk / 16); in mpc5125_psc_set_baudrate()
1602 unsigned int uartclk; in mpc52xx_console_setup() local
1635 if (uartclk == 0) { in mpc52xx_console_setup()
1643 port->uartclk = uartclk; in mpc52xx_console_setup()
1654 port->irq, port->uartclk); in mpc52xx_console_setup()
1734 unsigned int uartclk; in mpc52xx_uart_of_probe() local
1752 if (uartclk == 0) { in mpc52xx_uart_of_probe()
[all …]
A Dsccnxp.c311 div_std = DIV_ROUND_CLOSEST(port->uartclk, 2 * 16 * baud); in sccnxp_set_baud()
313 bestbaud = DIV_ROUND_CLOSEST(port->uartclk, 2 * 16 * div_std); in sccnxp_set_baud()
327 tmp_baud = DIV_ROUND_CLOSEST(port->uartclk, div_std); in sccnxp_set_baud()
885 int i, ret, uartclk; in sccnxp_probe() local
921 uartclk = 0; in sccnxp_probe()
933 uartclk = clk_get_rate(clk); in sccnxp_probe()
936 if (!uartclk) { in sccnxp_probe()
938 uartclk = s->chip->freq_std; in sccnxp_probe()
942 if ((uartclk < s->chip->freq_min) || (uartclk > s->chip->freq_max)) { in sccnxp_probe()
997 s->port[i].uartclk = uartclk; in sccnxp_probe()
A D21285.c265 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16); in serial21285_set_termios()
267 b = port->uartclk / (16 * quot); in serial21285_set_termios()
368 if (ser->baud_base != port->uartclk / 16) in serial21285_verify_port()
402 serial21285_port.uartclk = mem_fclk_21285 / 4; in serial21285_setup_ports()
452 *baud = port->uartclk / (16 * (tmp + 1)); in serial21285_get_options()
A Dmax310x.c511 div = port->uartclk / baud; in max310x_set_baud()
530 frac = (16*(port->uartclk % F)) / F; in max310x_set_baud()
539 return (16*port->uartclk) / (c*(16*div + frac)); in max310x_set_baud()
997 port->uartclk / 16 / 0xffff, in max310x_set_termios()
998 port->uartclk / 4); in max310x_set_termios()
1258 u32 uartclk = 0; in max310x_probe() local
1272 device_property_read_u32(dev, "clock-frequency", &uartclk); in max310x_probe()
1288 freq = uartclk; in max310x_probe()
1337 uartclk = max310x_set_ref_clk(dev, s, freq, xtal); in max310x_probe()
1338 dev_dbg(dev, "Reference clock set to %i Hz\n", uartclk); in max310x_probe()
[all …]
/linux/arch/arm/mach-omap1/
A Dserial.c71 .uartclk = OMAP16XX_BASE_BAUD * 16,
79 .uartclk = OMAP16XX_BASE_BAUD * 16,
87 .uartclk = OMAP16XX_BASE_BAUD * 16,
117 serial_platform_data[0].uartclk = OMAP1510_BASE_BAUD * 16; in omap_serial_init()
118 serial_platform_data[1].uartclk = OMAP1510_BASE_BAUD * 16; in omap_serial_init()
119 serial_platform_data[2].uartclk = OMAP1510_BASE_BAUD * 16; in omap_serial_init()
/linux/drivers/tty/serial/8250/
A D8250_acorn.c27 unsigned int uartclk; member
65 uart.port.uartclk = type->uartclk; in serial_card_probe()
96 .uartclk = 7372800,
103 .uartclk = 3686400,
A D8250_hp300.c116 port.uartclk = HPAPCI_BAUD_BASE * 16; in hp300_setup_serial_console()
133 port.uartclk = HPDCA_BAUD_BASE * 16; in hp300_setup_serial_console()
175 uart.port.uartclk = HPDCA_BAUD_BASE * 16; in hpdca_init_one()
257 uart.port.uartclk = HPAPCI_BAUD_BASE * 16; in hp300_8250_init()
/linux/arch/arm/mach-pxa/
A Dcapc7117.c86 .uartclk = TI16C752_UARTCLK
95 .uartclk = TI16C752_UARTCLK
104 .uartclk = TI16C752_UARTCLK
113 .uartclk = TI16C752_UARTCLK
A Dzeus.c242 .uartclk = 14745600,
251 .uartclk = 14745600,
260 .uartclk = 14745600,
269 .uartclk = 14745600,
279 .uartclk = 921600 * 16,
288 .uartclk = 921600 * 16,
297 .uartclk = 921600 * 16,
/linux/arch/arm/boot/dts/
A Dhi3519.dtsi56 clock-names = "uartclk", "apb_pclk";
65 clock-names = "uartclk", "apb_pclk";
74 clock-names = "uartclk", "apb_pclk";
83 clock-names = "uartclk", "apb_pclk";
92 clock-names = "uartclk", "apb_pclk";
A Darm-realview-eb.dtsi94 uartclk: uartclk@24M { label
373 clocks = <&uartclk>, <&pclk>;
374 clock-names = "uartclk", "apb_pclk";
380 clocks = <&uartclk>, <&pclk>;
381 clock-names = "uartclk", "apb_pclk";
387 clocks = <&uartclk>, <&pclk>;
388 clock-names = "uartclk", "apb_pclk";
394 clocks = <&uartclk>, <&pclk>;
395 clock-names = "uartclk", "apb_pclk";
A Darm-realview-pb1176.dts104 uartclk: uartclk@24M { label
421 clocks = <&uartclk>, <&pclk>;
422 clock-names = "uartclk", "apb_pclk";
430 clocks = <&uartclk>, <&pclk>;
431 clock-names = "uartclk", "apb_pclk";
439 clocks = <&uartclk>, <&pclk>;
440 clock-names = "uartclk", "apb_pclk";
448 clocks = <&uartclk>, <&pclk>;
449 clock-names = "uartclk", "apb_pclk";
557 clocks = <&uartclk>, <&pclk>;
[all …]
A Dintegratorcp.dts73 uartclk: uartclk@14.74M { label
249 clocks = <&uartclk>, <&pclk>;
250 clock-names = "uartclk", "apb_pclk";
255 clocks = <&uartclk>, <&pclk>;
256 clock-names = "uartclk", "apb_pclk";
279 clocks = <&uartclk>, <&pclk>;
A Darm-realview-pbx.dtsi109 uartclk: uartclk@24M { label
371 clocks = <&uartclk>, <&pclk>;
372 clock-names = "uartclk", "apb_pclk";
378 clocks = <&uartclk>, <&pclk>;
379 clock-names = "uartclk", "apb_pclk";
385 clocks = <&uartclk>, <&pclk>;
386 clock-names = "uartclk", "apb_pclk";
564 clocks = <&uartclk>, <&pclk>;
565 clock-names = "uartclk", "apb_pclk";
A Dintegratorap.dts75 uartclk: uartclk@14.74M { label
223 clocks = <&uartclk>, <&pclk>;
224 clock-names = "uartclk", "apb_pclk";
230 clocks = <&uartclk>, <&pclk>;
231 clock-names = "uartclk", "apb_pclk";
A Darm-realview-pb11mp.dts210 uartclk: uartclk@24M { label
521 clocks = <&uartclk>, <&pclk>;
522 clock-names = "uartclk", "apb_pclk";
530 clocks = <&uartclk>, <&pclk>;
531 clock-names = "uartclk", "apb_pclk";
539 clocks = <&uartclk>, <&pclk>;
540 clock-names = "uartclk", "apb_pclk";
548 clocks = <&uartclk>, <&pclk>;
549 clock-names = "uartclk", "apb_pclk";
/linux/arch/mips/ath25/
A Ddevices.c74 void __init ath25_serial_setup(u32 mapbase, int irq, unsigned int uartclk) in ath25_serial_setup() argument
86 s.uartclk = uartclk; in ath25_serial_setup()
/linux/arch/arm/mach-s3c/
A Dmach-vr1000.c143 .uartclk = VR1000_BAUDBASE,
151 .uartclk = VR1000_BAUDBASE,
159 .uartclk = VR1000_BAUDBASE,
167 .uartclk = VR1000_BAUDBASE,
/linux/arch/mips/mti-malta/
A Dmalta-platform.c34 .uartclk = 1843200, \
50 .uartclk = 3686400, /* Twice the usual clk! */
/linux/arch/arm/mach-footbridge/
A Disa.c52 .uartclk = 1843200,
60 .uartclk = 1843200,
/linux/arch/mips/loongson2ef/common/
A Dserial.c25 .uartclk = clk, \
34 .uartclk = clk, \
/linux/Documentation/devicetree/bindings/serial/
A Dnxp,lpc1850-uart.txt8 - clock-names : required elements: "uartclk", "reg".
27 clock-names = "uartclk", "reg";
/linux/arch/arm64/boot/dts/arm/
A Drtsm_ve-motherboard.dtsi174 clock-names = "uartclk", "apb_pclk";
182 clock-names = "uartclk", "apb_pclk";
190 clock-names = "uartclk", "apb_pclk";
198 clock-names = "uartclk", "apb_pclk";
/linux/arch/mips/bcm47xx/
A Dserial.c44 p->uartclk = ssb_port->baud_base; in uart8250_init_ssb()
70 p->uartclk = bcma_port->baud_base; in uart8250_init_bcma()

Completed in 56 milliseconds

12345678