Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/powerpc/boot/
Dvirtex.c25 #define UART_LCR_DLAB 0x80 /* Divisor latch access bit */ macro
58 out_8(reg_base + (UART_LCR << reg_shift), UART_LCR_DLAB); in virtex_ns16550_console_init()
/Linux-v4.19/include/uapi/linux/
Dserial_reg.h103 #define UART_LCR_DLAB 0x80 /* Divisor latch access bit */ macro
118 #define UART_LCR_CONF_MODE_A UART_LCR_DLAB /* Configutation mode A */
/Linux-v4.19/drivers/tty/serial/8250/
D8250_early.c128 serial8250_early_out(port, UART_LCR, c | UART_LCR_DLAB); in init_port()
131 serial8250_early_out(port, UART_LCR, c & ~UART_LCR_DLAB); in init_port()
D8250_ingenic.c113 early_out(port, UART_LCR, UART_LCR_DLAB | UART_LCR_WLEN8); in ingenic_early_console_setup()
121 early_out(port, UART_LCR, UART_LCR_DLAB | UART_LCR_WLEN8); in ingenic_early_console_setup()
D8250_uniphier.c114 value &= ~UART_LCR_DLAB; in uniphier_serial_out()
D8250_mtk.c80 serial_port_out(port, UART_LCR, up->lcr | UART_LCR_DLAB); in mtk8250_set_termios()
/Linux-v4.19/drivers/media/rc/
Dserial_ir.c430 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in hardware_init_port()
458 soutp(UART_LCR, sinp(UART_LCR) | UART_LCR_DLAB); in hardware_init_port()
618 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in serial_ir_open()
634 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in serial_ir_close()
697 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in serial_ir_suspend()
Dsir_ir.c301 outb(UART_LCR_DLAB | UART_LCR_WLEN7, io + UART_LCR); in init_hardware()
/Linux-v4.19/arch/powerpc/platforms/embedded6xx/
Dls_uart.c74 out_8(avr_addr + UART_LCR, cval | UART_LCR_DLAB); /* set DLAB */ in avr_uart_configure()
/Linux-v4.19/drivers/usb/serial/
Df81232.c362 lcr | UART_LCR_DLAB); /* Enable DLAB */ in f81232_set_baudrate()
386 lcr & ~UART_LCR_DLAB); in f81232_set_baudrate()
Dark3116.c161 ark3116_write_reg(serial, UART_LCR, UART_LCR_DLAB); in ark3116_port_probe()
291 lcr|UART_LCR_DLAB); in ark3116_set_termios()
Dmos7720.c1388 mos7720_port->shadowLCR = mos7720_port->shadowLCR | UART_LCR_DLAB; in set_higher_rates()
1393 mos7720_port->shadowLCR = mos7720_port->shadowLCR & ~UART_LCR_DLAB; in set_higher_rates()
1502 mos7720_port->shadowLCR = mos7720_port->shadowLCR | UART_LCR_DLAB; in send_cmd_write_baud_rate()
1511 mos7720_port->shadowLCR = mos7720_port->shadowLCR & ~UART_LCR_DLAB; in send_cmd_write_baud_rate()
/Linux-v4.19/drivers/staging/speakup/
Dserialio.c87 outb(cval | UART_LCR_DLAB, ser->port + UART_LCR); /* set DLAB */ in spk_serial_init()
/Linux-v4.19/sound/drivers/
Dserial-u16550.c397 outb(UART_LCR_DLAB /* Divisor latch access bit */ in snd_uart16550_do_open()
503 outb(UART_LCR_DLAB /* Divisor latch access bit */ in snd_uart16550_do_close()
/Linux-v4.19/drivers/tty/serial/
Dsunsu.c887 serial_outp(up, UART_LCR, cval | UART_LCR_DLAB);/* set DLAB */ in sunsu_change_speed()
1119 serial_outp(up, UART_LCR, UART_LCR_DLAB); in sunsu_autoconfig()
1130 serial_outp(up, UART_LCR, save_lcr | UART_LCR_DLAB); in sunsu_autoconfig()
Dserial-tegra.c299 lcr |= UART_LCR_DLAB; in tegra_set_baudrate()
305 lcr &= ~UART_LCR_DLAB; in tegra_set_baudrate()
Dpxa.c532 serial_out(up, UART_LCR, cval | UART_LCR_DLAB); /* set DLAB */ in serial_pxa_set_termios()
Dvr41xx_siu.c570 siu_write(port, UART_LCR, lcr | UART_LCR_DLAB); in siu_set_termios()
/Linux-v4.19/drivers/tty/serial/jsm/
Djsm_cls.c764 writeb(UART_LCR_DLAB, &ch->ch_cls_uart->lcr); in cls_param()
Djsm_neo.c1031 writeb(UART_LCR_DLAB, &ch->ch_neo_uart->lcr); in neo_param()
/Linux-v4.19/drivers/isdn/hisax/
Delsa_ser.c135 serial_outp(cs, UART_LCR, cval | UART_LCR_DLAB);/* set DLAB */ in change_speed()
/Linux-v4.19/drivers/tty/
Dmxser.c613 outb(cval | UART_LCR_DLAB, info->ioaddr + UART_LCR); /* set DLAB */ in mxser_set_baud()
2514 scratch2 = inb(cap + UART_LCR) & (~UART_LCR_DLAB); in mxser_get_ISA_conf()
2515 outb(scratch2 | UART_LCR_DLAB, cap + UART_LCR); in mxser_get_ISA_conf()
/Linux-v4.19/drivers/staging/dgnc/
Ddgnc_cls.c779 writeb(UART_LCR_DLAB, &ch->ch_cls_uart->lcr); in cls_param()
/Linux-v4.19/drivers/mmc/core/
Dsdio_uart.c342 sdio_out(port, UART_LCR, cval | UART_LCR_DLAB); in sdio_uart_change_speed()
/Linux-v4.19/samples/vfio-mdev/
Dmtty.c434 if (data & UART_LCR_DLAB) { in handle_bar_write()

12