Home
last modified time | relevance | path

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

12345678

/openbmc/linux/arch/arm/mach-omap1/
H A Dserial.c73 .uartclk = OMAP16XX_BASE_BAUD * 16,
81 .uartclk = OMAP16XX_BASE_BAUD * 16,
89 .uartclk = OMAP16XX_BASE_BAUD * 16,
112 serial_platform_data[0].uartclk = OMAP1510_BASE_BAUD * 16; in omap_serial_init()
113 serial_platform_data[1].uartclk = OMAP1510_BASE_BAUD * 16; in omap_serial_init()
114 serial_platform_data[2].uartclk = OMAP1510_BASE_BAUD * 16; in omap_serial_init()
/openbmc/linux/arch/arm64/boot/dts/arm/
H A Dcorstone1000.dtsi86 uartclk: uartclk { label
91 clock-output-names = "uartclk";
125 clocks = <&uartclk>, <&refclk100mhz>;
126 clock-names = "uartclk", "apb_pclk";
133 clocks = <&uartclk>, <&refclk100mhz>;
134 clock-names = "uartclk", "apb_pclk";
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_acorn.c27 unsigned int uartclk; member
65 uart.port.uartclk = type->uartclk; in serial_card_probe()
96 .uartclk = 7372800,
103 .uartclk = 3686400,
H A D8250_bcm2835aux.c93 unsigned int uartclk; in bcm2835aux_serial_probe() local
169 uartclk = clk_get_rate(data->clk); in bcm2835aux_serial_probe()
170 if (!uartclk) { in bcm2835aux_serial_probe()
171 ret = device_property_read_u32(&pdev->dev, "clock-frequency", &uartclk); in bcm2835aux_serial_probe()
183 up.port.uartclk = uartclk * 2; in bcm2835aux_serial_probe()
H 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()
H A D8250_ingenic.c86 dev->port.uartclk = be32_to_cpup(prop); in ingenic_early_console_setup_clock()
107 divisor = DIV_ROUND_CLOSEST(port->uartclk, 16 * baud); in ingenic_earlycon_setup_tail()
147 if (dev->port.uartclk >= 16000000) in jz4750_early_console_setup()
148 dev->port.uartclk /= 2; in jz4750_early_console_setup()
304 uart.port.uartclk = clk_get_rate(data->clk_baud); in ingenic_uart_probe()
/openbmc/linux/drivers/tty/serial/
H A Dearlycon.c123 char *uartclk; in parse_options() local
126 uartclk = strchr(options, ','); in parse_options()
127 if (uartclk && kstrtouint(uartclk + 1, 0, &port->uartclk) < 0) in parse_options()
148 if (!port->uartclk) in register_earlycon()
149 port->uartclk = BASE_BAUD * 16; in register_earlycon()
310 port->uartclk = be32_to_cpu(*val); in of_setup_earlycon()
H A Dxilinx_uartps.c199 struct clk *uartclk; member
454 calc_baud = cdns_uart_calc_baud_divs(port->uartclk, baud, &bdiv, &cd, in cdns_uart_set_baud_rate()
529 port->uartclk = ndata->new_rate; in cdns_uart_clk_notifier_cb()
698 minbaud = port->uartclk / in cdns_uart_set_termios()
700 maxbaud = port->uartclk / (CDNS_UART_BDIV_MIN + 1); in cdns_uart_set_termios()
1189 if (port->uartclk && device->baud) { in cdns_early_console_setup()
1194 cdns_uart_calc_baud_divs(port->uartclk, device->baud, in cdns_early_console_setup()
1369 ret = clk_enable(cdns_uart->uartclk); in cdns_uart_resume()
1393 clk_disable(cdns_uart->uartclk); in cdns_uart_resume()
1413 clk_disable(cdns_uart->uartclk); in cdns_runtime_suspend()
[all …]
H A Dmpc52xx_uart.c297 port->uartclk / (32 * 0xffff) + 1, in mpc5200_psc_set_baudrate()
298 port->uartclk / 32); in mpc5200_psc_set_baudrate()
299 divisor = (port->uartclk + 16 * baud) / (32 * baud); in mpc5200_psc_set_baudrate()
317 port->uartclk / (32 * 0xffff) + 1, in mpc5200b_psc_set_baudrate()
318 port->uartclk / 4); in mpc5200b_psc_set_baudrate()
319 divisor = (port->uartclk + 2 * baud) / (4 * baud); in mpc5200b_psc_set_baudrate()
556 port->uartclk / (16 * 0xffff) + 1, in mpc512x_psc_set_baudrate()
557 port->uartclk / 16); in mpc512x_psc_set_baudrate()
558 divisor = (port->uartclk + 8 * baud) / (16 * baud); in mpc512x_psc_set_baudrate()
894 port->uartclk / (16 * 0xffff) + 1, in mpc5125_psc_set_baudrate()
[all …]
H A D21285.c244 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16); in serial21285_set_termios()
246 b = port->uartclk / (16 * quot); in serial21285_set_termios()
347 if (ser->baud_base != port->uartclk / 16) in serial21285_verify_port()
381 serial21285_port.uartclk = mem_fclk_21285 / 4; in serial21285_setup_ports()
431 *baud = port->uartclk / (16 * (tmp + 1)); in serial21285_get_options()
/openbmc/u-boot/drivers/serial/
H A Dserial_pic32.c41 ulong uartclk; member
105 return pic32_serial_init(priv->base, priv->uartclk, baudrate); in pic32_uart_setbrg()
154 priv->uartclk = clk_get_rate(&clk); in pic32_uart_probe()
158 return pic32_serial_init(priv->base, priv->uartclk, CONFIG_BAUDRATE); in pic32_uart_probe()
H A Daltera_uart.c31 unsigned int uartclk; member
40 div = (plat->uartclk / baudrate) - 1; in altera_uart_setbrg()
94 plat->uartclk = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in altera_uart_ofdata_to_platdata()
H A Dserial_bcm6345.c86 ulong uartclk; member
190 return bcm6345_serial_init(priv->base, priv->uartclk, baudrate); in bcm6345_serial_setbrg()
240 priv->uartclk = clk_get_rate(&clk); in bcm6345_serial_probe()
244 return bcm6345_serial_init(priv->base, priv->uartclk, CONFIG_BAUDRATE); in bcm6345_serial_probe()
H A Dserial_uniphier.c39 unsigned int uartclk; member
52 divisor = DIV_ROUND_CLOSEST(priv->uartclk, mode_x_div * baudrate); in uniphier_serial_setbrg()
144 priv->uartclk = clk_data->clk_rate; in uniphier_serial_probe()
/openbmc/linux/arch/arm/boot/dts/hisilicon/
H 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";
/openbmc/linux/arch/mips/ath25/
H 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()
/openbmc/linux/arch/arm/boot/dts/arm/
H 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";
H 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>;
H 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 …]
H 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";
/openbmc/u-boot/arch/arc/dts/
H A Daxs10x_mb.dtsi28 uartclk: uartclk { label
59 clocks = <&uartclk>;
/openbmc/linux/arch/mips/mti-malta/
H A Dmalta-platform.c34 .uartclk = 1843200, \
49 .uartclk = 3686400, /* Twice the usual clk! */
/openbmc/u-boot/arch/arm/dts/
H A Dhi6220.dtsi190 clock-names = "uartclk", "apb_pclk";
200 clock-names = "uartclk", "apb_pclk";
211 clock-names = "uartclk", "apb_pclk";
222 clock-names = "uartclk", "apb_pclk";
232 clock-names = "uartclk", "apb_pclk";
/openbmc/linux/arch/arm/mach-footbridge/
H A Disa.c52 .uartclk = 1843200,
60 .uartclk = 1843200,
/openbmc/linux/arch/mips/loongson2ef/common/
H A Dserial.c25 .uartclk = clk, \
34 .uartclk = clk, \

12345678