Home
last modified time | relevance | path

Searched full:uartclk (Results 1 – 25 of 201) sorted by relevance

123456789

/Linux-v6.1/arch/arm64/boot/dts/arm/
Dcorstone1000.dtsi89 uartclk: uartclk { label
94 clock-output-names = "uartclk";
128 clocks = <&uartclk>, <&refclk100mhz>;
129 clock-names = "uartclk", "apb_pclk";
136 clocks = <&uartclk>, <&refclk100mhz>;
137 clock-names = "uartclk", "apb_pclk";
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";
Dfoundation-v8.dtsi196 clock-names = "uartclk", "apb_pclk";
204 clock-names = "uartclk", "apb_pclk";
212 clock-names = "uartclk", "apb_pclk";
220 clock-names = "uartclk", "apb_pclk";
/Linux-v6.1/drivers/tty/serial/8250/
D8250_acorn.c27 unsigned int uartclk; member
65 uart.port.uartclk = type->uartclk; in serial_card_probe()
96 .uartclk = 7372800,
103 .uartclk = 3686400,
D8250_bcm2835aux.c38 * @clk: clock producer of the port's uartclk
93 unsigned int uartclk; in bcm2835aux_serial_probe() local
167 uartclk = clk_get_rate(data->clk); in bcm2835aux_serial_probe()
168 if (!uartclk) { in bcm2835aux_serial_probe()
169 ret = device_property_read_u32(&pdev->dev, "clock-frequency", &uartclk); in bcm2835aux_serial_probe()
181 up.port.uartclk = uartclk * 2; in bcm2835aux_serial_probe()
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-v6.1/arch/arm/mach-omap1/
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-v6.1/arch/arm/boot/dts/
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";
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>;
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";
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 …]
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";
Dintegratorap.dts75 uartclk: uartclk@14.74M { label
224 clocks = <&uartclk>, <&pclk>;
225 clock-names = "uartclk", "apb_pclk";
231 clocks = <&uartclk>, <&pclk>;
232 clock-names = "uartclk", "apb_pclk";
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-v6.1/drivers/tty/serial/
Dxilinx_uartps.c189 * @uartclk: Reference clock
199 struct clk *uartclk; member
456 calc_baud = cdns_uart_calc_baud_divs(port->uartclk, baud, &bdiv, &cd, in cdns_uart_set_baud_rate()
531 port->uartclk = ndata->new_rate; in cdns_uart_clk_notifier_cb()
697 * min and max baud should be calculated here based on port->uartclk. in cdns_uart_set_termios()
700 minbaud = port->uartclk / in cdns_uart_set_termios()
702 maxbaud = port->uartclk / (CDNS_UART_BDIV_MIN + 1); in cdns_uart_set_termios()
1191 if (port->uartclk && device->baud) { in cdns_early_console_setup()
1196 cdns_uart_calc_baud_divs(port->uartclk, device->baud, in cdns_early_console_setup()
1371 ret = clk_enable(cdns_uart->uartclk); in cdns_uart_resume()
[all …]
Dmpc52xx_uart.c295 /* 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 …]
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()
886 int i, ret, uartclk; in sccnxp_probe() local
922 uartclk = 0; in sccnxp_probe()
934 uartclk = clk_get_rate(clk); in sccnxp_probe()
937 if (!uartclk) { in sccnxp_probe()
939 uartclk = s->chip->freq_std; in sccnxp_probe()
943 if ((uartclk < s->chip->freq_min) || (uartclk > s->chip->freq_max)) { in sccnxp_probe()
998 s->port[i].uartclk = uartclk; in sccnxp_probe()
/Linux-v6.1/arch/arm/mach-pxa/
Dcapc7117.c86 .uartclk = TI16C752_UARTCLK
95 .uartclk = TI16C752_UARTCLK
104 .uartclk = TI16C752_UARTCLK
113 .uartclk = TI16C752_UARTCLK
/Linux-v6.1/arch/mips/ath25/
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-v6.1/Documentation/devicetree/bindings/serial/
Dpl011.yaml55 the clock named UARTCLK on the IP block, i.e. the clock
64 - const: uartclk
123 clock-names = "uartclk", "apb_pclk";
Dnxp,lpc1850-uart.txt8 - clock-names : required elements: "uartclk", "reg".
27 clock-names = "uartclk", "reg";
/Linux-v6.1/arch/mips/alchemy/common/
Dplatform.c103 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()
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-tty21 What: /sys/class/tty/ttyS<x>/uartclk
25 Shows the current uartclk value associated with the
27 uartclk = 16 * baud_base
/Linux-v6.1/arch/arm/mach-footbridge/
Disa.c52 .uartclk = 1843200,
60 .uartclk = 1843200,
/Linux-v6.1/arch/mips/mti-malta/
Dmalta-platform.c34 .uartclk = 1843200, \
50 .uartclk = 3686400, /* Twice the usual clk! */

123456789