Home
last modified time | relevance | path

Searched refs:UART_LCR_DLAB (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/u-boot/include/linux/
H A Dserial_reg.h94 #define UART_LCR_DLAB 0x80 /* Divisor latch access bit */ macro
109 #define UART_LCR_CONF_MODE_A UART_LCR_DLAB /* Configutation mode A */
/openbmc/linux/include/uapi/linux/
H A Dserial_reg.h109 #define UART_LCR_DLAB 0x80 /* Divisor latch access bit */ macro
124 #define UART_LCR_CONF_MODE_A UART_LCR_DLAB /* Configutation mode A */
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_early.c140 serial8250_early_out(port, UART_LCR, c | UART_LCR_DLAB); in init_port()
143 serial8250_early_out(port, UART_LCR, c & ~UART_LCR_DLAB); in init_port()
H A D8250_ingenic.c110 early_out(port, UART_LCR, UART_LCR_DLAB | UART_LCR_WLEN8); in ingenic_earlycon_setup_tail()
118 early_out(port, UART_LCR, UART_LCR_DLAB | UART_LCR_WLEN8); in ingenic_earlycon_setup_tail()
H A D8250_pericom.c76 serial_port_out(port, UART_LCR, lcr | UART_LCR_DLAB); in pericom_do_set_divisor()
H A D8250_uniphier.c111 value &= ~UART_LCR_DLAB; in uniphier_serial_out()
H A D8250_mtk.c383 serial_port_out(port, UART_LCR, up->lcr | UART_LCR_DLAB); in mtk8250_set_termios()
/openbmc/linux/drivers/media/rc/
H A Dserial_ir.c422 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in hardware_init_port()
450 soutp(UART_LCR, sinp(UART_LCR) | UART_LCR_DLAB); in hardware_init_port()
610 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in serial_ir_open()
626 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in serial_ir_close()
689 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in serial_ir_suspend()
/openbmc/u-boot/drivers/serial/
H A Dserial_mtk.c45 #define UART_LCR_DLAB 0x80 /* Divisor latch access bit */ macro
105 writel(UART_LCR_WLS_8 | UART_LCR_DLAB, &priv->regs->lcr); in _mtk_serial_setbrg()
/openbmc/qemu/hw/char/
H A Dserial.c41 #define UART_LCR_DLAB 0x80 /* Divisor latch access bit */ macro
342 if (s->lcr & UART_LCR_DLAB) { in serial_ioport_write()
364 if (s->lcr & UART_LCR_DLAB) { in serial_ioport_write()
478 if (s->lcr & UART_LCR_DLAB) { in serial_ioport_read()
502 if (s->lcr & UART_LCR_DLAB) { in serial_ioport_read()
/openbmc/u-boot/include/
H A Dns16550.h161 #define UART_LCR_DLAB 0x80 /* Divisor latch access bit */ macro
/openbmc/linux/arch/powerpc/platforms/embedded6xx/
H A Dls_uart.c75 out_8(avr_addr + UART_LCR, cval | UART_LCR_DLAB); /* set DLAB */ in avr_uart_configure()
/openbmc/linux/drivers/usb/serial/
H A Dark3116.c161 ark3116_write_reg(serial, UART_LCR, UART_LCR_DLAB); in ark3116_port_probe()
265 lcr|UART_LCR_DLAB); in ark3116_set_termios()
H A Dmos7720.c1224 mos7720_port->shadowLCR = mos7720_port->shadowLCR | UART_LCR_DLAB; in set_higher_rates()
1229 mos7720_port->shadowLCR = mos7720_port->shadowLCR & ~UART_LCR_DLAB; in set_higher_rates()
1338 mos7720_port->shadowLCR = mos7720_port->shadowLCR | UART_LCR_DLAB; in send_cmd_write_baud_rate()
1347 mos7720_port->shadowLCR = mos7720_port->shadowLCR & ~UART_LCR_DLAB; in send_cmd_write_baud_rate()
H A Df81232.c536 lcr | UART_LCR_DLAB); /* Enable DLAB */ in f81232_set_baudrate()
560 lcr & ~UART_LCR_DLAB); in f81232_set_baudrate()
H A Df81534.c622 value = UART_LCR_DLAB; in f81534_set_port_config()
/openbmc/linux/drivers/accessibility/speakup/
H A Dserialio.c89 outb(cval | UART_LCR_DLAB, ser->port + UART_LCR); /* set DLAB */ in spk_serial_init()
/openbmc/linux/sound/drivers/
H A Dserial-u16550.c381 outb(UART_LCR_DLAB /* Divisor latch access bit */ in snd_uart16550_do_open()
487 outb(UART_LCR_DLAB /* Divisor latch access bit */ in snd_uart16550_do_close()
/openbmc/linux/drivers/tty/serial/
H A Dsunsu.c877 serial_outp(up, UART_LCR, cval | UART_LCR_DLAB);/* set DLAB */ in sunsu_change_speed()
1109 serial_outp(up, UART_LCR, UART_LCR_DLAB); in sunsu_autoconfig()
1120 serial_outp(up, UART_LCR, save_lcr | UART_LCR_DLAB); in sunsu_autoconfig()
H A Dserial-tegra.c416 lcr |= UART_LCR_DLAB; in tegra_set_baudrate()
422 lcr &= ~UART_LCR_DLAB; in tegra_set_baudrate()
H A Dpxa.c492 serial_out(up, UART_LCR, cval | UART_LCR_DLAB); /* set DLAB */ in serial_pxa_set_termios()
/openbmc/linux/drivers/tty/serial/jsm/
H A Djsm_cls.c740 writeb(UART_LCR_DLAB, &ch->ch_cls_uart->lcr); in cls_param()
H A Djsm_neo.c1014 writeb(UART_LCR_DLAB, &ch->ch_neo_uart->lcr); in neo_param()
/openbmc/linux/drivers/mmc/core/
H A Dsdio_uart.c325 sdio_out(port, UART_LCR, cval | UART_LCR_DLAB); in sdio_uart_change_speed()
/openbmc/linux/samples/vfio-mdev/
H A Dmtty.c458 if (data & UART_LCR_DLAB) { in handle_bar_write()

12