/linux/arch/arm64/boot/dts/arm/ |
H A D | corstone1000.dtsi | 86 uartclk: clock-50000000 { 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";
|
H A D | rtsm_ve-motherboard.dtsi | 174 clock-names = "uartclk", "apb_pclk"; 182 clock-names = "uartclk", "apb_pclk"; 190 clock-names = "uartclk", "apb_pclk"; 198 clock-names = "uartclk", "apb_pclk";
|
H A D | foundation-v8.dtsi | 205 clock-names = "uartclk", "apb_pclk"; 213 clock-names = "uartclk", "apb_pclk"; 221 clock-names = "uartclk", "apb_pclk"; 229 clock-names = "uartclk", "apb_pclk";
|
/linux/drivers/tty/serial/8250/ |
H A D | 8250_acorn.c | 27 unsigned int uartclk; member 65 uart.port.uartclk = type->uartclk; in serial_card_probe() 96 .uartclk = 7372800, 103 .uartclk = 3686400,
|
H A D | 8250_bcm2835aux.c | 39 * @clk: clock producer of the port's uartclk 89 unsigned int uartclk; in bcm2835aux_serial_probe() local 148 uartclk = clk_get_rate(data->clk); in bcm2835aux_serial_probe() 149 if (uartclk) in bcm2835aux_serial_probe() 150 up.port.uartclk = uartclk; in bcm2835aux_serial_probe() 157 up.port.uartclk *= 2; in bcm2835aux_serial_probe()
|
H A D | 8250_ingenic.c | 86 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() 298 uart.port.uartclk = clk_get_rate(data->clk_baud); in ingenic_uart_probe()
|
H A D | 8250_hp300.c | 116 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 D | 8250_mtk.c | 334 * no higher than (uartclk / 16) so the baud will be clamped if it in mtk8250_set_termios() 360 port->uartclk / 16 / UART_DIV_MAX, in mtk8250_set_termios() 361 port->uartclk); in mtk8250_set_termios() 368 quot = DIV_ROUND_UP(port->uartclk, 256 * baud); in mtk8250_set_termios() 392 tmp = (port->uartclk / (baud * quot)) - 1; in mtk8250_set_termios() 398 fraction = ((port->uartclk * 100) / baud / quot) % 100; in mtk8250_set_termios() 564 uart.port.uartclk = clk_get_rate(data->uart_clk); in mtk8250_probe()
|
/linux/drivers/tty/serial/ |
H A D | earlycon.c | 123 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 D | mpc52xx_uart.c | 295 /* The 5200 has a fixed /32 prescaler, uartclk contains the ipb freq */ in mpc5200_psc_set_baudrate() 297 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() 314 /* The 5200B has a selectable /4 or /32 prescaler, uartclk contains the in mpc5200b_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() 554 /* uartclk contains the ips freq */ in mpc512x_psc_set_baudrate() 556 port->uartclk / (16 * 0xffff) + 1, in mpc512x_psc_set_baudrate() [all …]
|
H A D | xilinx_uartps.c | 192 * @uartclk: Reference clock 206 struct clk *uartclk; member 580 calc_baud = cdns_uart_calc_baud_divs(port->uartclk, baud, &bdiv, &cd, in cdns_uart_set_baud_rate() 655 port->uartclk = ndata->new_rate; in cdns_uart_clk_notifier_cb() 833 * min and max baud should be calculated here based on port->uartclk. in cdns_uart_set_termios() 836 minbaud = port->uartclk / in cdns_uart_set_termios() 838 maxbaud = port->uartclk / (CDNS_UART_BDIV_MIN + 1); in cdns_uart_set_termios() 1340 if (port->uartclk && device->baud) { in cdns_early_console_setup() 1345 cdns_uart_calc_baud_divs(port->uartclk, device->baud, in cdns_early_console_setup() 1520 ret = clk_enable(cdns_uart->uartclk); in cdns_uart_resume() [all …]
|
H A D | 21285.c | 244 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()
|
/linux/arch/arm/mach-omap1/ |
H A D | serial.c | 73 .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()
|
/linux/arch/arm/boot/dts/arm/ |
H A D | arm-realview-eb.dtsi | 56 xtal24mhz: mclk: kmiclk: sspclk: uartclk: wdogclk: clock-24000000 { 333 clocks = <&uartclk>, <&pclk>; 334 clock-names = "uartclk", "apb_pclk"; 340 clocks = <&uartclk>, <&pclk>; 341 clock-names = "uartclk", "apb_pclk"; 347 clocks = <&uartclk>, <&pclk>; 348 clock-names = "uartclk", "apb_pclk"; 354 clocks = <&uartclk>, <&pclk>; 355 clock-names = "uartclk", "apb_pclk";
|
H A D | arm-realview-pb1176.dts | 66 xtal24mhz: mclk: kmiclk: sspclk: uartclk: clock-24000000 { 389 clocks = <&uartclk>, <&pclk>; 390 clock-names = "uartclk", "apb_pclk"; 398 clocks = <&uartclk>, <&pclk>; 399 clock-names = "uartclk", "apb_pclk"; 407 clocks = <&uartclk>, <&pclk>; 408 clock-names = "uartclk", "apb_pclk"; 416 clocks = <&uartclk>, <&pclk>; 417 clock-names = "uartclk", "apb_pclk"; 525 clocks = <&uartclk>, <&pclk>; [all …]
|
H A D | integratorcp.dts | 73 uartclk: clock-14745600 { 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 D | arm-realview-pbx.dtsi | 65 xtal24mhz: mclk: kmiclk: sspclk: uartclk: wdogclk: clock-24000000 { 331 clocks = <&uartclk>, <&pclk>; 332 clock-names = "uartclk", "apb_pclk"; 338 clocks = <&uartclk>, <&pclk>; 339 clock-names = "uartclk", "apb_pclk"; 345 clocks = <&uartclk>, <&pclk>; 346 clock-names = "uartclk", "apb_pclk"; 524 clocks = <&uartclk>, <&pclk>; 525 clock-names = "uartclk", "apb_pclk";
|
H A D | arm-realview-pb11mp.dts | 166 xtal24mhz: mclk: kmiclk: sspclk: uartclk: wdogclk: clock-24000000 { 481 clocks = <&uartclk>, <&pclk>; 482 clock-names = "uartclk", "apb_pclk"; 490 clocks = <&uartclk>, <&pclk>; 491 clock-names = "uartclk", "apb_pclk"; 499 clocks = <&uartclk>, <&pclk>; 500 clock-names = "uartclk", "apb_pclk"; 508 clocks = <&uartclk>, <&pclk>; 509 clock-names = "uartclk", "apb_pclk";
|
H A D | integratorap.dts | 67 uartclk: clock-14745600 { label 216 clocks = <&uartclk>, <&pclk>; 217 clock-names = "uartclk", "apb_pclk"; 223 clocks = <&uartclk>, <&pclk>; 224 clock-names = "uartclk", "apb_pclk";
|
/linux/arch/arm/boot/dts/hisilicon/ |
H A D | hi3519.dtsi | 56 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";
|
/linux/Documentation/devicetree/bindings/serial/ |
H A D | pl011.yaml | 56 the clock named UARTCLK on the IP block, i.e. the clock 65 - const: uartclk 124 clock-names = "uartclk", "apb_pclk";
|
/linux/arch/mips/ath25/ |
H A D | devices.c | 74 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/mips/boot/dts/mobileye/ |
H A D | eyeq5.dtsi | 80 clock-names = "uartclk", "apb_pclk"; 93 clock-names = "uartclk", "apb_pclk"; 106 clock-names = "uartclk", "apb_pclk";
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-tty | 21 What: /sys/class/tty/ttyS<x>/uartclk 25 Shows the current uartclk value associated with the 27 uartclk = 16 * baud_base
|
/linux/arch/mips/alchemy/common/ |
H A D | platform.c | 103 long uartclk; in alchemy_setup_uarts() local 115 uartclk = clk_get_rate(clk); in alchemy_setup_uarts() 126 /* Fill up uartclk. */ in alchemy_setup_uarts() 128 ports[s].uartclk = uartclk; in alchemy_setup_uarts()
|