uartclk 99 arch/arm/mach-cns3xxx/cns3420vb.c .uartclk = 24000000, uartclk 77 arch/arm/mach-davinci/serial.c p->uartclk = clk_get_rate(clk); uartclk 231 arch/arm/mach-ebsa110/core.c .uartclk = 1843200, uartclk 239 arch/arm/mach-ebsa110/core.c .uartclk = 1843200, uartclk 52 arch/arm/mach-footbridge/isa.c .uartclk = 1843200, uartclk 60 arch/arm/mach-footbridge/isa.c .uartclk = 1843200, uartclk 67 arch/arm/mach-imx/mach-kzm_arm11_01.c .uartclk = 14745600, uartclk 77 arch/arm/mach-imx/mach-mx31ads.c .uartclk = 14745600, uartclk 84 arch/arm/mach-imx/mach-mx31ads.c .uartclk = 14745600, uartclk 157 arch/arm/mach-iop32x/em7210.c .uartclk = 1843200, uartclk 143 arch/arm/mach-iop32x/glantank.c .uartclk = 1843200, uartclk 223 arch/arm/mach-iop32x/iq31244.c .uartclk = 1843200, uartclk 149 arch/arm/mach-iop32x/iq80321.c .uartclk = 1843200, uartclk 176 arch/arm/mach-iop32x/n2100.c .uartclk = 1843200, uartclk 94 arch/arm/mach-ixp4xx/avila-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 103 arch/arm/mach-ixp4xx/avila-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 72 arch/arm/mach-ixp4xx/coyote-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 142 arch/arm/mach-ixp4xx/dsmg600-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 151 arch/arm/mach-ixp4xx/dsmg600-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 105 arch/arm/mach-ixp4xx/fsg-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 114 arch/arm/mach-ixp4xx/fsg-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 66 arch/arm/mach-ixp4xx/gateway7001-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 250 arch/arm/mach-ixp4xx/goramo_mlr.c .uartclk = IXP4XX_UART_XTAL, uartclk 260 arch/arm/mach-ixp4xx/goramo_mlr.c .uartclk = IXP4XX_UART_XTAL, uartclk 103 arch/arm/mach-ixp4xx/gtwx5715-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 167 arch/arm/mach-ixp4xx/ixdp425-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 176 arch/arm/mach-ixp4xx/ixdp425-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 145 arch/arm/mach-ixp4xx/nas100d-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 154 arch/arm/mach-ixp4xx/nas100d-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 165 arch/arm/mach-ixp4xx/nslu2-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 174 arch/arm/mach-ixp4xx/nslu2-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 132 arch/arm/mach-ixp4xx/omixp-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 140 arch/arm/mach-ixp4xx/omixp-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 89 arch/arm/mach-ixp4xx/vulcan-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 98 arch/arm/mach-ixp4xx/vulcan-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 105 arch/arm/mach-ixp4xx/vulcan-setup.c .uartclk = 1843200, uartclk 112 arch/arm/mach-ixp4xx/vulcan-setup.c .uartclk = 1843200, uartclk 67 arch/arm/mach-ixp4xx/wg302v2-setup.c .uartclk = IXP4XX_UART_XTAL, uartclk 798 arch/arm/mach-omap1/board-ams-delta.c .uartclk = BASE_BAUD * 16, uartclk 71 arch/arm/mach-omap1/serial.c .uartclk = OMAP16XX_BASE_BAUD * 16, uartclk 79 arch/arm/mach-omap1/serial.c .uartclk = OMAP16XX_BASE_BAUD * 16, uartclk 87 arch/arm/mach-omap1/serial.c .uartclk = OMAP16XX_BASE_BAUD * 16, uartclk 117 arch/arm/mach-omap1/serial.c serial_platform_data[0].uartclk = OMAP1510_BASE_BAUD * 16; uartclk 118 arch/arm/mach-omap1/serial.c serial_platform_data[1].uartclk = OMAP1510_BASE_BAUD * 16; uartclk 119 arch/arm/mach-omap1/serial.c serial_platform_data[2].uartclk = OMAP1510_BASE_BAUD * 16; uartclk 86 arch/arm/mach-pxa/capc7117.c .uartclk = TI16C752_UARTCLK uartclk 95 arch/arm/mach-pxa/capc7117.c .uartclk = TI16C752_UARTCLK uartclk 104 arch/arm/mach-pxa/capc7117.c .uartclk = TI16C752_UARTCLK uartclk 113 arch/arm/mach-pxa/capc7117.c .uartclk = TI16C752_UARTCLK uartclk 536 arch/arm/mach-pxa/viper.c .uartclk = 921600 * 16, uartclk 545 arch/arm/mach-pxa/viper.c .uartclk = 921600 * 16, uartclk 554 arch/arm/mach-pxa/viper.c .uartclk = 921600 * 16, uartclk 564 arch/arm/mach-pxa/viper.c .uartclk = 1843200, uartclk 574 arch/arm/mach-pxa/viper.c .uartclk = 1843200, uartclk 242 arch/arm/mach-pxa/zeus.c .uartclk = 14745600, uartclk 251 arch/arm/mach-pxa/zeus.c .uartclk = 14745600, uartclk 260 arch/arm/mach-pxa/zeus.c .uartclk = 14745600, uartclk 269 arch/arm/mach-pxa/zeus.c .uartclk = 14745600, uartclk 279 arch/arm/mach-pxa/zeus.c .uartclk = 921600 * 16, uartclk 288 arch/arm/mach-pxa/zeus.c .uartclk = 921600 * 16, uartclk 297 arch/arm/mach-pxa/zeus.c .uartclk = 921600 * 16, uartclk 146 arch/arm/mach-rpc/riscpc.c .uartclk = 1843200, uartclk 340 arch/arm/mach-s3c24xx/mach-bast.c .uartclk = SERIAL_CLK, uartclk 348 arch/arm/mach-s3c24xx/mach-bast.c .uartclk = SERIAL_CLK, uartclk 143 arch/arm/mach-s3c24xx/mach-vr1000.c .uartclk = VR1000_BAUDBASE, uartclk 151 arch/arm/mach-s3c24xx/mach-vr1000.c .uartclk = VR1000_BAUDBASE, uartclk 159 arch/arm/mach-s3c24xx/mach-vr1000.c .uartclk = VR1000_BAUDBASE, uartclk 167 arch/arm/mach-s3c24xx/mach-vr1000.c .uartclk = VR1000_BAUDBASE, uartclk 100 arch/arm/plat-orion/common.c data->uartclk = uart_get_clk_rate(clk); uartclk 23 arch/m68k/include/asm/mcfuart.h unsigned int uartclk; /* UART clock rate */ uartclk 103 arch/mips/alchemy/common/platform.c long uartclk; uartclk 115 arch/mips/alchemy/common/platform.c uartclk = clk_get_rate(clk); uartclk 128 arch/mips/alchemy/common/platform.c ports[s].uartclk = uartclk; uartclk 563 arch/mips/ar7/platform.c uart_port.uartclk = clk_get_rate(bus_clk) / 2; uartclk 74 arch/mips/ath25/devices.c void __init ath25_serial_setup(u32 mapbase, int irq, unsigned int uartclk) uartclk 86 arch/mips/ath25/devices.c s.uartclk = uartclk; uartclk 31 arch/mips/ath25/devices.h void ath25_serial_setup(u32 mapbase, int irq, unsigned int uartclk); uartclk 44 arch/mips/bcm47xx/serial.c p->uartclk = ssb_port->baud_base; uartclk 70 arch/mips/bcm47xx/serial.c p->uartclk = bcma_port->baud_base; uartclk 32 arch/mips/cobalt/serial.c .uartclk = 18432000, uartclk 99 arch/mips/emma/markeins/platform.c .uartclk = EMMA2RH_SERIAL_CLOCK, uartclk 107 arch/mips/emma/markeins/platform.c .uartclk = EMMA2RH_SERIAL_CLOCK, uartclk 115 arch/mips/emma/markeins/platform.c .uartclk = EMMA2RH_SERIAL_CLOCK, uartclk 66 arch/mips/include/asm/mach-loongson64/boot_param.h u32 uartclk; uartclk 103 arch/mips/jazz/setup.c .uartclk = UART_CLK, \ uartclk 15 arch/mips/kernel/8250-platform.c .uartclk = 1843200, \ uartclk 45 arch/mips/lasat/serial.c lasat_serial8250_port[0].uartclk = LASAT_BASE_BAUD_100 * 16; uartclk 57 arch/mips/lasat/serial.c lasat_serial8250_port[0].uartclk = LASAT_BASE_BAUD_200 * 16; uartclk 62 arch/mips/loongson32/common/platform.c p->uartclk = clk_get_rate(clk); uartclk 25 arch/mips/loongson64/common/serial.c .uartclk = clk, \ uartclk 34 arch/mips/loongson64/common/serial.c .uartclk = clk, \ uartclk 76 arch/mips/loongson64/common/serial.c if (loongson_sysconf.uarts[0].uartclk) uartclk 77 arch/mips/loongson64/common/serial.c uart8250_data[mips_machtype][0].uartclk = uartclk 78 arch/mips/loongson64/common/serial.c loongson_sysconf.uarts[0].uartclk; uartclk 99 arch/mips/loongson64/common/serial.c uart8250_data[mips_machtype][i].uartclk = uartclk 100 arch/mips/loongson64/common/serial.c loongson_sysconf.uarts[i].uartclk; uartclk 34 arch/mips/mti-malta/malta-platform.c .uartclk = 1843200, \ uartclk 49 arch/mips/mti-malta/malta-platform.c .uartclk = 3686400, /* Twice the usual clk! */ uartclk 67 arch/mips/netlogic/xlr/platform.c .uartclk = PIC_CLK_HZ, \ uartclk 96 arch/mips/pmcs-msp71xx/msp_serial.c unsigned int uartclk; uartclk 102 arch/mips/pmcs-msp71xx/msp_serial.c if(!(s && *s && (uartclk = simple_strtoul(s, &endp, 10)) && *endp == 0)) uartclk 103 arch/mips/pmcs-msp71xx/msp_serial.c uartclk = MSP_BASE_BAUD; uartclk 104 arch/mips/pmcs-msp71xx/msp_serial.c ppfinit("UART clock set to %d\n", uartclk); uartclk 110 arch/mips/pmcs-msp71xx/msp_serial.c up.uartclk = uartclk; uartclk 59 arch/mips/pnx833x/common/platform.c .uartclk = 3692300, uartclk 72 arch/mips/pnx833x/common/platform.c .uartclk = 3692300, uartclk 300 arch/mips/rb532/devices.c rb532_uart_res[0].uartclk = idt_cpu_freq; uartclk 50 arch/mips/rb532/serial.c rb532_uart.uartclk = idt_cpu_freq; uartclk 25 arch/mips/sgi-ip32/ip32-platform.c .uartclk = 1843200, \ uartclk 24 arch/mips/sni/a20r.c .uartclk = 1843200, \ uartclk 74 arch/mips/sni/pcimt.c .uartclk = 1843200, \ uartclk 26 arch/mips/sni/pcit.c .uartclk = 1843200, \ uartclk 31 arch/mips/sni/rm200.c .uartclk = 1843200, \ uartclk 456 arch/mips/txx9/generic/setup.c req.uartclk = sclk; uartclk 458 arch/mips/txx9/generic/setup.c req.uartclk = TXX9_IMCLK; uartclk 136 arch/powerpc/kernel/legacy_serial.c legacy_serial_ports[index].uartclk = clock; uartclk 156 arch/powerpc/kernel/legacy_serial.c legacy_serial_ports[index].uartclk, uartclk 78 arch/sh/boards/mach-se/7343/setup.c .uartclk = 7372800, uartclk 85 arch/sh/boards/mach-se/7343/setup.c .uartclk = 7372800, uartclk 92 arch/x86/platform/ce4100/ce4100.c up->uartclk = 14745600; uartclk 98 arch/xtensa/platforms/xt2000/setup.c .uartclk = DUART16552_XTAL_FREQ, \ uartclk 251 arch/xtensa/platforms/xtfpga/setup.c .uartclk = 0, /* set in xtavnet_init() */ uartclk 282 arch/xtensa/platforms/xtfpga/setup.c serial_platform_data[0].uartclk = *(long *)XTFPGA_CLKFRQ_VADDR; uartclk 515 drivers/bus/hisi_lpc.c .uartclk = 1843200, uartclk 474 drivers/char/mwave/mwavedd.c uart.port.uartclk = 1843200; uartclk 28 drivers/clk/versatile/clk-impd1.c struct clk *uartclk; uartclk 123 drivers/clk/versatile/clk-impd1.c imc->uartclk = clk; uartclk 166 drivers/clk/versatile/clk-impd1.c clk_unregister(imc->uartclk); uartclk 830 drivers/mfd/sm501.c uart_data->uartclk = (9600 * 16); uartclk 38 drivers/misc/ibmasm/uart.c uart.port.uartclk = 3686400; uartclk 73 drivers/mmc/core/sdio_uart.c unsigned int uartclk; uartclk 280 drivers/mmc/core/sdio_uart.c if (baud <= port->uartclk) uartclk 293 drivers/mmc/core/sdio_uart.c quot = (2 * port->uartclk + baud) / (2 * baud); uartclk 1078 drivers/mmc/core/sdio_uart.c port->uartclk = tpl->data[7] * 115200; uartclk 1079 drivers/mmc/core/sdio_uart.c if (port->uartclk == 0) uartclk 1080 drivers/mmc/core/sdio_uart.c port->uartclk = 115200; uartclk 1082 drivers/mmc/core/sdio_uart.c sdio_func_id(func), port->uartclk, uartclk 1091 drivers/net/ethernet/sgi/ioc3-eth.c .uartclk = (22000000 << 1) / COSMISC_CONSTANT, uartclk 393 drivers/parisc/superio.c serial_port.uartclk = 115200*16; uartclk 230 drivers/tty/serial/21285.c baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16); uartclk 232 drivers/tty/serial/21285.c b = port->uartclk / (16 * quot); uartclk 333 drivers/tty/serial/21285.c if (ser->baud_base != port->uartclk / 16) uartclk 367 drivers/tty/serial/21285.c serial21285_port.uartclk = mem_fclk_21285 / 4; uartclk 417 drivers/tty/serial/21285.c *baud = port->uartclk / (16 * (tmp + 1)); uartclk 103 drivers/tty/serial/8250/8250.h .uartclk = 1843200, \ uartclk 27 drivers/tty/serial/8250/8250_acorn.c unsigned int uartclk; uartclk 65 drivers/tty/serial/8250/8250_acorn.c uart.port.uartclk = type->uartclk; uartclk 96 drivers/tty/serial/8250/8250_acorn.c .uartclk = 7372800, uartclk 103 drivers/tty/serial/8250/8250_acorn.c .uartclk = 3686400, uartclk 385 drivers/tty/serial/8250/8250_aspeed_vuart.c port.port.uartclk = clk; uartclk 92 drivers/tty/serial/8250/8250_bcm2835aux.c data->uart.port.uartclk = clk_get_rate(data->clk) * 2; uartclk 544 drivers/tty/serial/8250/8250_core.c port->uartclk = old_serial_port[i].baud_base * 16; uartclk 719 drivers/tty/serial/8250/8250_core.c p->uartclk = port->uartclk; uartclk 785 drivers/tty/serial/8250/8250_core.c port->uartclk = 921600*16; uartclk 812 drivers/tty/serial/8250/8250_core.c uart.port.uartclk = p->uartclk; uartclk 978 drivers/tty/serial/8250/8250_core.c if (up->port.uartclk == 0) uartclk 994 drivers/tty/serial/8250/8250_core.c uart->port.uartclk = up->port.uartclk; uartclk 297 drivers/tty/serial/8250/8250_dw.c p->uartclk = rate; uartclk 470 drivers/tty/serial/8250/8250_dw.c device_property_read_u32(dev, "clock-frequency", &p->uartclk); uartclk 484 drivers/tty/serial/8250/8250_dw.c p->uartclk = clk_get_rate(data->clk); uartclk 488 drivers/tty/serial/8250/8250_dw.c if (!p->uartclk) { uartclk 66 drivers/tty/serial/8250/8250_dwlib.c quot = p->uartclk / base_baud; uartclk 67 drivers/tty/serial/8250/8250_dwlib.c rem = p->uartclk % base_baud; uartclk 125 drivers/tty/serial/8250/8250_early.c if (port->uartclk) { uartclk 126 drivers/tty/serial/8250/8250_early.c divisor = DIV_ROUND_CLOSEST(port->uartclk, 16 * device->baud); uartclk 111 drivers/tty/serial/8250/8250_em.c up.port.uartclk = clk_get_rate(priv->sclk); uartclk 161 drivers/tty/serial/8250/8250_exar.c quot_16 = DIV_ROUND_CLOSEST(p->uartclk, baud); uartclk 242 drivers/tty/serial/8250/8250_exar.c port->port.uartclk = baud * 16; uartclk 288 drivers/tty/serial/8250/8250_exar.c port->port.uartclk = baud * 16; uartclk 299 drivers/tty/serial/8250/8250_exar.c port->port.uartclk = baud * 16; uartclk 484 drivers/tty/serial/8250/8250_exar.c port->port.uartclk = baud * 16; uartclk 492 drivers/tty/serial/8250/8250_exar.c port->port.uartclk /= 2; uartclk 299 drivers/tty/serial/8250/8250_fintek.c uart->port.uartclk = 921600 * 16; uartclk 345 drivers/tty/serial/8250/8250_fintek.c if (port->uartclk == baudrate_table[i] * 16) uartclk 351 drivers/tty/serial/8250/8250_fintek.c port->uartclk = baudrate_table[i] * 16; uartclk 55 drivers/tty/serial/8250/8250_gsc.c uart.port.uartclk = (dev->id.sversion != 0xad) ? uartclk 116 drivers/tty/serial/8250/8250_hp300.c port.uartclk = HPAPCI_BAUD_BASE * 16; uartclk 133 drivers/tty/serial/8250/8250_hp300.c port.uartclk = HPDCA_BAUD_BASE * 16; uartclk 175 drivers/tty/serial/8250/8250_hp300.c uart.port.uartclk = HPDCA_BAUD_BASE * 16; uartclk 257 drivers/tty/serial/8250/8250_hp300.c uart.port.uartclk = HPAPCI_BAUD_BASE * 16; uartclk 14 drivers/tty/serial/8250/8250_hub6.c .uartclk = 1843200, \ uartclk 87 drivers/tty/serial/8250/8250_ingenic.c dev->port.uartclk = be32_to_cpup(prop); uartclk 110 drivers/tty/serial/8250/8250_ingenic.c divisor = DIV_ROUND_CLOSEST(port->uartclk, 16 * baud); uartclk 286 drivers/tty/serial/8250/8250_ingenic.c uart.port.uartclk = clk_get_rate(data->clk_baud); uartclk 64 drivers/tty/serial/8250/8250_lpc18xx.c baud_clk = port->uartclk / up->dl_read(up); uartclk 168 drivers/tty/serial/8250/8250_lpc18xx.c uart.port.uartclk = clk_get_rate(data->clk_uart); uartclk 95 drivers/tty/serial/8250/8250_lpss.c p->uartclk = fuart; uartclk 310 drivers/tty/serial/8250/8250_lpss.c uart.port.uartclk = lpss->board->base_baud * 16; uartclk 113 drivers/tty/serial/8250/8250_men_mcb.c data[i].uart.port.uartclk = men_lookup_uartclk(mdev); uartclk 226 drivers/tty/serial/8250/8250_mid.c p->uartclk = fuart * 16 / ps; /* core uses ps = 16 always */ uartclk 306 drivers/tty/serial/8250/8250_mid.c uart.port.uartclk = mid->board->base_baud * 16; uartclk 324 drivers/tty/serial/8250/8250_mtk.c port->uartclk / 16 / UART_DIV_MAX, uartclk 325 drivers/tty/serial/8250/8250_mtk.c port->uartclk); uartclk 332 drivers/tty/serial/8250/8250_mtk.c quot = DIV_ROUND_UP(port->uartclk, 256 * baud); uartclk 351 drivers/tty/serial/8250/8250_mtk.c tmp = (port->uartclk / (baud * quot)) - 1; uartclk 357 drivers/tty/serial/8250/8250_mtk.c fraction = ((port->uartclk * 100) / baud / quot) % 100; uartclk 524 drivers/tty/serial/8250/8250_mtk.c uart.port.uartclk = clk_get_rate(data->uart_clk); uartclk 174 drivers/tty/serial/8250/8250_of.c port->uartclk = clk; uartclk 203 drivers/tty/serial/8250/8250_omap.c unsigned int uartclk = port->uartclk; uartclk 223 drivers/tty/serial/8250/8250_omap.c div_13 = DIV_ROUND_CLOSEST(uartclk, 13 * baud); uartclk 224 drivers/tty/serial/8250/8250_omap.c div_16 = DIV_ROUND_CLOSEST(uartclk, 16 * baud); uartclk 231 drivers/tty/serial/8250/8250_omap.c abs_d13 = abs(baud - uartclk / 13 / div_13); uartclk 232 drivers/tty/serial/8250/8250_omap.c abs_d16 = abs(baud - uartclk / 16 / div_16); uartclk 370 drivers/tty/serial/8250/8250_omap.c port->uartclk / 16 / UART_DIV_MAX, uartclk 371 drivers/tty/serial/8250/8250_omap.c port->uartclk / 13); uartclk 1203 drivers/tty/serial/8250/8250_omap.c if (of_property_read_u32(np, "clock-frequency", &up.port.uartclk)) { uartclk 1211 drivers/tty/serial/8250/8250_omap.c up.port.uartclk = clk_get_rate(clk); uartclk 1221 drivers/tty/serial/8250/8250_omap.c if (!up.port.uartclk) { uartclk 1222 drivers/tty/serial/8250/8250_omap.c up.port.uartclk = DEFAULT_CLK_SPEED; uartclk 1313 drivers/tty/serial/8250/8250_pci.c port->port.uartclk = pci_quatech_clock(port); uartclk 3910 drivers/tty/serial/8250/8250_pci.c uart.port.uartclk = board->base_baud * 16; uartclk 477 drivers/tty/serial/8250/8250_pnp.c uart.port.uartclk = 1843200; uartclk 755 drivers/tty/serial/8250/8250_port.c up->port.uartclk = SERIAL_RSA_BAUD_BASE * 16; uartclk 763 drivers/tty/serial/8250/8250_port.c if (up->port.uartclk != SERIAL_RSA_BAUD_BASE * 16) { uartclk 768 drivers/tty/serial/8250/8250_port.c if (up->port.uartclk == SERIAL_RSA_BAUD_BASE * 16) uartclk 785 drivers/tty/serial/8250/8250_port.c up->port.uartclk == SERIAL_RSA_BAUD_BASE * 16) { uartclk 798 drivers/tty/serial/8250/8250_port.c up->port.uartclk = SERIAL_RSA_BAUD_BASE_LO * 16; uartclk 1076 drivers/tty/serial/8250/8250_port.c up->port.uartclk = 921600*16; uartclk 2419 drivers/tty/serial/8250/8250_port.c return DIV_ROUND_CLOSEST(port->uartclk, 16 * baud + 2) - 2; uartclk 2435 drivers/tty/serial/8250/8250_port.c baud == (port->uartclk/4)) uartclk 2438 drivers/tty/serial/8250/8250_port.c baud == (port->uartclk/8)) uartclk 2549 drivers/tty/serial/8250/8250_port.c port->uartclk / 16 / UART_DIV_MAX, uartclk 2550 drivers/tty/serial/8250/8250_port.c port->uartclk); uartclk 3214 drivers/tty/serial/8250/8250_port.c return (port->uartclk / 16) / quot; uartclk 128 drivers/tty/serial/8250/8250_pxa.c uart.port.uartclk = clk_get_rate(data->clk); uartclk 205 drivers/tty/serial/8250/8250_uniphier.c up.port.uartclk = clk_get_rate(priv->clk); uartclk 110 drivers/tty/serial/8250/serial_cs.c uart->port.uartclk = 14745600; uartclk 353 drivers/tty/serial/8250/serial_cs.c uart.port.uartclk = 1843200; uartclk 184 drivers/tty/serial/altera_uart.c baudclk = port->uartclk / baud; uartclk 523 drivers/tty/serial/altera_uart.c unsigned int baudclk = port->uartclk / dev->baud; uartclk 590 drivers/tty/serial/altera_uart.c port->uartclk = platp->uartclk; uartclk 593 drivers/tty/serial/altera_uart.c &port->uartclk); uartclk 326 drivers/tty/serial/amba-pl010.c uap->port.uartclk = clk_get_rate(uap->clk); uartclk 393 drivers/tty/serial/amba-pl010.c baud = uart_get_baud_rate(port, termios, old, 0, uap->port.uartclk/16); uartclk 633 drivers/tty/serial/amba-pl010.c *baud = uap->port.uartclk / (16 * (quot + 1)); uartclk 661 drivers/tty/serial/amba-pl010.c uap->port.uartclk = clk_get_rate(uap->clk); uartclk 1669 drivers/tty/serial/amba-pl011.c uap->port.uartclk = clk_get_rate(uap->clk); uartclk 1964 drivers/tty/serial/amba-pl011.c port->uartclk / clkdiv); uartclk 1973 drivers/tty/serial/amba-pl011.c if (baud > port->uartclk/16) uartclk 1974 drivers/tty/serial/amba-pl011.c quot = DIV_ROUND_CLOSEST(port->uartclk * 8, baud); uartclk 1976 drivers/tty/serial/amba-pl011.c quot = DIV_ROUND_CLOSEST(port->uartclk * 4, baud); uartclk 2032 drivers/tty/serial/amba-pl011.c if (baud > port->uartclk / 16) uartclk 2280 drivers/tty/serial/amba-pl011.c *baud = uap->port.uartclk * 4 / (64 * ibrd + fbrd); uartclk 2325 drivers/tty/serial/amba-pl011.c uap->port.uartclk = clk_get_rate(uap->clk); uartclk 244 drivers/tty/serial/apbuart.c baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16); uartclk 246 drivers/tty/serial/apbuart.c panic("invalid baudrate %i\n", port->uartclk / 16); uartclk 473 drivers/tty/serial/apbuart.c *baud = port->uartclk / (16 * (quot + 1)); uartclk 631 drivers/tty/serial/apbuart.c port->uartclk = *freq_hz; uartclk 258 drivers/tty/serial/ar933x_uart.c ar933x_uart_get_scale_step(port->uartclk, baud, &scale, &step); uartclk 677 drivers/tty/serial/ar933x_uart.c port->uartclk = clk_get_rate(up->clk); uartclk 678 drivers/tty/serial/ar933x_uart.c if (!port->uartclk) { uartclk 694 drivers/tty/serial/ar933x_uart.c baud = ar933x_uart_get_baud(port->uartclk, AR933X_UART_MAX_SCALE, 1); uartclk 697 drivers/tty/serial/ar933x_uart.c baud = ar933x_uart_get_baud(port->uartclk, 0, AR933X_UART_MAX_STEP); uartclk 375 drivers/tty/serial/arc_uart.c hw_val = port->uartclk / (uart->baud * 4) - 1; uartclk 566 drivers/tty/serial/arc_uart.c hw_val = port->uartclk / (dev->baud * 4) - 1; uartclk 608 drivers/tty/serial/arc_uart.c port->uartclk = val; uartclk 2146 drivers/tty/serial/atmel_serial.c baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16); uartclk 2285 drivers/tty/serial/atmel_serial.c div = DIV_ROUND_CLOSEST(port->uartclk, baud * 2); uartclk 2424 drivers/tty/serial/atmel_serial.c if (port->uartclk / 16 != ser->baud_base) uartclk 2521 drivers/tty/serial/atmel_serial.c port->uartclk = clk_get_rate(atmel_port->clk); uartclk 2629 drivers/tty/serial/atmel_serial.c *baud = port->uartclk / (16 * (quot - 1)); uartclk 553 drivers/tty/serial/bcm63xx_uart.c baud = uart_get_baud_rate(port, new, old, 0, port->uartclk / 16); uartclk 859 drivers/tty/serial/bcm63xx_uart.c port->uartclk = clk_get_rate(clk) / 2; uartclk 268 drivers/tty/serial/clps711x.c baud = uart_get_baud_rate(port, termios, old, port->uartclk / 4096, uartclk 269 drivers/tty/serial/clps711x.c port->uartclk / 16); uartclk 419 drivers/tty/serial/clps711x.c baud = port->uartclk / (16 * (quot + 1)); uartclk 483 drivers/tty/serial/clps711x.c s->port.uartclk = clk_get_rate(uart_clk); uartclk 508 drivers/tty/serial/cpm_uart/cpm_uart_core.c baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16); uartclk 1204 drivers/tty/serial/cpm_uart/cpm_uart_core.c pinfo->port.uartclk = ppc_proc_freq; uartclk 302 drivers/tty/serial/digicolor-usart.c port->uartclk / (0x10000*16), uartclk 303 drivers/tty/serial/digicolor-usart.c port->uartclk / 256); uartclk 486 drivers/tty/serial/digicolor-usart.c dp->port.uartclk = clk_get_rate(uart_clk); uartclk 137 drivers/tty/serial/earlycon.c port->uartclk = BASE_BAUD * 16; uartclk 285 drivers/tty/serial/earlycon.c port->uartclk = be32_to_cpu(*val); uartclk 301 drivers/tty/serial/efm32-uart.c port->uartclk = clk_get_rate(efm_port->clk); uartclk 360 drivers/tty/serial/efm32-uart.c DIV_ROUND_CLOSEST(port->uartclk, 16 * 8192), uartclk 361 drivers/tty/serial/efm32-uart.c DIV_ROUND_CLOSEST(port->uartclk, 16)); uartclk 396 drivers/tty/serial/efm32-uart.c clkdiv = (DIV_ROUND_CLOSEST(4 * port->uartclk, 16 * baud) - 4) << 6; uartclk 573 drivers/tty/serial/efm32-uart.c *baud = DIV_ROUND_CLOSEST(4 * efm_port->port.uartclk, uartclk 629 drivers/tty/serial/efm32-uart.c efm_port->port.uartclk = clk_get_rate(efm_port->clk); uartclk 1710 drivers/tty/serial/fsl_lpuart.c baud = uart_get_baud_rate(port, termios, old, 50, port->uartclk / 16); uartclk 1756 drivers/tty/serial/fsl_lpuart.c sbr = sport->port.uartclk / (16 * baud); uartclk 1757 drivers/tty/serial/fsl_lpuart.c brfa = ((sport->port.uartclk - (16 * sbr * baud)) * 2) / baud; uartclk 1786 drivers/tty/serial/fsl_lpuart.c u32 clk = sport->port.uartclk; uartclk 1925 drivers/tty/serial/fsl_lpuart.c baud = uart_get_baud_rate(port, termios, old, 50, port->uartclk / 4); uartclk 2018 drivers/tty/serial/fsl_lpuart.c if (port->uartclk / 16 != ser->baud_base) uartclk 2159 drivers/tty/serial/fsl_lpuart.c unsigned int sbr, uartclk, baud_raw; uartclk 2192 drivers/tty/serial/fsl_lpuart.c uartclk = lpuart_get_baud_clk_rate(sport); uartclk 2196 drivers/tty/serial/fsl_lpuart.c baud_raw = uartclk / (16 * (sbr + brfa / 32)); uartclk 2208 drivers/tty/serial/fsl_lpuart.c unsigned int sbr, uartclk, baud_raw; uartclk 2235 drivers/tty/serial/fsl_lpuart.c uartclk = lpuart_get_baud_clk_rate(sport); uartclk 2239 drivers/tty/serial/fsl_lpuart.c baud_raw = uartclk / (16 * sbr); uartclk 2445 drivers/tty/serial/fsl_lpuart.c sport->port.uartclk = lpuart_get_baud_clk_rate(sport); uartclk 1591 drivers/tty/serial/imx.c baud = uart_get_baud_rate(port, termios, old, 50, port->uartclk / 16); uartclk 1672 drivers/tty/serial/imx.c div = sport->port.uartclk / (baud * 16); uartclk 1674 drivers/tty/serial/imx.c baud = sport->port.uartclk / (quot * 16); uartclk 1676 drivers/tty/serial/imx.c div = sport->port.uartclk / (baud * 16); uartclk 1682 drivers/tty/serial/imx.c rational_best_approximation(16 * div * baud, sport->port.uartclk, uartclk 1685 drivers/tty/serial/imx.c tdiv64 = sport->port.uartclk; uartclk 1715 drivers/tty/serial/imx.c imx_uart_writel(sport, sport->port.uartclk / div / 1000, uartclk 1761 drivers/tty/serial/imx.c if (sport->port.uartclk / 16 != ser->baud_base) uartclk 2000 drivers/tty/serial/imx.c unsigned int ucr2, ubir, ubmr, uartclk; uartclk 2028 drivers/tty/serial/imx.c uartclk = clk_get_rate(sport->clk_per); uartclk 2029 drivers/tty/serial/imx.c uartclk /= ucfr_rfdiv; uartclk 2039 drivers/tty/serial/imx.c unsigned int rem = uartclk % div; uartclk 2041 drivers/tty/serial/imx.c baud_raw = (uartclk / div) * mul; uartclk 2283 drivers/tty/serial/imx.c sport->port.uartclk = clk_get_rate(sport->clk_per); uartclk 1116 drivers/tty/serial/ip22zilog.c up[(chip * 2) + 0].port.uartclk = ZS_CLOCK; uartclk 1127 drivers/tty/serial/ip22zilog.c up[(chip * 2) + 1].port.uartclk = ZS_CLOCK; uartclk 452 drivers/tty/serial/jsm/jsm_tty.c brd->channels[i]->uart_port.uartclk = 14745600; uartclk 357 drivers/tty/serial/lantiq.c port->uartclk = clk_get_rate(ltq_port->freqclk); uartclk 479 drivers/tty/serial/lantiq.c baud = uart_get_baud_rate(port, new, old, 0, port->uartclk / 16); uartclk 662 drivers/tty/serial/lantiq.c port->uartclk = clk_get_rate(ltq_port->freqclk); uartclk 212 drivers/tty/serial/lpc32xx_hs.c static unsigned int __serial_get_clock_div(unsigned long uartclk, uartclk 219 drivers/tty/serial/lpc32xx_hs.c div = uartclk / rate; uartclk 229 drivers/tty/serial/lpc32xx_hs.c comprate = uartclk / ((hsu_rate + 1) * 14); uartclk 515 drivers/tty/serial/lpc32xx_hs.c port->uartclk / 14); uartclk 517 drivers/tty/serial/lpc32xx_hs.c quot = __serial_get_clock_div(port->uartclk, baud); uartclk 666 drivers/tty/serial/lpc32xx_hs.c p->port.uartclk = LPC32XX_MAIN_OSC_FREQ; uartclk 787 drivers/tty/serial/max3100.c max3100s[i]->port.uartclk = max3100s[i]->crystal ? 3686400 : 1843200; uartclk 511 drivers/tty/serial/max310x.c div = port->uartclk / baud; uartclk 530 drivers/tty/serial/max310x.c frac = (16*(port->uartclk % F)) / F; uartclk 539 drivers/tty/serial/max310x.c return (16*port->uartclk) / (c*(16*div + frac)); uartclk 997 drivers/tty/serial/max310x.c port->uartclk / 16 / 0xffff, uartclk 998 drivers/tty/serial/max310x.c port->uartclk / 4); uartclk 1256 drivers/tty/serial/max310x.c int i, ret, fmin, fmax, freq, uartclk; uartclk 1329 drivers/tty/serial/max310x.c uartclk = max310x_set_ref_clk(dev, s, freq, xtal); uartclk 1330 drivers/tty/serial/max310x.c dev_dbg(dev, "Reference clock set to %i Hz\n", uartclk); uartclk 1351 drivers/tty/serial/max310x.c s->p[i].port.uartclk = uartclk; uartclk 505 drivers/tty/serial/mcf.c port->uartclk = MCF_BUSCLK; uartclk 631 drivers/tty/serial/mcf.c port->uartclk = MCF_BUSCLK; uartclk 831 drivers/tty/serial/men_z135_uart.c uart->port.uartclk = MEN_Z135_BASECLK * 16; uartclk 304 drivers/tty/serial/meson_uart.c if (port->uartclk == 24000000) { uartclk 305 drivers/tty/serial/meson_uart.c val = ((port->uartclk / 3) / baud) - 1; uartclk 308 drivers/tty/serial/meson_uart.c val = ((port->uartclk * 10 / (baud * 4) + 5) / 10) - 1; uartclk 624 drivers/tty/serial/meson_uart.c port->uartclk = clk_get_rate(clk); uartclk 648 drivers/tty/serial/meson_uart.c port->uartclk = clk_get_rate(clk_baud); uartclk 339 drivers/tty/serial/milbeaut_usio.c baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk); uartclk 341 drivers/tty/serial/milbeaut_usio.c quot = port->uartclk / baud - 1; uartclk 538 drivers/tty/serial/milbeaut_usio.c port->uartclk = clk_get_rate(clk); uartclk 299 drivers/tty/serial/mpc52xx_uart.c port->uartclk / (32 * 0xffff) + 1, uartclk 300 drivers/tty/serial/mpc52xx_uart.c port->uartclk / 32); uartclk 301 drivers/tty/serial/mpc52xx_uart.c divisor = (port->uartclk + 16 * baud) / (32 * baud); uartclk 319 drivers/tty/serial/mpc52xx_uart.c port->uartclk / (32 * 0xffff) + 1, uartclk 320 drivers/tty/serial/mpc52xx_uart.c port->uartclk / 4); uartclk 321 drivers/tty/serial/mpc52xx_uart.c divisor = (port->uartclk + 2 * baud) / (4 * baud); uartclk 558 drivers/tty/serial/mpc52xx_uart.c port->uartclk / (16 * 0xffff) + 1, uartclk 559 drivers/tty/serial/mpc52xx_uart.c port->uartclk / 16); uartclk 560 drivers/tty/serial/mpc52xx_uart.c divisor = (port->uartclk + 8 * baud) / (16 * baud); uartclk 899 drivers/tty/serial/mpc52xx_uart.c port->uartclk / (16 * 0xffff) + 1, uartclk 900 drivers/tty/serial/mpc52xx_uart.c port->uartclk / 16); uartclk 901 drivers/tty/serial/mpc52xx_uart.c divisor = (port->uartclk + 8 * baud) / (16 * baud); uartclk 1338 drivers/tty/serial/mpc52xx_uart.c (ser->baud_base != port->uartclk) || uartclk 1612 drivers/tty/serial/mpc52xx_uart.c unsigned int uartclk; uartclk 1644 drivers/tty/serial/mpc52xx_uart.c uartclk = mpc5xxx_get_bus_frequency(np); uartclk 1645 drivers/tty/serial/mpc52xx_uart.c if (uartclk == 0) { uartclk 1653 drivers/tty/serial/mpc52xx_uart.c port->uartclk = uartclk; uartclk 1664 drivers/tty/serial/mpc52xx_uart.c port->irq, port->uartclk); uartclk 1744 drivers/tty/serial/mpc52xx_uart.c unsigned int uartclk; uartclk 1761 drivers/tty/serial/mpc52xx_uart.c uartclk = mpc5xxx_get_bus_frequency(op->dev.of_node); uartclk 1762 drivers/tty/serial/mpc52xx_uart.c if (uartclk == 0) { uartclk 1771 drivers/tty/serial/mpc52xx_uart.c port->uartclk = uartclk; uartclk 1798 drivers/tty/serial/mpc52xx_uart.c (void *)port->mapbase, port->irq, port->uartclk); uartclk 373 drivers/tty/serial/mps2-uart.c DIV_ROUND_CLOSEST(port->uartclk, UARTn_BAUDDIV_MASK), uartclk 374 drivers/tty/serial/mps2-uart.c DIV_ROUND_CLOSEST(port->uartclk, 16)); uartclk 376 drivers/tty/serial/mps2-uart.c bauddiv = DIV_ROUND_CLOSEST(port->uartclk, baud); uartclk 581 drivers/tty/serial/mps2-uart.c mps_port->port.uartclk = clk_get_rate(mps_port->clk); uartclk 210 drivers/tty/serial/msm_serial.c port->uartclk = 1843200; uartclk 222 drivers/tty/serial/msm_serial.c port->uartclk = 1843200; uartclk 236 drivers/tty/serial/msm_serial.c if (port->uartclk == 19200000) uartclk 238 drivers/tty/serial/msm_serial.c else if (port->uartclk == 4800000) uartclk 1117 drivers/tty/serial/msm_serial.c port->uartclk = rate; uartclk 1801 drivers/tty/serial/msm_serial.c port->uartclk = clk_get_rate(msm_port->clk); uartclk 1802 drivers/tty/serial/msm_serial.c dev_info(&pdev->dev, "uartclk = %d\n", port->uartclk); uartclk 481 drivers/tty/serial/mux.c port->uartclk = 0; uartclk 466 drivers/tty/serial/mvebu-uart.c d_divisor = DIV_ROUND_UP(port->uartclk, baud * m_divisor); uartclk 880 drivers/tty/serial/mvebu-uart.c port->uartclk = clk_get_rate(mvuart->clk); uartclk 1077 drivers/tty/serial/mxs-auart.c u->uartclk * 4 / 0x3FFFFF, uartclk 1078 drivers/tty/serial/mxs-auart.c u->uartclk / 16); uartclk 1079 drivers/tty/serial/mxs-auart.c div = u->uartclk * 4 / baud; uartclk 1081 drivers/tty/serial/mxs-auart.c baud_min = DIV_ROUND_UP(u->uartclk * 32, uartclk 1083 drivers/tty/serial/mxs-auart.c baud_max = u->uartclk * 32 / AUART_LINECTRL_BAUD_DIV_MIN; uartclk 1085 drivers/tty/serial/mxs-auart.c div = DIV_ROUND_CLOSEST(u->uartclk * 32, baud); uartclk 1432 drivers/tty/serial/mxs-auart.c *baud = (port->uartclk << 2) / quot; uartclk 1694 drivers/tty/serial/mxs-auart.c s->port.uartclk = clk_get_rate(s->clk); uartclk 228 drivers/tty/serial/omap-serial.c unsigned int n = port->uartclk / (mode * baud); uartclk 234 drivers/tty/serial/omap-serial.c abs_diff = baud - (port->uartclk / (mode * n)); uartclk 275 drivers/tty/serial/omap-serial.c return port->uartclk/(mode * baud); uartclk 876 drivers/tty/serial/omap-serial.c baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/13); uartclk 1594 drivers/tty/serial/omap-serial.c &omap_up_info->uartclk); uartclk 1716 drivers/tty/serial/omap-serial.c up->port.uartclk = omap_up_info->uartclk; uartclk 1718 drivers/tty/serial/omap-serial.c if (!up->port.uartclk) { uartclk 1719 drivers/tty/serial/omap-serial.c up->port.uartclk = DEFAULT_CLK_SPEED; uartclk 695 drivers/tty/serial/owl-uart.c owl_port->port.uartclk = clk_get_rate(owl_port->clk); uartclk 696 drivers/tty/serial/owl-uart.c if (owl_port->port.uartclk == 0) { uartclk 217 drivers/tty/serial/pch_uart.c unsigned int uartclk; uartclk 445 drivers/tty/serial/pch_uart.c div = DIV_ROUND_CLOSEST(priv->uartclk / 16, baud); uartclk 1280 drivers/tty/serial/pch_uart.c if (port->uartclk) uartclk 1281 drivers/tty/serial/pch_uart.c priv->uartclk = port->uartclk; uartclk 1283 drivers/tty/serial/pch_uart.c port->uartclk = priv->uartclk; uartclk 1413 drivers/tty/serial/pch_uart.c baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16); uartclk 1699 drivers/tty/serial/pch_uart.c port->uartclk = pch_uart_get_uartclk(); uartclk 1787 drivers/tty/serial/pch_uart.c priv->uartclk = pch_uart_get_uartclk(); uartclk 392 drivers/tty/serial/pic32_uart.c u32 dflt_baud = (port->uartclk / PIC32_UART_DFLT_BRATE / 16) - 1; uartclk 593 drivers/tty/serial/pic32_uart.c baud = uart_get_baud_rate(port, new, old, 0, port->uartclk / 16); uartclk 865 drivers/tty/serial/pic32_uart.c port->uartclk = clk_get_rate(sport->clk); uartclk 1495 drivers/tty/serial/pmac_zilog.c uap->port.uartclk = ZS_CLOCK; uartclk 1715 drivers/tty/serial/pmac_zilog.c uap->port.uartclk = ZS_CLOCK; uartclk 474 drivers/tty/serial/pnx8xxx_uart.c baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16); uartclk 619 drivers/tty/serial/pnx8xxx_uart.c if (sport->port.uartclk / 16 != ser->baud_base) uartclk 344 drivers/tty/serial/pxa.c up->port.uartclk = clk_get_rate(up->clk); uartclk 463 drivers/tty/serial/pxa.c baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16); uartclk 466 drivers/tty/serial/pxa.c if ((up->port.uartclk / quot) < (2400 * 16)) uartclk 468 drivers/tty/serial/pxa.c else if ((up->port.uartclk / quot) < (230400 * 16)) uartclk 881 drivers/tty/serial/pxa.c sport->port.uartclk = clk_get_rate(sport->clk); uartclk 980 drivers/tty/serial/qcom_geni_serial.c uport->uartclk = clk_rate; uartclk 251 drivers/tty/serial/rda-uart.c baud = uart_get_baud_rate(port, termios, old, 9600, port->uartclk / 4); uartclk 763 drivers/tty/serial/rda-uart.c rda_port->port.uartclk = clk_get_rate(rda_port->clk); uartclk 764 drivers/tty/serial/rda-uart.c if (rda_port->port.uartclk == 0) { uartclk 382 drivers/tty/serial/rp2.c baud = uart_get_baud_rate(port, new, old, 0, port->uartclk / 16); uartclk 697 drivers/tty/serial/rp2.c p->uartclk = UART_CLOCK; uartclk 454 drivers/tty/serial/sa1100.c baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16); uartclk 586 drivers/tty/serial/sa1100.c if (sport->port.uartclk / 16 != ser->baud_base) uartclk 640 drivers/tty/serial/sa1100.c sa1100_ports[i].port.uartclk = 3686400; uartclk 776 drivers/tty/serial/sa1100.c *baud = sport->port.uartclk / (16 * (quot + 1)); uartclk 1535 drivers/tty/serial/samsung.c .uartclk = 0, uartclk 1546 drivers/tty/serial/samsung.c .uartclk = 0, uartclk 1559 drivers/tty/serial/samsung.c .uartclk = 0, uartclk 1572 drivers/tty/serial/samsung.c .uartclk = 0, uartclk 1761 drivers/tty/serial/samsung.c port->uartclk = 1; uartclk 1840 drivers/tty/serial/samsung.c ourport->rx_irq, ourport->tx_irq, port->uartclk); uartclk 748 drivers/tty/serial/sb1250-duart.c if (ser->baud_base != uport->uartclk / 16) uartclk 809 drivers/tty/serial/sb1250-duart.c uport->uartclk = 100000000 / 20 * 16; uartclk 496 drivers/tty/serial/sc16is7xx.c unsigned long clk = port->uartclk, div = clk / 16 / baud; uartclk 952 drivers/tty/serial/sc16is7xx.c port->uartclk / 16 / 4 / 0xffff, uartclk 953 drivers/tty/serial/sc16is7xx.c port->uartclk / 16); uartclk 1183 drivers/tty/serial/sc16is7xx.c u32 uartclk = 0; uartclk 1198 drivers/tty/serial/sc16is7xx.c device_property_read_u32(dev, "clock-frequency", &uartclk); uartclk 1202 drivers/tty/serial/sc16is7xx.c if (uartclk) uartclk 1203 drivers/tty/serial/sc16is7xx.c freq = uartclk; uartclk 1265 drivers/tty/serial/sc16is7xx.c s->p[i].port.uartclk = freq; uartclk 315 drivers/tty/serial/sccnxp.c div_std = DIV_ROUND_CLOSEST(port->uartclk, 2 * 16 * baud); uartclk 317 drivers/tty/serial/sccnxp.c bestbaud = DIV_ROUND_CLOSEST(port->uartclk, 2 * 16 * div_std); uartclk 331 drivers/tty/serial/sccnxp.c tmp_baud = DIV_ROUND_CLOSEST(port->uartclk, div_std); uartclk 889 drivers/tty/serial/sccnxp.c int i, ret, uartclk; uartclk 925 drivers/tty/serial/sccnxp.c uartclk = 0; uartclk 937 drivers/tty/serial/sccnxp.c uartclk = clk_get_rate(clk); uartclk 940 drivers/tty/serial/sccnxp.c if (!uartclk) { uartclk 942 drivers/tty/serial/sccnxp.c uartclk = s->chip->freq_std; uartclk 946 drivers/tty/serial/sccnxp.c if ((uartclk < s->chip->freq_min) || (uartclk > s->chip->freq_max)) { uartclk 1001 drivers/tty/serial/sccnxp.c s->port[i].uartclk = uartclk; uartclk 492 drivers/tty/serial/serial_core.c quot = DIV_ROUND_CLOSEST(port->uartclk, 16 * baud); uartclk 779 drivers/tty/serial/serial_core.c retinfo->baud_base = uport->uartclk / 16; uartclk 853 drivers/tty/serial/serial_core.c (new_info->baud_base != uport->uartclk / 16) || uartclk 968 drivers/tty/serial/serial_core.c uport->uartclk = new_info->baud_base * 16; uartclk 2325 drivers/tty/serial/serial_core.c address, port->irq, port->uartclk / 16, uart_type(port)); uartclk 2748 drivers/tty/serial/serial_core.c static DEVICE_ATTR(uartclk, S_IRUSR | S_IRGRP, uart_get_attr_uartclk, NULL); uartclk 668 drivers/tty/serial/serial_txx9.c baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16/2); uartclk 1042 drivers/tty/serial/serial_txx9.c uart->port.uartclk = port->uartclk; uartclk 1089 drivers/tty/serial/serial_txx9.c for (i = 0; p && p->uartclk != 0; p++, i++) { uartclk 1093 drivers/tty/serial/serial_txx9.c port.uartclk = p->uartclk; uartclk 1186 drivers/tty/serial/serial_txx9.c port.uartclk = 66670000; uartclk 545 drivers/tty/serial/sh-sci.c sci_port->port.uartclk = sci_port->clk_rates[SCI_FCK]; uartclk 2402 drivers/tty/serial/sh-sci.c if (!port->uartclk) { uartclk 711 drivers/tty/serial/sirfsoc_uart.c ioclk_rate = port->uartclk; uartclk 1382 drivers/tty/serial/sirfsoc_uart.c port->uartclk = clk_get_rate(sirfport->clk); uartclk 789 drivers/tty/serial/sprd_serial.c quot = port->uartclk / baud; uartclk 1146 drivers/tty/serial/sprd_serial.c uport->uartclk = SPRD_DEFAULT_SOURCE_CLK; uartclk 1148 drivers/tty/serial/sprd_serial.c uport->uartclk = clk_get_rate(clk_uart); uartclk 1195 drivers/tty/serial/sprd_serial.c up->uartclk = SPRD_DEF_RATE; uartclk 522 drivers/tty/serial/st-asc.c port->uartclk = clk_get_rate(ascport->clk); uartclk 524 drivers/tty/serial/st-asc.c baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16); uartclk 584 drivers/tty/serial/st-asc.c asc_out(port, ASC_BAUDRATE, (port->uartclk / (16 * baud))); uartclk 597 drivers/tty/serial/st-asc.c do_div(dividend, port->uartclk / 16); uartclk 748 drivers/tty/serial/st-asc.c ascport->port.uartclk = clk_get_rate(ascport->clk); uartclk 749 drivers/tty/serial/st-asc.c WARN_ON(ascport->port.uartclk == 0); uartclk 127 drivers/tty/serial/stm32-usart.c baud = DIV_ROUND_CLOSEST(port->uartclk, usartdiv); uartclk 697 drivers/tty/serial/stm32-usart.c baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 8); uartclk 771 drivers/tty/serial/stm32-usart.c usartdiv = DIV_ROUND_CLOSEST(port->uartclk, baud); uartclk 964 drivers/tty/serial/stm32-usart.c stm32port->port.uartclk = clk_get_rate(stm32port->clk); uartclk 965 drivers/tty/serial/stm32-usart.c if (!stm32port->port.uartclk) { uartclk 350 drivers/tty/serial/sunhv.c (port->uartclk / (16 * quot))); uartclk 558 drivers/tty/serial/sunhv.c port->uartclk = ( 29491200 / 16 ); /* arbitrary */ uartclk 770 drivers/tty/serial/sunsab.c (up->port.uartclk / (16 * quot))); uartclk 993 drivers/tty/serial/sunsab.c up->port.uartclk = SAB_BASE_BAUD; uartclk 209 drivers/tty/serial/sunsu.c up->port.uartclk = SERIAL_RSA_BAUD_BASE * 16; uartclk 217 drivers/tty/serial/sunsu.c if (up->port.uartclk != SERIAL_RSA_BAUD_BASE * 16) { uartclk 222 drivers/tty/serial/sunsu.c if (up->port.uartclk == SERIAL_RSA_BAUD_BASE * 16) uartclk 239 drivers/tty/serial/sunsu.c up->port.uartclk == SERIAL_RSA_BAUD_BASE * 16) { uartclk 252 drivers/tty/serial/sunsu.c up->port.uartclk = SERIAL_RSA_BAUD_BASE_LO * 16; uartclk 500 drivers/tty/serial/sunsu.c quot = up->port.uartclk / (16 * new_baud); uartclk 823 drivers/tty/serial/sunsu.c if ((up->port.uartclk / quot) < (2400 * 16)) uartclk 844 drivers/tty/serial/sunsu.c uart_update_timeout(port, cflag, (port->uartclk / (16 * quot))); uartclk 916 drivers/tty/serial/sunsu.c baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16); uartclk 1210 drivers/tty/serial/sunsu.c quot = up->port.uartclk / (16 * baud); uartclk 1477 drivers/tty/serial/sunsu.c up->port.uartclk = (SU_BASE_BAUD * 16); uartclk 1439 drivers/tty/serial/sunzilog.c up[0].port.uartclk = ZS_CLOCK; uartclk 1456 drivers/tty/serial/sunzilog.c up[1].port.uartclk = ZS_CLOCK; uartclk 287 drivers/tty/serial/timbuart.c baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16); uartclk 429 drivers/tty/serial/timbuart.c uart->port.uartclk = 3250000 * 16; uartclk 951 drivers/tty/serial/ucc_uart.c baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16); uartclk 1382 drivers/tty/serial/ucc_uart.c qe_port->port.uartclk = *iprop; uartclk 1397 drivers/tty/serial/ucc_uart.c qe_port->port.uartclk = *iprop / 2; uartclk 535 drivers/tty/serial/vr41xx_siu.c baud = uart_get_baud_rate(port, new, old, 0, port->uartclk/16); uartclk 707 drivers/tty/serial/vr41xx_siu.c port->uartclk = SIU_BAUD_BASE * 16; uartclk 835 drivers/tty/serial/vr41xx_siu.c siu_uart_ports[port->line].uartclk = SIU_BAUD_BASE * 16; uartclk 317 drivers/tty/serial/vt8500_serial.c baud = port->uartclk / 16 / ((div & 0x3ff) + 1); uartclk 708 drivers/tty/serial/vt8500_serial.c vt8500_port->uart.uartclk = 16 * clk_get_rate(vt8500_port->clk) / uartclk 192 drivers/tty/serial/xilinx_uartps.c struct clk *uartclk; uartclk 462 drivers/tty/serial/xilinx_uartps.c calc_baud = cdns_uart_calc_baud_divs(port->uartclk, baud, &bdiv, &cd, uartclk 537 drivers/tty/serial/xilinx_uartps.c port->uartclk = ndata->new_rate; uartclk 716 drivers/tty/serial/xilinx_uartps.c minbaud = port->uartclk / uartclk 718 drivers/tty/serial/xilinx_uartps.c maxbaud = port->uartclk / (CDNS_UART_BDIV_MIN + 1); uartclk 1160 drivers/tty/serial/xilinx_uartps.c if (port->uartclk && device->baud) { uartclk 1165 drivers/tty/serial/xilinx_uartps.c cdns_uart_calc_baud_divs(port->uartclk, device->baud, uartclk 1330 drivers/tty/serial/xilinx_uartps.c clk_enable(cdns_uart->uartclk); uartclk 1350 drivers/tty/serial/xilinx_uartps.c clk_disable(cdns_uart->uartclk); uartclk 1370 drivers/tty/serial/xilinx_uartps.c clk_disable(cdns_uart->uartclk); uartclk 1381 drivers/tty/serial/xilinx_uartps.c clk_enable(cdns_uart->uartclk); uartclk 1482 drivers/tty/serial/xilinx_uartps.c cdns_uart_data->uartclk = devm_clk_get(&pdev->dev, "uart_clk"); uartclk 1483 drivers/tty/serial/xilinx_uartps.c if (PTR_ERR(cdns_uart_data->uartclk) == -EPROBE_DEFER) { uartclk 1484 drivers/tty/serial/xilinx_uartps.c rc = PTR_ERR(cdns_uart_data->uartclk); uartclk 1488 drivers/tty/serial/xilinx_uartps.c if (IS_ERR(cdns_uart_data->uartclk)) { uartclk 1489 drivers/tty/serial/xilinx_uartps.c cdns_uart_data->uartclk = devm_clk_get(&pdev->dev, "ref_clk"); uartclk 1490 drivers/tty/serial/xilinx_uartps.c if (IS_ERR(cdns_uart_data->uartclk)) { uartclk 1491 drivers/tty/serial/xilinx_uartps.c rc = PTR_ERR(cdns_uart_data->uartclk); uartclk 1502 drivers/tty/serial/xilinx_uartps.c rc = clk_prepare_enable(cdns_uart_data->uartclk); uartclk 1523 drivers/tty/serial/xilinx_uartps.c if (clk_notifier_register(cdns_uart_data->uartclk, uartclk 1545 drivers/tty/serial/xilinx_uartps.c port->uartclk = clk_get_rate(cdns_uart_data->uartclk); uartclk 1593 drivers/tty/serial/xilinx_uartps.c clk_notifier_unregister(cdns_uart_data->uartclk, uartclk 1597 drivers/tty/serial/xilinx_uartps.c clk_disable_unprepare(cdns_uart_data->uartclk); uartclk 1620 drivers/tty/serial/xilinx_uartps.c clk_notifier_unregister(cdns_uart_data->uartclk, uartclk 1625 drivers/tty/serial/xilinx_uartps.c clk_disable_unprepare(cdns_uart_data->uartclk); uartclk 916 drivers/tty/serial/zs.c uport->uartclk / zport->clk_mode / 4); uartclk 918 drivers/tty/serial/zs.c brg = ZS_BPS_TO_BRG(baud, uport->uartclk / zport->clk_mode); uartclk 1043 drivers/tty/serial/zs.c if (ser->baud_base != uport->uartclk / zport->clk_mode / 4) uartclk 1110 drivers/tty/serial/zs.c uport->uartclk = ZS_CLOCK; uartclk 12 include/linux/altera_uart.h unsigned int uartclk; /* UART clock rate */ uartclk 31 include/linux/platform_data/serial-omap.h unsigned int uartclk; /* UART clock rate */ uartclk 23 include/linux/serial_8250.h unsigned int uartclk; /* UART clock rate */ uartclk 139 include/linux/serial_core.h unsigned int uartclk; /* base uart clock */