Lines Matching refs:quot
571 unsigned int quot = 0, baud; in mxser_set_baud() local
582 quot = 2 * info->baud_base / 269; in mxser_set_baud()
585 quot = info->baud_base / newspd; in mxser_set_baud()
586 if (quot == 0) in mxser_set_baud()
587 quot = 1; in mxser_set_baud()
588 baud = info->baud_base/quot; in mxser_set_baud()
591 quot = 0; in mxser_set_baud()
598 timeout = (u64)info->xmit_fifo_size * HZ * 10 * quot; in mxser_set_baud()
602 if (quot) { in mxser_set_baud()
615 outb(quot & 0xff, info->ioaddr + UART_DLL); /* LS of divisor */ in mxser_set_baud()
616 outb(quot >> 8, info->ioaddr + UART_DLM); /* MS of divisor */ in mxser_set_baud()
621 quot = info->baud_base % newspd; in mxser_set_baud()
622 quot *= 8; in mxser_set_baud()
623 if (quot % newspd > newspd / 2) { in mxser_set_baud()
624 quot /= newspd; in mxser_set_baud()
625 quot++; in mxser_set_baud()
627 quot /= newspd; in mxser_set_baud()
629 mxser_set_must_enum_value(info->ioaddr, quot); in mxser_set_baud()