Lines Matching full:divisor
91 #define REG_BRDL 0x00 /* Baud rate divisor (LSB) */
92 #define REG_BRDH 0x01 /* Baud rate divisor (MSB) */
101 #define REG_DLF 0xC0 /* Divisor Latch Fraction */
214 #define LCR_DLAB 0x80 /* divisor latch access enable */
493 * calculate baud rate divisor. a variant of
505 uint32_t divisor = 0; local
508 /* Baud rate divisor for high speed */
510 divisor = IT8XXX2_230400_DIVISOR;
512 divisor = IT8XXX2_460800_DIVISOR;
522 divisor = get_uart_baudrate_divisor(dev, baud_rate, pclk);
527 return divisor;
547 uint32_t divisor; /* baud rate divisor */ local
552 divisor = get_ite_uart_baudrate_divisor(dev, baud_rate, pclk);
554 divisor = get_uart_baudrate_divisor(dev, baud_rate, pclk);
556 /* set the DLAB to access the baud rate divisor registers */
559 ns16550_outbyte(dev_cfg, BRDL(dev), (unsigned char)(divisor & 0xff));
560 ns16550_outbyte(dev_cfg, BRDH(dev), (unsigned char)((divisor >> 8) & 0xff));
562 /* restore the DLAB to access the baud rate divisor registers */