Home
last modified time | relevance | path

Searched refs:UART_LCR (Results 1 – 15 of 15) sorted by relevance

/drivers/serial/
D8250.c298 [UART_LCR] = 5,
308 [UART_LCR] = 5,
334 [UART_LCR] = 0x1c,
344 [UART_LCR] = 0x1c,
449 if (save_offset == UART_LCR) { in dwapb_serial_out()
526 p->serial_in(p, UART_LCR); /* safe, no side-effects */ in serial_out_sync()
642 serial_outp(p, UART_LCR, 0xBF); in serial8250_set_sleep()
644 serial_outp(p, UART_LCR, 0); in serial8250_set_sleep()
648 serial_outp(p, UART_LCR, 0xBF); in serial8250_set_sleep()
650 serial_outp(p, UART_LCR, 0); in serial8250_set_sleep()
[all …]
D8250_early.c107 lcr = serial_in(port, UART_LCR); in probe_baud()
108 serial_out(port, UART_LCR, lcr | UART_LCR_DLAB); in probe_baud()
111 serial_out(port, UART_LCR, lcr); in probe_baud()
123 serial_out(port, UART_LCR, 0x3); /* 8n1 */ in init_port()
129 c = serial_in(port, UART_LCR); in init_port()
130 serial_out(port, UART_LCR, c | UART_LCR_DLAB); in init_port()
133 serial_out(port, UART_LCR, c & ~UART_LCR_DLAB); in init_port()
Dsunsu.c605 serial_out(up, UART_LCR, up->lcr); in sunsu_break_ctl()
618 serial_outp(up, UART_LCR, 0xBF); in sunsu_startup()
621 serial_outp(up, UART_LCR, 0); in sunsu_startup()
623 serial_outp(up, UART_LCR, 0xBF); in sunsu_startup()
625 serial_outp(up, UART_LCR, 0); in sunsu_startup()
681 serial_outp(up, UART_LCR, UART_LCR_WLEN8); in sunsu_startup()
744 serial_out(up, UART_LCR, serial_inp(up, UART_LCR) & ~UART_LCR_SBC); in sunsu_shutdown()
871 serial_outp(up, UART_LCR, 0xBF); in sunsu_change_speed()
874 serial_outp(up, UART_LCR, cval | UART_LCR_DLAB);/* set DLAB */ in sunsu_change_speed()
879 serial_outp(up, UART_LCR, cval); /* reset DLAB */ in sunsu_change_speed()
[all …]
Dm32r_sio_reg.h52 #define UART_LCR 0 /* Out: Line Control Register */ macro
92 #define UART_LCR 0 /* Out: Line Control Register */ macro
Dvr41xx_siu.c304 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()
Dpxa.c316 serial_out(up, UART_LCR, up->lcr); in serial_pxa_break_ctl()
385 serial_out(up, UART_LCR, UART_LCR_WLEN8); in serial_pxa_startup()
432 serial_out(up, UART_LCR, serial_in(up, UART_LCR) & ~UART_LCR_SBC); in serial_pxa_shutdown()
543 serial_out(up, UART_LCR, cval | UART_LCR_DLAB);/* set DLAB */ in serial_pxa_set_termios()
546 serial_out(up, UART_LCR, cval); /* reset DLAB */ in serial_pxa_set_termios()
/drivers/char/
Dmxser.c294 oldlcr = inb(baseio + UART_LCR); in mxser_enable_must_enchance_mode()
295 outb(MOXA_MUST_ENTER_ENCHANCE, baseio + UART_LCR); in mxser_enable_must_enchance_mode()
301 outb(oldlcr, baseio + UART_LCR); in mxser_enable_must_enchance_mode()
309 oldlcr = inb(baseio + UART_LCR); in mxser_disable_must_enchance_mode()
310 outb(MOXA_MUST_ENTER_ENCHANCE, baseio + UART_LCR); in mxser_disable_must_enchance_mode()
316 outb(oldlcr, baseio + UART_LCR); in mxser_disable_must_enchance_mode()
324 oldlcr = inb(baseio + UART_LCR); in mxser_set_must_xon1_value()
325 outb(MOXA_MUST_ENTER_ENCHANCE, baseio + UART_LCR); in mxser_set_must_xon1_value()
333 outb(oldlcr, baseio + UART_LCR); in mxser_set_must_xon1_value()
341 oldlcr = inb(baseio + UART_LCR); in mxser_set_must_xoff1_value()
[all …]
Desp.c1110 serial_out(info, UART_ESI_CMD2, UART_LCR); in change_speed()
/drivers/isdn/hisax/
Delsa_ser.c135 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/
Dbtuart_cs.c382 outb(UART_LCR_DLAB | lcr, iobase + UART_LCR); /* Set DLAB */ in btuart_change_speed()
385 outb(lcr, iobase + UART_LCR); /* Set 8N1 */ in btuart_change_speed()
523 outb(UART_LCR_WLEN8, iobase + UART_LCR); /* Reset DLAB */ in btuart_open()
Ddtl1_cs.c506 outb(UART_LCR_WLEN8, iobase + UART_LCR); /* Reset DLAB */ in dtl1_open()
/drivers/mmc/card/
Dsdio_uart.c357 sdio_out(port, UART_LCR, cval | UART_LCR_DLAB); in sdio_uart_change_speed()
360 sdio_out(port, UART_LCR, cval); in sdio_uart_change_speed()
590 sdio_out(port, UART_LCR, UART_LCR_WLEN8); in sdio_uart_startup()
646 sdio_out(port, UART_LCR, port->lcr); in sdio_uart_shutdown()
901 sdio_out(port, UART_LCR, port->lcr); in sdio_uart_break_ctl()
/drivers/usb/serial/
Dmos7720.c988 send_mos_cmd(serial, MOS_WRITE, number, UART_LCR, &data); in send_cmd_write_baud_rate()
1121 send_mos_cmd(serial, MOS_WRITE, port_number, UART_LCR, &data); in change_port_settings()
/drivers/net/irda/
Dsmsc-ircc2.c1154 outb(UART_LCR_DLAB | lcr, iobase + UART_LCR); /* Set DLAB */ in smsc_ircc_set_sir_speed()
1157 outb(lcr, iobase + UART_LCR); /* Set 8N1 */ in smsc_ircc_set_sir_speed()
1913 outb(UART_LCR_WLEN8, sir_base + UART_LCR); /* Reset DLAB */ in smsc_ircc_sir_start()
Dali-ircc.c1092 outb(UART_LCR_DLAB | lcr, iobase+UART_LCR); /* Set DLAB */ in ali_ircc_sir_change_speed()
1095 outb(lcr, iobase+UART_LCR); /* Set 8N1 */ in ali_ircc_sir_change_speed()