Lines Matching full:uartclk

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()
557 port->uartclk / 16); in mpc512x_psc_set_baudrate()
558 divisor = (port->uartclk + 8 * baud) / (16 * baud); in mpc512x_psc_set_baudrate()
892 /* uartclk contains the ips freq */ in mpc5125_psc_set_baudrate()
894 port->uartclk / (16 * 0xffff) + 1, in mpc5125_psc_set_baudrate()
895 port->uartclk / 16); in mpc5125_psc_set_baudrate()
896 divisor = (port->uartclk + 8 * baud) / (16 * baud); in mpc5125_psc_set_baudrate()
1333 (ser->baud_base != port->uartclk) || in mpc52xx_uart_verify_port()
1570 unsigned int uartclk; in mpc52xx_console_setup() local
1602 uartclk = mpc5xxx_fwnode_get_bus_frequency(of_fwnode_handle(np)); in mpc52xx_console_setup()
1603 if (uartclk == 0) { in mpc52xx_console_setup()
1611 port->uartclk = uartclk; in mpc52xx_console_setup()
1622 port->irq, port->uartclk); in mpc52xx_console_setup()
1702 unsigned int uartclk; in mpc52xx_uart_of_probe() local
1719 uartclk = mpc5xxx_get_bus_frequency(&op->dev); in mpc52xx_uart_of_probe()
1720 if (uartclk == 0) { in mpc52xx_uart_of_probe()
1729 port->uartclk = uartclk; in mpc52xx_uart_of_probe()
1757 (void *)port->mapbase, port->irq, port->uartclk); in mpc52xx_uart_of_probe()