/drivers/staging/media/lirc/ |
D | lirc_sir.c | 845 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in init_hardware() 852 soutp(UART_LCR, sinp(UART_LCR) | UART_LCR_DLAB); in init_hardware() 859 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in init_hardware() 892 soutp(UART_LCR, sinp(UART_LCR) | UART_LCR_DLAB); in init_hardware() 899 soutp(UART_LCR, UART_LCR_WLEN8); in init_hardware() 907 outb(UART_LCR_DLAB | UART_LCR_WLEN7, io + UART_LCR); in init_hardware() 910 outb(UART_LCR_WLEN7, io + UART_LCR); in init_hardware() 1089 soutp(UART_LCR, UART_LCR_DLAB | UART_LCR_WLEN8); in init_act200() 1096 soutp(UART_LCR, UART_LCR_WLEN8); in init_act200() 1128 soutp(UART_LCR, sinp(UART_LCR) | UART_LCR_DLAB); in init_act200() [all …]
|
D | lirc_serial.c | 781 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in hardware_init_port() 823 soutp(UART_LCR, sinp(UART_LCR) | UART_LCR_DLAB); in hardware_init_port() 828 soutp(UART_LCR, UART_LCR_WLEN7); in hardware_init_port() 946 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in set_use_inc() 961 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in set_use_dec() 1103 soutp(UART_LCR, sinp(UART_LCR) & (~UART_LCR_DLAB)); in lirc_serial_suspend()
|
/drivers/tty/serial/ |
D | omap-serial.c | 506 serial_out(up, UART_LCR, up->lcr); in serial_omap_break_ctl() 548 serial_out(up, UART_LCR, UART_LCR_WLEN8); in serial_omap_startup() 611 serial_out(up, UART_LCR, serial_in(up, UART_LCR) & ~UART_LCR_SBC); in serial_omap_shutdown() 639 up->lcr = serial_in(up, UART_LCR); in serial_omap_configure_xonxoff() 640 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B); in serial_omap_configure_xonxoff() 667 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_A); in serial_omap_configure_xonxoff() 681 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B); in serial_omap_configure_xonxoff() 688 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_A); in serial_omap_configure_xonxoff() 691 serial_out(up, UART_LCR, up->lcr); in serial_omap_configure_xonxoff() 803 serial_out(up, UART_LCR, cval); /* reset DLAB */ in serial_omap_set_termios() [all …]
|
D | sunsu.c | 606 serial_out(up, UART_LCR, up->lcr); in sunsu_break_ctl() 619 serial_outp(up, UART_LCR, 0xBF); in sunsu_startup() 622 serial_outp(up, UART_LCR, 0); in sunsu_startup() 624 serial_outp(up, UART_LCR, 0xBF); in sunsu_startup() 626 serial_outp(up, UART_LCR, 0); in sunsu_startup() 682 serial_outp(up, UART_LCR, UART_LCR_WLEN8); in sunsu_startup() 745 serial_out(up, UART_LCR, serial_inp(up, UART_LCR) & ~UART_LCR_SBC); in sunsu_shutdown() 872 serial_outp(up, UART_LCR, 0xBF); in sunsu_change_speed() 875 serial_outp(up, UART_LCR, cval | UART_LCR_DLAB);/* set DLAB */ in sunsu_change_speed() 880 serial_outp(up, UART_LCR, cval); /* reset DLAB */ in sunsu_change_speed() [all …]
|
D | m32r_sio_reg.h | 52 #define UART_LCR 0 /* Out: Line Control Register */ macro 92 #define UART_LCR 0 /* Out: Line Control Register */ macro
|
D | vr41xx_siu.c | 304 lcr = siu_read(port, UART_LCR); in siu_break_ctl() 309 siu_write(port, UART_LCR, lcr); in siu_break_ctl() 473 siu_write(port, UART_LCR, UART_LCR_WLEN8); in siu_startup() 503 lcr = siu_read(port, UART_LCR); in siu_shutdown() 505 siu_write(port, UART_LCR, lcr); in siu_shutdown() 585 siu_write(port, UART_LCR, lcr | UART_LCR_DLAB); in siu_set_termios() 590 siu_write(port, UART_LCR, lcr); in siu_set_termios()
|
D | pxa.c | 332 serial_out(up, UART_LCR, up->lcr); in serial_pxa_break_ctl() 401 serial_out(up, UART_LCR, UART_LCR_WLEN8); in serial_pxa_startup() 448 serial_out(up, UART_LCR, serial_in(up, UART_LCR) & ~UART_LCR_SBC); in serial_pxa_shutdown() 560 serial_out(up, UART_LCR, cval | UART_LCR_DLAB); /* set DLAB */ in serial_pxa_set_termios() 571 serial_out(up, UART_LCR, cval); /* reset DLAB */ in serial_pxa_set_termios()
|
D | mfd.c | 153 "LCR: \t\t0x%08x\n", serial_in(up, UART_LCR)); in port_show_regs() 747 serial_out(up, UART_LCR, up->lcr); in serial_hsu_break_ctl() 781 serial_out(up, UART_LCR, UART_LCR_WLEN8); in serial_hsu_startup() 867 serial_out(up, UART_LCR, serial_in(up, UART_LCR) & ~UART_LCR_SBC); in serial_hsu_shutdown() 1010 serial_out(up, UART_LCR, cval | UART_LCR_DLAB); /* set DLAB */ in serial_hsu_set_termios() 1013 serial_out(up, UART_LCR, cval); /* reset DLAB */ in serial_hsu_set_termios()
|
D | pch_uart.c | 336 "LCR: \t0x%02x\n", ioread8(priv->membase + UART_LCR)); in port_show_regs() 347 lcr = ioread8(priv->membase + UART_LCR); in port_show_regs() 348 iowrite8(PCH_UART_LCR_DLAB, priv->membase + UART_LCR); in port_show_regs() 353 iowrite8(lcr, priv->membase + UART_LCR); in port_show_regs() 453 iowrite8(PCH_UART_LCR_DLAB, priv->membase + UART_LCR); in pch_uart_hal_set_line() 456 iowrite8(lcr, priv->membase + UART_LCR); in pch_uart_hal_set_line() 585 lcr = ioread8(priv->membase + UART_LCR); in pch_uart_hal_set_break() 591 iowrite8(lcr, priv->membase + UART_LCR); in pch_uart_hal_set_break()
|
/drivers/tty/serial/8250/ |
D | 8250.c | 294 [UART_LCR] = 5, 304 [UART_LCR] = 5, 330 [UART_LCR] = 0x1c, 340 [UART_LCR] = 0x1c, 477 p->serial_in(p, UART_LCR); /* safe, no side-effects */ in serial_port_out_sync() 580 serial_out(p, UART_LCR, UART_LCR_CONF_MODE_B); in serial8250_set_sleep() 582 serial_out(p, UART_LCR, 0); in serial8250_set_sleep() 586 serial_out(p, UART_LCR, UART_LCR_CONF_MODE_B); in serial8250_set_sleep() 588 serial_out(p, UART_LCR, 0); in serial8250_set_sleep() 672 old_lcr = serial_in(up, UART_LCR); in size_fifo() [all …]
|
D | 8250_early.c | 122 lcr = serial_in(port, UART_LCR); in probe_baud() 123 serial_out(port, UART_LCR, lcr | UART_LCR_DLAB); in probe_baud() 126 serial_out(port, UART_LCR, lcr); in probe_baud() 138 serial_out(port, UART_LCR, 0x3); /* 8n1 */ in init_port() 144 c = serial_in(port, UART_LCR); in init_port() 145 serial_out(port, UART_LCR, c | UART_LCR_DLAB); in init_port() 148 serial_out(port, UART_LCR, c & ~UART_LCR_DLAB); in init_port()
|
D | 8250_dw.c | 37 if (offset == UART_LCR) in dw8250_serial_out() 55 if (offset == UART_LCR) in dw8250_serial_out32() 82 p->serial_out(p, UART_LCR, d->last_lcr); in dw8250_handle_irq()
|
/drivers/tty/ |
D | mxser.c | 296 oldlcr = inb(baseio + UART_LCR); in mxser_enable_must_enchance_mode() 297 outb(MOXA_MUST_ENTER_ENCHANCE, baseio + UART_LCR); in mxser_enable_must_enchance_mode() 303 outb(oldlcr, baseio + UART_LCR); in mxser_enable_must_enchance_mode() 312 oldlcr = inb(baseio + UART_LCR); in mxser_disable_must_enchance_mode() 313 outb(MOXA_MUST_ENTER_ENCHANCE, baseio + UART_LCR); in mxser_disable_must_enchance_mode() 319 outb(oldlcr, baseio + UART_LCR); in mxser_disable_must_enchance_mode() 328 oldlcr = inb(baseio + UART_LCR); in mxser_set_must_xon1_value() 329 outb(MOXA_MUST_ENTER_ENCHANCE, baseio + UART_LCR); in mxser_set_must_xon1_value() 337 outb(oldlcr, baseio + UART_LCR); in mxser_set_must_xon1_value() 345 oldlcr = inb(baseio + UART_LCR); in mxser_set_must_xoff1_value() [all …]
|
/drivers/usb/serial/ |
D | ark3116.c | 180 ark3116_write_reg(serial, UART_LCR, UART_LCR_DLAB); in ark3116_attach() 188 ark3116_write_reg(serial, UART_LCR, UART_LCR_WLEN8); in ark3116_attach() 314 ark3116_write_reg(serial, UART_LCR, in ark3116_set_termios() 320 ark3116_write_reg(serial, UART_LCR, lcr); in ark3116_set_termios() 330 ark3116_write_reg(serial, UART_LCR, lcr); in ark3116_set_termios() 563 ark3116_write_reg(port->serial, UART_LCR, priv->lcr); in ark3116_break_ctl()
|
/drivers/staging/speakup/ |
D | serialio.c | 51 outb(cval | UART_LCR_DLAB, ser->port + UART_LCR); /* set DLAB */ in spk_serial_init() 54 outb(cval, ser->port + UART_LCR); /* reset DLAB */ in spk_serial_init()
|
/drivers/isdn/hisax/ |
D | elsa_ser.c | 135 serial_outp(cs, UART_LCR, cval | UART_LCR_DLAB);/* set DLAB */ in change_speed() 138 serial_outp(cs, UART_LCR, cval); /* reset DLAB */ in change_speed() 172 serial_outp(cs, UART_LCR, UART_LCR_WLEN8); /* reset DLAB */ in mstartup() 225 serial_outp(cs, UART_LCR, serial_inp(cs, UART_LCR) & ~UART_LCR_SBC); in mshutdown()
|
/drivers/bluetooth/ |
D | btuart_cs.c | 380 outb(UART_LCR_DLAB | lcr, iobase + UART_LCR); /* Set DLAB */ in btuart_change_speed() 383 outb(lcr, iobase + UART_LCR); /* Set 8N1 */ in btuart_change_speed() 513 outb(UART_LCR_WLEN8, iobase + UART_LCR); /* Reset DLAB */ in btuart_open()
|
D | dtl1_cs.c | 495 outb(UART_LCR_WLEN8, iobase + UART_LCR); /* Reset DLAB */ in dtl1_open()
|
/drivers/mmc/card/ |
D | sdio_uart.c | 360 sdio_out(port, UART_LCR, cval | UART_LCR_DLAB); in sdio_uart_change_speed() 363 sdio_out(port, UART_LCR, cval); in sdio_uart_change_speed() 669 sdio_out(port, UART_LCR, UART_LCR_WLEN8); in sdio_uart_activate() 729 sdio_out(port, UART_LCR, port->lcr); in sdio_uart_shutdown() 950 sdio_out(port, UART_LCR, port->lcr); in sdio_uart_break_ctl()
|
/drivers/net/irda/ |
D | smsc-ircc2.c | 1172 outb(UART_LCR_DLAB | lcr, iobase + UART_LCR); /* Set DLAB */ in smsc_ircc_set_sir_speed() 1175 outb(lcr, iobase + UART_LCR); /* Set 8N1 */ in smsc_ircc_set_sir_speed() 1931 outb(UART_LCR_WLEN8, sir_base + UART_LCR); /* Reset DLAB */ in smsc_ircc_sir_start()
|
D | ali-ircc.c | 1106 outb(UART_LCR_DLAB | lcr, iobase+UART_LCR); /* Set DLAB */ in ali_ircc_sir_change_speed() 1109 outb(lcr, iobase+UART_LCR); /* Set 8N1 */ in ali_ircc_sir_change_speed()
|
/drivers/net/wireless/bcmdhd/include/ |
D | sbchipc.h | 1095 #define UART_LCR 3 /* Out: Line Control Register */ macro
|