quot 370 arch/m68k/math-emu/fp_arith.c unsigned long quot, rem; quot 421 arch/m68k/math-emu/fp_arith.c fp_div64(quot, rem, dest->mant.m32[0], 0, src->mant.m32[0]); quot 422 arch/m68k/math-emu/fp_arith.c dest->mant.m32[0] = 0x80000000 | (quot >> 1); quot 423 arch/m68k/math-emu/fp_arith.c dest->mant.m32[1] = (quot & 1) | rem; /* only for rounding */ quot 425 arch/m68k/math-emu/fp_arith.c fp_div64(quot, rem, dest->mant.m32[0], 0, src->mant.m32[0]); quot 426 arch/m68k/math-emu/fp_arith.c dest->mant.m32[0] = quot; quot 130 arch/m68k/math-emu/multi_arith.h #define fp_div64(quot, rem, srch, srcl, div) \ quot 131 arch/m68k/math-emu/multi_arith.h asm ("divu.l %2,%1:%0" : "=d" (quot), "=d" (rem) \ quot 61 arch/powerpc/platforms/embedded6xx/ls_uart.c unsigned int quot = AVR_QUOT(avr_clock); quot 75 arch/powerpc/platforms/embedded6xx/ls_uart.c out_8(avr_addr + UART_DLL, quot & 0xff); /* LS of divisor */ quot 76 arch/powerpc/platforms/embedded6xx/ls_uart.c out_8(avr_addr + UART_DLM, quot >> 8); /* MS of divisor */ quot 105 arch/x86/boot/early_serial_console.c unsigned int quot; quot 112 arch/x86/boot/early_serial_console.c quot = (dlh << 8) | dll; quot 114 arch/x86/boot/early_serial_console.c return BASE_BAUD / quot; quot 251 drivers/mmc/core/sdio_uart.c unsigned int baud, quot; quot 293 drivers/mmc/core/sdio_uart.c quot = (2 * port->uartclk + baud) / (2 * baud); quot 339 drivers/mmc/core/sdio_uart.c sdio_out(port, UART_DLL, quot & 0xff); quot 340 drivers/mmc/core/sdio_uart.c sdio_out(port, UART_DLM, quot >> 8); quot 4885 drivers/net/wireless/intel/iwlegacy/common.c u32 quot; quot 4892 drivers/net/wireless/intel/iwlegacy/common.c quot = quot 4903 drivers/net/wireless/intel/iwlegacy/common.c return (quot << il->hw_params.beacon_time_tsf_bits) + rem; quot 88 drivers/net/wireless/intel/iwlwifi/dvm/devices.c u32 quot; quot 95 drivers/net/wireless/intel/iwlwifi/dvm/devices.c quot = (usec / interval) & quot 101 drivers/net/wireless/intel/iwlwifi/dvm/devices.c return (quot << IWLAGN_EXT_BEACON_TIME_POS) + rem; quot 48 drivers/staging/speakup/serialio.c int baud = 9600, quot = 0; quot 61 drivers/staging/speakup/serialio.c quot = ser->baud_base / baud; quot 88 drivers/staging/speakup/serialio.c outb(quot & 0xff, ser->port + UART_DLL); /* LS of divisor */ quot 89 drivers/staging/speakup/serialio.c outb(quot >> 8, ser->port + UART_DLM); /* MS of divisor */ quot 106 drivers/tty/amiserial.c int quot; quot 650 drivers/tty/amiserial.c int quot = 0, baud_base, baud; quot 681 drivers/tty/amiserial.c quot = info->custom_divisor; quot 685 drivers/tty/amiserial.c quot = (2*baud_base / 269); quot 687 drivers/tty/amiserial.c quot = baud_base / baud; quot 690 drivers/tty/amiserial.c if (!quot && old_termios) { quot 699 drivers/tty/amiserial.c quot = info->custom_divisor; quot 703 drivers/tty/amiserial.c quot = (2*baud_base / 269); quot 705 drivers/tty/amiserial.c quot = baud_base / baud; quot 709 drivers/tty/amiserial.c if (!quot) quot 710 drivers/tty/amiserial.c quot = baud_base / 9600; quot 711 drivers/tty/amiserial.c info->quot = quot; quot 712 drivers/tty/amiserial.c info->timeout = ((info->xmit_fifo_size*HZ*bits*quot) / baud_base); quot 765 drivers/tty/amiserial.c serper = quot - 1; quot 1513 drivers/tty/amiserial.c if (state->quot) quot 1514 drivers/tty/amiserial.c seq_printf(m, " baud:%d", state->baud_base / state->quot); quot 571 drivers/tty/mxser.c unsigned int quot = 0, baud; quot 582 drivers/tty/mxser.c quot = 2 * info->baud_base / 269; quot 585 drivers/tty/mxser.c quot = info->baud_base / newspd; quot 586 drivers/tty/mxser.c if (quot == 0) quot 587 drivers/tty/mxser.c quot = 1; quot 588 drivers/tty/mxser.c baud = info->baud_base/quot; quot 591 drivers/tty/mxser.c quot = 0; quot 598 drivers/tty/mxser.c timeout = (u64)info->xmit_fifo_size * HZ * 10 * quot; quot 602 drivers/tty/mxser.c if (quot) { quot 615 drivers/tty/mxser.c outb(quot & 0xff, info->ioaddr + UART_DLL); /* LS of divisor */ quot 616 drivers/tty/mxser.c outb(quot >> 8, info->ioaddr + UART_DLM); /* MS of divisor */ quot 621 drivers/tty/mxser.c quot = info->baud_base % newspd; quot 622 drivers/tty/mxser.c quot *= 8; quot 623 drivers/tty/mxser.c if (quot % newspd > newspd / 2) { quot 624 drivers/tty/mxser.c quot /= newspd; quot 625 drivers/tty/mxser.c quot++; quot 627 drivers/tty/mxser.c quot /= newspd; quot 629 drivers/tty/mxser.c mxser_set_must_enum_value(info->ioaddr, quot); quot 214 drivers/tty/serial/21285.c unsigned int baud, quot, h_lcr, b; quot 231 drivers/tty/serial/21285.c quot = uart_get_divisor(port, baud); quot 232 drivers/tty/serial/21285.c b = port->uartclk / (16 * quot); quot 290 drivers/tty/serial/21285.c quot -= 1; quot 293 drivers/tty/serial/21285.c *CSR_L_UBRLCR = quot & 0xff; quot 294 drivers/tty/serial/21285.c *CSR_M_UBRLCR = (quot >> 8) & 0x0f; quot 63 drivers/tty/serial/8250/8250_dwlib.c unsigned int quot, rem, base_baud = baud * 16; quot 66 drivers/tty/serial/8250/8250_dwlib.c quot = p->uartclk / base_baud; quot 70 drivers/tty/serial/8250/8250_dwlib.c return quot; quot 74 drivers/tty/serial/8250/8250_dwlib.c unsigned int quot, unsigned int quot_frac) quot 77 drivers/tty/serial/8250/8250_dwlib.c serial8250_do_set_divisor(p, baud, quot, quot_frac); quot 168 drivers/tty/serial/8250/8250_exar.c unsigned int quot, unsigned int quot_frac) quot 170 drivers/tty/serial/8250/8250_exar.c serial8250_do_set_divisor(p, baud, quot, quot_frac); quot 293 drivers/tty/serial/8250/8250_mtk.c unsigned int baud, quot, fraction; quot 329 drivers/tty/serial/8250/8250_mtk.c quot = uart_get_divisor(port, baud); quot 332 drivers/tty/serial/8250/8250_mtk.c quot = DIV_ROUND_UP(port->uartclk, 256 * baud); quot 343 drivers/tty/serial/8250/8250_mtk.c serial_dl_write(up, quot); quot 351 drivers/tty/serial/8250/8250_mtk.c tmp = (port->uartclk / (baud * quot)) - 1; quot 357 drivers/tty/serial/8250/8250_mtk.c fraction = ((port->uartclk * 100) / baud / quot) % 100; quot 110 drivers/tty/serial/8250/8250_omap.c u16 quot; quot 211 drivers/tty/serial/8250/8250_omap.c priv->quot = port->custom_divisor & UART_DIV_MAX; quot 236 drivers/tty/serial/8250/8250_omap.c priv->quot = div_16; quot 239 drivers/tty/serial/8250/8250_omap.c priv->quot = div_13; quot 312 drivers/tty/serial/8250/8250_omap.c serial_dl_write(up, priv->quot); quot 1346 drivers/tty/serial/8250/8250_pci.c unsigned int quot, unsigned int quot_frac) quot 1372 drivers/tty/serial/8250/8250_pci.c serial8250_do_set_divisor(port, baud, quot, quot_frac); quot 1064 drivers/tty/serial/8250/8250_port.c unsigned short quot; quot 1068 drivers/tty/serial/8250/8250_port.c quot = serial_dl_read(up); quot 1069 drivers/tty/serial/8250/8250_port.c quot <<= 3; quot 1072 drivers/tty/serial/8250/8250_port.c serial_dl_write(up, quot); quot 2427 drivers/tty/serial/8250/8250_port.c unsigned int quot; quot 2436 drivers/tty/serial/8250/8250_port.c quot = 0x8001; quot 2439 drivers/tty/serial/8250/8250_port.c quot = 0x8002; quot 2441 drivers/tty/serial/8250/8250_port.c quot = npcm_get_divisor(up, baud); quot 2443 drivers/tty/serial/8250/8250_port.c quot = uart_get_divisor(port, baud); quot 2448 drivers/tty/serial/8250/8250_port.c if (up->bugs & UART_BUG_QUOT && (quot & 0xff) == 0) quot 2449 drivers/tty/serial/8250/8250_port.c quot++; quot 2451 drivers/tty/serial/8250/8250_port.c return quot; quot 2503 drivers/tty/serial/8250/8250_port.c unsigned int quot, unsigned int quot_frac) quot 2510 drivers/tty/serial/8250/8250_port.c quot = 1; quot 2525 drivers/tty/serial/8250/8250_port.c serial_dl_write(up, quot); quot 2530 drivers/tty/serial/8250/8250_port.c unsigned int quot, unsigned int quot_frac) quot 2533 drivers/tty/serial/8250/8250_port.c port->set_divisor(port, baud, quot, quot_frac); quot 2535 drivers/tty/serial/8250/8250_port.c serial8250_do_set_divisor(port, baud, quot, quot_frac); quot 2560 drivers/tty/serial/8250/8250_port.c unsigned int baud, quot, frac = 0; quot 2571 drivers/tty/serial/8250/8250_port.c quot = serial8250_get_divisor(port, baud, &frac); quot 2665 drivers/tty/serial/8250/8250_port.c serial8250_set_divisor(port, baud, quot, frac); quot 3125 drivers/tty/serial/8250/8250_port.c unsigned int baud, quot, frac = 0; quot 3132 drivers/tty/serial/8250/8250_port.c quot = serial8250_get_divisor(port, baud, &frac); quot 3134 drivers/tty/serial/8250/8250_port.c serial8250_set_divisor(port, baud, quot, frac); quot 3205 drivers/tty/serial/8250/8250_port.c unsigned int quot; quot 3213 drivers/tty/serial/8250/8250_port.c quot = (dlm << 8) | dll; quot 3214 drivers/tty/serial/8250/8250_port.c return (port->uartclk / 16) / quot; quot 388 drivers/tty/serial/amba-pl010.c unsigned int baud, quot; quot 394 drivers/tty/serial/amba-pl010.c quot = uart_get_divisor(port, baud); quot 464 drivers/tty/serial/amba-pl010.c quot -= 1; quot 465 drivers/tty/serial/amba-pl010.c writel((quot & 0xf00) >> 8, uap->port.membase + UART010_LCRM); quot 466 drivers/tty/serial/amba-pl010.c writel(quot & 0xff, uap->port.membase + UART010_LCRL); quot 615 drivers/tty/serial/amba-pl010.c unsigned int lcr_h, quot; quot 631 drivers/tty/serial/amba-pl010.c quot = readb(uap->port.membase + UART010_LCRL) | quot 633 drivers/tty/serial/amba-pl010.c *baud = uap->port.uartclk / (16 * (quot + 1)); quot 1953 drivers/tty/serial/amba-pl011.c unsigned int baud, quot, clkdiv; quot 1974 drivers/tty/serial/amba-pl011.c quot = DIV_ROUND_CLOSEST(port->uartclk * 8, baud); quot 1976 drivers/tty/serial/amba-pl011.c quot = DIV_ROUND_CLOSEST(port->uartclk * 4, baud); quot 2045 drivers/tty/serial/amba-pl011.c if ((baud >= 3000000) && (baud < 3250000) && (quot > 1)) quot 2046 drivers/tty/serial/amba-pl011.c quot -= 1; quot 2047 drivers/tty/serial/amba-pl011.c else if ((baud > 3250000) && (quot > 2)) quot 2048 drivers/tty/serial/amba-pl011.c quot -= 2; quot 2051 drivers/tty/serial/amba-pl011.c pl011_write(quot & 0x3f, uap, REG_FBRD); quot 2052 drivers/tty/serial/amba-pl011.c pl011_write(quot >> 6, uap, REG_IBRD); quot 241 drivers/tty/serial/apbuart.c unsigned int baud, quot; quot 249 drivers/tty/serial/apbuart.c quot = (uart_get_divisor(port, baud)) * 2; quot 282 drivers/tty/serial/apbuart.c quot -= 1; quot 283 drivers/tty/serial/apbuart.c UART_PUT_SCAL(port, quot); quot 460 drivers/tty/serial/apbuart.c unsigned int quot, status; quot 472 drivers/tty/serial/apbuart.c quot = UART_GET_SCAL(port) / 8; quot 473 drivers/tty/serial/apbuart.c *baud = port->uartclk / (16 * (quot + 1)); quot 2137 drivers/tty/serial/atmel_serial.c unsigned int old_mode, mode, imr, quot, baud, div, cd, fp = 0; quot 2296 drivers/tty/serial/atmel_serial.c quot = cd | fp << ATMEL_US_FP_OFFSET; quot 2299 drivers/tty/serial/atmel_serial.c atmel_uart_writel(port, ATMEL_US_BRGR, quot); quot 2601 drivers/tty/serial/atmel_serial.c unsigned int mr, quot; quot 2607 drivers/tty/serial/atmel_serial.c quot = atmel_uart_readl(port, ATMEL_US_BRGR) & ATMEL_US_CD; quot 2608 drivers/tty/serial/atmel_serial.c if (!quot) quot 2629 drivers/tty/serial/atmel_serial.c *baud = port->uartclk / (16 * (quot - 1)); quot 505 drivers/tty/serial/bcm63xx_uart.c unsigned int ctl, baud, quot, ier; quot 554 drivers/tty/serial/bcm63xx_uart.c quot = uart_get_divisor(port, baud) - 1; quot 555 drivers/tty/serial/bcm63xx_uart.c bcm_uart_writel(port, quot, UART_BAUD_REG); quot 261 drivers/tty/serial/clps711x.c unsigned int baud, quot; quot 270 drivers/tty/serial/clps711x.c quot = uart_get_divisor(port, baud); quot 313 drivers/tty/serial/clps711x.c writel(ubrlcr | (quot - 1), port->membase + UBRLCR_OFFSET); quot 389 drivers/tty/serial/clps711x.c unsigned int quot; quot 418 drivers/tty/serial/clps711x.c quot = ubrlcr & UBRLCR_BAUD_MASK; quot 419 drivers/tty/serial/clps711x.c baud = port->uartclk / (16 * (quot + 1)); quot 1570 drivers/tty/serial/imx.c unsigned int baud, quot; quot 1592 drivers/tty/serial/imx.c quot = uart_get_divisor(port, baud); quot 1673 drivers/tty/serial/imx.c if (baud == 38400 && quot != div) quot 1674 drivers/tty/serial/imx.c baud = sport->port.uartclk / (quot * 16); quot 684 drivers/tty/serial/jsm/jsm_cls.c int quot = 0; quot 761 drivers/tty/serial/jsm/jsm_cls.c quot = ch->ch_bd->bd_dividend / baud; quot 763 drivers/tty/serial/jsm/jsm_cls.c if (quot != 0) { quot 765 drivers/tty/serial/jsm/jsm_cls.c writeb((quot & 0xff), &ch->ch_cls_uart->txrx); quot 766 drivers/tty/serial/jsm/jsm_cls.c writeb((quot >> 8), &ch->ch_cls_uart->ier); quot 928 drivers/tty/serial/jsm/jsm_neo.c int quot; quot 1028 drivers/tty/serial/jsm/jsm_neo.c quot = ch->ch_bd->bd_dividend / baud; quot 1030 drivers/tty/serial/jsm/jsm_neo.c if (quot != 0) { quot 1032 drivers/tty/serial/jsm/jsm_neo.c writeb((quot & 0xff), &ch->ch_neo_uart->txrx); quot 1033 drivers/tty/serial/jsm/jsm_neo.c writeb((quot >> 8), &ch->ch_neo_uart->ier); quot 505 drivers/tty/serial/lpc32xx_hs.c unsigned int baud, quot; quot 517 drivers/tty/serial/lpc32xx_hs.c quot = __serial_get_clock_div(port->uartclk, baud); quot 529 drivers/tty/serial/lpc32xx_hs.c writel(quot, LPC32XX_HSUART_RATE(port->membase)); quot 308 drivers/tty/serial/milbeaut_usio.c unsigned long flags, baud, quot; quot 341 drivers/tty/serial/milbeaut_usio.c quot = port->uartclk / baud - 1; quot 343 drivers/tty/serial/milbeaut_usio.c quot = 0; quot 366 drivers/tty/serial/milbeaut_usio.c writew(quot, port->membase + MLB_USIO_REG_BGR); quot 1405 drivers/tty/serial/mxs-auart.c unsigned int lcr_h, quot; quot 1425 drivers/tty/serial/mxs-auart.c quot = ((mxs_read(s, REG_LINECTRL) & AUART_LINECTRL_BAUD_DIVINT_MASK)) quot 1427 drivers/tty/serial/mxs-auart.c quot |= ((mxs_read(s, REG_LINECTRL) & AUART_LINECTRL_BAUD_DIVFRAC_MASK)) quot 1429 drivers/tty/serial/mxs-auart.c if (quot == 0) quot 1430 drivers/tty/serial/mxs-auart.c quot = 1; quot 1432 drivers/tty/serial/mxs-auart.c *baud = (port->uartclk << 2) / quot; quot 845 drivers/tty/serial/omap-serial.c unsigned int baud, quot; quot 877 drivers/tty/serial/omap-serial.c quot = serial_omap_get_divisor(port, baud); quot 884 drivers/tty/serial/omap-serial.c up->dll = quot & 0xff; quot 885 drivers/tty/serial/omap-serial.c up->dlh = quot >> 8; quot 533 drivers/tty/serial/pic32_uart.c unsigned int quot; quot 594 drivers/tty/serial/pic32_uart.c quot = uart_get_divisor(port, baud) - 1; quot 595 drivers/tty/serial/pic32_uart.c pic32_uart_writel(sport, PIC32_UART_BRG, quot); quot 445 drivers/tty/serial/pnx8xxx_uart.c unsigned int lcr_fcr, old_ien, baud, quot; quot 475 drivers/tty/serial/pnx8xxx_uart.c quot = uart_get_divisor(port, baud); quot 545 drivers/tty/serial/pnx8xxx_uart.c quot -= 1; quot 546 drivers/tty/serial/pnx8xxx_uart.c serial_out(sport, PNX8XXX_BAUD, quot); quot 434 drivers/tty/serial/pxa.c unsigned int baud, quot; quot 464 drivers/tty/serial/pxa.c quot = uart_get_divisor(port, baud); quot 466 drivers/tty/serial/pxa.c if ((up->port.uartclk / quot) < (2400 * 16)) quot 468 drivers/tty/serial/pxa.c else if ((up->port.uartclk / quot) < (230400 * 16)) quot 533 drivers/tty/serial/pxa.c serial_out(up, UART_DLL, quot & 0xff); /* LS of divisor */ quot 540 drivers/tty/serial/pxa.c WARN_ON(dll != (quot & 0xff)); quot 542 drivers/tty/serial/pxa.c serial_out(up, UART_DLM, quot >> 8); /* MS of divisor */ quot 425 drivers/tty/serial/sa1100.c unsigned int utcr0, old_utcr3, baud, quot; quot 455 drivers/tty/serial/sa1100.c quot = uart_get_divisor(port, baud); quot 510 drivers/tty/serial/sa1100.c quot -= 1; quot 511 drivers/tty/serial/sa1100.c UART_PUT_UTCR1(sport, ((quot & 0xf00) >> 8)); quot 512 drivers/tty/serial/sa1100.c UART_PUT_UTCR2(sport, (quot & 0xff)); quot 757 drivers/tty/serial/sa1100.c unsigned int utcr0, quot; quot 774 drivers/tty/serial/sa1100.c quot = UART_GET_UTCR2(sport) | UART_GET_UTCR1(sport) << 8; quot 775 drivers/tty/serial/sa1100.c quot &= 0xfff; quot 776 drivers/tty/serial/sa1100.c *baud = sport->port.uartclk / (16 * (quot + 1)); quot 1190 drivers/tty/serial/samsung.c unsigned int cnt, baud, quot, clk_sel, best_quot = 0; quot 1220 drivers/tty/serial/samsung.c quot = div / 16; quot 1223 drivers/tty/serial/samsung.c quot = (rate + (8 * req_baud)) / (16 * req_baud); quot 1224 drivers/tty/serial/samsung.c baud = rate / (quot * 16); quot 1226 drivers/tty/serial/samsung.c quot--; quot 1234 drivers/tty/serial/samsung.c best_quot = quot; quot 1275 drivers/tty/serial/samsung.c unsigned int baud, quot, clk_sel = 0; quot 1291 drivers/tty/serial/samsung.c quot = s3c24xx_serial_getclk(ourport, baud, &clk, &clk_sel); quot 1293 drivers/tty/serial/samsung.c quot = port->custom_divisor; quot 1363 drivers/tty/serial/samsung.c ulcon, quot, udivslot); quot 1366 drivers/tty/serial/samsung.c wr_regl(port, S3C2410_UBRDIV, quot); quot 484 drivers/tty/serial/serial_core.c unsigned int quot; quot 490 drivers/tty/serial/serial_core.c quot = port->custom_divisor; quot 492 drivers/tty/serial/serial_core.c quot = DIV_ROUND_CLOSEST(port->uartclk, 16 * baud); quot 494 drivers/tty/serial/serial_core.c return quot; quot 205 drivers/tty/serial/serial_txx9.c sio_quot_set(struct uart_txx9_port *up, int quot) quot 207 drivers/tty/serial/serial_txx9.c quot >>= 1; quot 208 drivers/tty/serial/serial_txx9.c if (quot < 256) quot 209 drivers/tty/serial/serial_txx9.c sio_out(up, TXX9_SIBGR, quot | TXX9_SIBGR_BCLK_T0); quot 210 drivers/tty/serial/serial_txx9.c else if (quot < (256 << 2)) quot 211 drivers/tty/serial/serial_txx9.c sio_out(up, TXX9_SIBGR, (quot >> 2) | TXX9_SIBGR_BCLK_T2); quot 212 drivers/tty/serial/serial_txx9.c else if (quot < (256 << 4)) quot 213 drivers/tty/serial/serial_txx9.c sio_out(up, TXX9_SIBGR, (quot >> 4) | TXX9_SIBGR_BCLK_T4); quot 214 drivers/tty/serial/serial_txx9.c else if (quot < (256 << 6)) quot 215 drivers/tty/serial/serial_txx9.c sio_out(up, TXX9_SIBGR, (quot >> 6) | TXX9_SIBGR_BCLK_T6); quot 631 drivers/tty/serial/serial_txx9.c unsigned int baud, quot; quot 669 drivers/tty/serial/serial_txx9.c quot = uart_get_divisor(port, baud); quot 726 drivers/tty/serial/serial_txx9.c sio_quot_set(up, quot); quot 782 drivers/tty/serial/sprd_serial.c unsigned int baud, quot; quot 789 drivers/tty/serial/sprd_serial.c quot = port->uartclk / baud; quot 861 drivers/tty/serial/sprd_serial.c serial_out(port, SPRD_CLKD0, quot & SPRD_CLKD0_MASK); quot 865 drivers/tty/serial/sprd_serial.c (quot & SPRD_CLKD1_MASK) >> SPRD_CLKD1_SHIFT); quot 333 drivers/tty/serial/sunhv.c unsigned int quot = uart_get_divisor(port, baud); quot 350 drivers/tty/serial/sunhv.c (port->uartclk / (16 * quot))); quot 685 drivers/tty/serial/sunsab.c unsigned int quot) quot 770 drivers/tty/serial/sunsab.c (up->port.uartclk / (16 * quot))); quot 789 drivers/tty/serial/sunsab.c unsigned int quot = uart_get_divisor(port, baud); quot 792 drivers/tty/serial/sunsab.c sunsab_convert_to_sab(up, termios->c_cflag, termios->c_iflag, baud, quot); quot 884 drivers/tty/serial/sunsab.c unsigned int baud, quot; quot 940 drivers/tty/serial/sunsab.c quot = uart_get_divisor(&up->port, baud); quot 941 drivers/tty/serial/sunsab.c sunsab_convert_to_sab(up, con->cflag, 0, baud, quot); quot 490 drivers/tty/serial/sunsu.c unsigned int iflag, unsigned int quot); quot 495 drivers/tty/serial/sunsu.c int quot, new_baud; quot 500 drivers/tty/serial/sunsu.c quot = up->port.uartclk / (16 * new_baud); quot 502 drivers/tty/serial/sunsu.c sunsu_change_speed(&up->port, up->cflag, 0, quot); quot 779 drivers/tty/serial/sunsu.c unsigned int iflag, unsigned int quot) quot 818 drivers/tty/serial/sunsu.c if ((quot & 0xff) == 0 && up->port.type == PORT_16C950 && quot 820 drivers/tty/serial/sunsu.c quot ++; quot 823 drivers/tty/serial/sunsu.c if ((up->port.uartclk / quot) < (2400 * 16)) quot 844 drivers/tty/serial/sunsu.c uart_update_timeout(port, cflag, (port->uartclk / (16 * quot))); quot 888 drivers/tty/serial/sunsu.c serial_outp(up, UART_DLL, quot & 0xff); /* LS of divisor */ quot 889 drivers/tty/serial/sunsu.c serial_outp(up, UART_DLM, quot >> 8); /* MS of divisor */ quot 911 drivers/tty/serial/sunsu.c unsigned int baud, quot; quot 917 drivers/tty/serial/sunsu.c quot = uart_get_divisor(port, baud); quot 919 drivers/tty/serial/sunsu.c sunsu_change_speed(port, termios->c_cflag, termios->c_iflag, quot); quot 1198 drivers/tty/serial/sunsu.c int quot, baud; quot 1210 drivers/tty/serial/sunsu.c quot = up->port.uartclk / (16 * baud); quot 1247 drivers/tty/serial/sunsu.c sunsu_change_speed(&up->port, up->cflag, 0, quot); quot 507 drivers/tty/serial/vr41xx_siu.c unsigned int baud, quot; quot 536 drivers/tty/serial/vr41xx_siu.c quot = uart_get_divisor(port, baud); quot 572 drivers/tty/serial/vr41xx_siu.c siu_write(port, UART_DLL, (uint8_t)quot); quot 573 drivers/tty/serial/vr41xx_siu.c siu_write(port, UART_DLM, (uint8_t)(quot >> 8)); quot 95 drivers/usb/host/isp116x-hcd.c int quot = len % 4; quot 120 drivers/usb/host/isp116x-hcd.c if (quot == 1 || quot == 2) quot 132 drivers/usb/host/isp116x-hcd.c int quot = len % 4; quot 158 drivers/usb/host/isp116x-hcd.c if (quot == 1 || quot == 2) quot 65 drivers/usb/serial/ark3116.c int quot; /* baudrate divisor */ quot 164 drivers/usb/serial/ark3116.c priv->quot = calc_divisor(9600); quot 165 drivers/usb/serial/ark3116.c ark3116_write_reg(serial, UART_DLL, priv->quot & 0xff); quot 166 drivers/usb/serial/ark3116.c ark3116_write_reg(serial, UART_DLM, (priv->quot>>8) & 0xff); quot 201 drivers/usb/serial/ark3116.c int quot; quot 238 drivers/usb/serial/ark3116.c quot = calc_divisor(9600); quot 243 drivers/usb/serial/ark3116.c quot = calc_divisor(bps); quot 247 drivers/usb/serial/ark3116.c quot = calc_divisor(bps); quot 251 drivers/usb/serial/ark3116.c quot = calc_divisor(bps); quot 262 drivers/usb/serial/ark3116.c __func__, hcr, lcr, quot); quot 271 drivers/usb/serial/ark3116.c if (priv->quot != quot) { quot 272 drivers/usb/serial/ark3116.c priv->quot = quot; quot 282 drivers/usb/serial/ark3116.c ark3116_write_reg(serial, UART_DLL, quot & 0xff); quot 283 drivers/usb/serial/ark3116.c ark3116_write_reg(serial, UART_DLM, (quot>>8) & 0xff); quot 172 include/linux/kernel.h typeof(x) quot = (x) / (denom); \ quot 174 include/linux/kernel.h (quot * (numer)) + ((rem * (numer)) / (denom)); \ quot 165 include/linux/serial_8250.h unsigned int quot, quot 123 include/linux/serial_core.h unsigned int quot, quot 105 lib/math/div64.c u64 quot; quot 109 lib/math/div64.c quot = div_u64_rem(dividend, divisor, &rem32); quot 113 lib/math/div64.c quot = div_u64(dividend >> n, divisor >> n); quot 115 lib/math/div64.c if (quot != 0) quot 116 lib/math/div64.c quot--; quot 118 lib/math/div64.c *remainder = dividend - quot * divisor; quot 120 lib/math/div64.c quot++; quot 125 lib/math/div64.c return quot; quot 145 lib/math/div64.c u64 quot; quot 148 lib/math/div64.c quot = div_u64(dividend, divisor); quot 151 lib/math/div64.c quot = div_u64(dividend >> n, divisor >> n); quot 153 lib/math/div64.c if (quot != 0) quot 154 lib/math/div64.c quot--; quot 155 lib/math/div64.c if ((dividend - quot * divisor) >= divisor) quot 156 lib/math/div64.c quot++; quot 159 lib/math/div64.c return quot; quot 172 lib/math/div64.c s64 quot, t; quot 174 lib/math/div64.c quot = div64_u64(abs(dividend), abs(divisor)); quot 177 lib/math/div64.c return (quot ^ t) - t; quot 66 tools/perf/arch/x86/tests/rdpmc.c u64 quot, rem; quot 68 tools/perf/arch/x86/tests/rdpmc.c quot = (cyc >> time_shift); quot 70 tools/perf/arch/x86/tests/rdpmc.c delta = time_offset + quot * time_mult + quot 77 tools/perf/arch/x86/tests/rdpmc.c quot = count / running; quot 79 tools/perf/arch/x86/tests/rdpmc.c count = quot * enabled + (rem * enabled) / running; quot 841 tools/perf/util/intel-pt.c u64 quot, rem; quot 843 tools/perf/util/intel-pt.c quot = ns / pt->tc.time_mult; quot 845 tools/perf/util/intel-pt.c return (quot << pt->tc.time_shift) + (rem << pt->tc.time_shift) / quot 9 tools/perf/util/tsc.c u64 t, quot, rem; quot 12 tools/perf/util/tsc.c quot = t / tc->time_mult; quot 14 tools/perf/util/tsc.c return (quot << tc->time_shift) + quot 20 tools/perf/util/tsc.c u64 quot, rem; quot 22 tools/perf/util/tsc.c quot = cyc >> tc->time_shift; quot 24 tools/perf/util/tsc.c return tc->time_zero + quot * tc->time_mult +