/linux-4.4.14/arch/mips/include/asm/netlogic/xlp-hal/ |
D | uart.h | 105 uint32_t lcr; in nlm_uart_set_baudrate() local 107 lcr = nlm_read_uart_reg(base, UART_LINE_CTL); in nlm_uart_set_baudrate() 110 nlm_write_uart_reg(base, UART_LINE_CTL, lcr | (1 << 7)); in nlm_uart_set_baudrate() 117 nlm_write_uart_reg(base, UART_LINE_CTL, lcr); in nlm_uart_set_baudrate() 158 uint32_t lcr; in nlm_uart_init() local 160 lcr = 0; in nlm_uart_init() 162 lcr |= LCR_8BITS; in nlm_uart_init() 164 lcr |= LCR_7BITS; in nlm_uart_init() 166 lcr |= LCR_6BITS; in nlm_uart_init() 168 lcr |= LCR_5BITS; in nlm_uart_init() [all …]
|
/linux-4.4.14/drivers/video/fbdev/ |
D | tmiofb.c | 205 void __iomem *lcr; member 222 unsigned int bbisc = tmio_ioread16(par->lcr + LCR_BBISC); in tmiofb_irq() 225 tmio_iowrite16(bbisc, par->lcr + LCR_BBISC); in tmiofb_irq() 258 tmio_iowrite16(0, par->lcr + LCR_GM); in tmiofb_hw_stop() 260 tmio_iowrite16(0x0010, par->lcr + LCR_LCDCCRC); in tmiofb_hw_stop() 299 tmio_iowrite16(base >> 16, par->lcr + LCR_CFSAH); in tmiofb_hw_init() 300 tmio_iowrite16(base, par->lcr + LCR_CFSAL); in tmiofb_hw_init() 301 tmio_iowrite16(TMIOFB_FIFO_SIZE - 1, par->lcr + LCR_CFS); in tmiofb_hw_init() 302 tmio_iowrite16(1, par->lcr + LCR_CFC); in tmiofb_hw_init() 303 tmio_iowrite16(1, par->lcr + LCR_BBIE); in tmiofb_hw_init() [all …]
|
/linux-4.4.14/drivers/tty/serial/jsm/ |
D | jsm_cls.c | 63 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_cts_flow_control() 71 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_cts_flow_control() 82 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_cts_flow_control() 104 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_ixon_flow_control() 112 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_ixon_flow_control() 129 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_ixon_flow_control() 149 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_no_output_flow_control() 157 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_no_output_flow_control() 168 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_no_output_flow_control() 192 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_rts_flow_control() [all …]
|
D | jsm_neo.c | 700 u8 temp = readb(&ch->ch_neo_uart->lcr); in neo_clear_break() 701 writeb((temp & ~UART_LCR_SBC), &ch->ch_neo_uart->lcr); in neo_clear_break() 937 u8 lcr = 0; in neo_param() local 1004 lcr |= UART_LCR_PARITY; in neo_param() 1007 lcr |= UART_LCR_EPAR; in neo_param() 1015 lcr |= UART_LCR_SPAR; in neo_param() 1019 lcr |= UART_LCR_STOP; in neo_param() 1023 lcr |= UART_LCR_WLEN5; in neo_param() 1026 lcr |= UART_LCR_WLEN6; in neo_param() 1029 lcr |= UART_LCR_WLEN7; in neo_param() [all …]
|
D | jsm.h | 272 u8 lcr; /* WR LCR - Line Control Reg */ member 327 u8 lcr; /* WR LCR - Line Control Reg */ member
|
/linux-4.4.14/drivers/staging/dgnc/ |
D | dgnc_cls.c | 81 unsigned char lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_cts_flow_control() 89 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_cts_flow_control() 100 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_cts_flow_control() 122 unsigned char lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_ixon_flow_control() 130 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_ixon_flow_control() 147 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_ixon_flow_control() 167 unsigned char lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_no_output_flow_control() 175 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_no_output_flow_control() 186 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_no_output_flow_control() 210 unsigned char lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_rts_flow_control() [all …]
|
D | dgnc_neo.c | 356 unsigned char temp = readb(&ch->ch_neo_uart->lcr); in neo_clear_break() 358 writeb((temp & ~UART_LCR_SBC), &ch->ch_neo_uart->lcr); in neo_clear_break() 580 unsigned char lcr = 0; in neo_param() local 706 lcr |= UART_LCR_PARITY; in neo_param() 709 lcr |= UART_LCR_EPAR; in neo_param() 717 lcr |= UART_LCR_SPAR; in neo_param() 721 lcr |= UART_LCR_STOP; in neo_param() 725 lcr |= UART_LCR_WLEN5; in neo_param() 728 lcr |= UART_LCR_WLEN6; in neo_param() 731 lcr |= UART_LCR_WLEN7; in neo_param() [all …]
|
D | dgnc_cls.h | 42 u8 lcr; member
|
D | dgnc_neo.h | 34 u8 lcr; /* WR LCR - Line Control Reg */ member
|
/linux-4.4.14/drivers/usb/serial/ |
D | ark3116.c | 70 __u32 lcr; /* line control register value */ member 181 priv->lcr = UART_LCR_WLEN8; in ark3116_port_probe() 227 __u8 lcr, hcr, eval; in ark3116_set_termios() local 232 lcr = UART_LCR_WLEN5; in ark3116_set_termios() 235 lcr = UART_LCR_WLEN6; in ark3116_set_termios() 238 lcr = UART_LCR_WLEN7; in ark3116_set_termios() 242 lcr = UART_LCR_WLEN8; in ark3116_set_termios() 246 lcr |= UART_LCR_STOP; in ark3116_set_termios() 248 lcr |= UART_LCR_PARITY; in ark3116_set_termios() 250 lcr |= UART_LCR_EPAR; in ark3116_set_termios() [all …]
|
D | mct_u232.c | 253 unsigned char lcr) in mct_u232_set_line_ctrl() argument 262 buf[0] = lcr; in mct_u232_set_line_ctrl() 269 dev_err(&port->dev, "Set LINE CTRL 0x%x failed (error = %d)\n", lcr, rc); in mct_u232_set_line_ctrl() 270 dev_dbg(&port->dev, "set_line_ctrl: 0x%x\n", lcr); in mct_u232_set_line_ctrl() 685 unsigned char lcr; in mct_u232_break_ctl() local 689 lcr = priv->last_lcr; in mct_u232_break_ctl() 692 lcr |= MCT_U232_SET_BREAK; in mct_u232_break_ctl() 695 mct_u232_set_line_ctrl(port, lcr); in mct_u232_break_ctl()
|
D | keyspan.c | 1605 msg.lcr = (p_priv->cflag & CSTOPB) ? STOPBITS_678_2 : STOPBITS_5678_1; in keyspan_usa26_send_setup() 1608 msg.lcr |= USA_DATABITS_5; in keyspan_usa26_send_setup() 1611 msg.lcr |= USA_DATABITS_6; in keyspan_usa26_send_setup() 1614 msg.lcr |= USA_DATABITS_7; in keyspan_usa26_send_setup() 1617 msg.lcr |= USA_DATABITS_8; in keyspan_usa26_send_setup() 1622 msg.lcr |= (p_priv->cflag & PARODD) ? in keyspan_usa26_send_setup() 1875 msg.lcr = (p_priv->cflag & CSTOPB) ? STOPBITS_678_2 : STOPBITS_5678_1; in keyspan_usa49_send_setup() 1878 msg.lcr |= USA_DATABITS_5; in keyspan_usa49_send_setup() 1881 msg.lcr |= USA_DATABITS_6; in keyspan_usa49_send_setup() 1884 msg.lcr |= USA_DATABITS_7; in keyspan_usa49_send_setup() [all …]
|
D | f81232.c | 351 u8 lcr; in f81232_set_baudrate() local 358 &lcr); /* get LCR */ in f81232_set_baudrate() 366 lcr | UART_LCR_DLAB); /* Enable DLAB */ in f81232_set_baudrate() 390 lcr & ~UART_LCR_DLAB); in f81232_set_baudrate()
|
D | keyspan_usa26msg.h | 135 lcr, // BOTH: use PARITY, STOPBITS, DATABITS below member
|
D | keyspan_usa67msg.h | 135 lcr, // use PARITY, STOPBITS, DATABITS below member
|
D | keyspan_usa49msg.h | 148 lcr, // use PARITY, STOPBITS, DATABITS below member
|
D | keyspan_usa90msg.h | 62 lcr, // use PARITY, STOPBITS, DATABITS below member
|
D | kl5kusb105.c | 567 unsigned char lcr = priv->last_lcr; 573 lcr |= MCT_U232_SET_BREAK; 575 mct_u232_set_line_ctrl(serial, lcr);
|
D | quatech2.c | 165 u16 baudrate, u16 lcr) in qt2_set_port_config() argument 168 u16 index = ((u16) (lcr << 8) | (u16) (port_number)); in qt2_set_port_config()
|
/linux-4.4.14/drivers/tty/serial/ |
D | serial_ks8695.c | 315 unsigned int lcr; in ks8695uart_break_ctl() local 317 lcr = UART_GET_LCR(port); in ks8695uart_break_ctl() 320 lcr |= URLC_URSBC; in ks8695uart_break_ctl() 322 lcr &= ~URLC_URSBC; in ks8695uart_break_ctl() 324 UART_PUT_LCR(port, lcr); in ks8695uart_break_ctl() 384 unsigned int lcr, fcr = 0; in ks8695uart_set_termios() local 396 lcr = URCL_5; in ks8695uart_set_termios() 399 lcr = URCL_6; in ks8695uart_set_termios() 402 lcr = URCL_7; in ks8695uart_set_termios() 405 lcr = URCL_8; in ks8695uart_set_termios() [all …]
|
D | serial-tegra.c | 223 unsigned long lcr; in tegra_uart_break_ctl() local 225 lcr = tup->lcr_shadow; in tegra_uart_break_ctl() 227 lcr |= UART_LCR_SBC; in tegra_uart_break_ctl() 229 lcr &= ~UART_LCR_SBC; in tegra_uart_break_ctl() 230 tegra_uart_write(tup, lcr, UART_LCR); in tegra_uart_break_ctl() 231 tup->lcr_shadow = lcr; in tegra_uart_break_ctl() 291 unsigned long lcr; in tegra_set_baudrate() local 311 lcr = tup->lcr_shadow; in tegra_set_baudrate() 312 lcr |= UART_LCR_DLAB; in tegra_set_baudrate() 313 tegra_uart_write(tup, lcr, UART_LCR); in tegra_set_baudrate() [all …]
|
D | vt8500_serial.c | 297 unsigned int lcr = vt8500_read(port, VT8500_URLCR); in vt8500_set_mctrl() local 300 lcr |= VT8500_RTS; in vt8500_set_mctrl() 302 lcr &= ~VT8500_RTS; in vt8500_set_mctrl() 304 vt8500_write(port, lcr, VT8500_URLCR); in vt8500_set_mctrl() 378 unsigned int baud, lcr; in vt8500_set_termios() local 390 lcr = vt8500_read(&vt8500_port->uart, VT8500_URLCR); in vt8500_set_termios() 391 lcr &= ~(VT8500_PARENB | VT8500_PARODD); in vt8500_set_termios() 393 lcr |= VT8500_PARENB; in vt8500_set_termios() 396 lcr |= VT8500_PARODD; in vt8500_set_termios() 400 lcr &= ~VT8500_CS8; in vt8500_set_termios() [all …]
|
D | vr41xx_siu.c | 300 uint8_t lcr; in siu_break_ctl() local 304 lcr = siu_read(port, UART_LCR); in siu_break_ctl() 306 lcr |= UART_LCR_SBC; in siu_break_ctl() 308 lcr &= ~UART_LCR_SBC; in siu_break_ctl() 309 siu_write(port, UART_LCR, lcr); in siu_break_ctl() 490 uint8_t lcr; in siu_shutdown() local 501 lcr = siu_read(port, UART_LCR); in siu_shutdown() 502 lcr &= ~UART_LCR_SBC; in siu_shutdown() 503 siu_write(port, UART_LCR, lcr); in siu_shutdown() 519 uint8_t lcr, fcr, ier; in siu_set_termios() local [all …]
|
D | sprd_serial.c | 375 unsigned int lcr = 0, fc; in sprd_set_termios() local 386 lcr |= SPRD_LCR_DATA_LEN5; in sprd_set_termios() 389 lcr |= SPRD_LCR_DATA_LEN6; in sprd_set_termios() 392 lcr |= SPRD_LCR_DATA_LEN7; in sprd_set_termios() 396 lcr |= SPRD_LCR_DATA_LEN8; in sprd_set_termios() 401 lcr &= ~(SPRD_LCR_STOP_1BIT | SPRD_LCR_STOP_2BIT); in sprd_set_termios() 403 lcr |= SPRD_LCR_STOP_2BIT; in sprd_set_termios() 405 lcr |= SPRD_LCR_STOP_1BIT; in sprd_set_termios() 408 lcr &= ~SPRD_LCR_PARITY; in sprd_set_termios() 411 lcr |= SPRD_LCR_PARITY_EN; in sprd_set_termios() [all …]
|
D | men_z135_uart.c | 661 u8 lcr; in men_z135_set_termios() local 664 lcr = LCR(conf_reg); in men_z135_set_termios() 669 lcr |= MEN_Z135_WL5; in men_z135_set_termios() 672 lcr |= MEN_Z135_WL6; in men_z135_set_termios() 675 lcr |= MEN_Z135_WL7; in men_z135_set_termios() 678 lcr |= MEN_Z135_WL8; in men_z135_set_termios() 684 lcr |= MEN_Z135_NSTB2 << MEN_Z135_STB_SHIFT; in men_z135_set_termios() 688 lcr |= MEN_Z135_PAR_ENA << MEN_Z135_PEN_SHIFT; in men_z135_set_termios() 691 lcr |= MEN_Z135_PTY_ODD << MEN_Z135_PTY_SHIFT; in men_z135_set_termios() 693 lcr |= MEN_Z135_PTY_EVN << MEN_Z135_PTY_SHIFT; in men_z135_set_termios() [all …]
|
D | bfin_uart.c | 583 u32 lcr = UART_GET_LCR(uart); in bfin_serial_break_ctl() local 585 lcr |= SB; in bfin_serial_break_ctl() 587 lcr &= ~SB; in bfin_serial_break_ctl() 588 UART_PUT_LCR(uart, lcr); in bfin_serial_break_ctl() 788 unsigned int ier, lcr = 0; in bfin_serial_set_termios() local 800 lcr = WLS(8); in bfin_serial_set_termios() 803 lcr = WLS(7); in bfin_serial_set_termios() 806 lcr = WLS(6); in bfin_serial_set_termios() 809 lcr = WLS(5); in bfin_serial_set_termios() 824 lcr |= STB; in bfin_serial_set_termios() [all …]
|
D | pnx8xxx_uart.c | 359 unsigned int lcr; in pnx8xxx_break_ctl() local 362 lcr = serial_in(sport, PNX8XXX_LCR); in pnx8xxx_break_ctl() 364 lcr |= PNX8XXX_UART_LCR_TXBREAK; in pnx8xxx_break_ctl() 366 lcr &= ~PNX8XXX_UART_LCR_TXBREAK; in pnx8xxx_break_ctl() 367 serial_out(sport, PNX8XXX_LCR, lcr); in pnx8xxx_break_ctl() 410 int lcr; in pnx8xxx_shutdown() local 425 lcr = serial_in(sport, PNX8XXX_LCR); in pnx8xxx_shutdown() 426 lcr &= ~PNX8XXX_UART_LCR_TXBREAK; in pnx8xxx_shutdown() 427 lcr |= PNX8XXX_UART_LCR_TX_RST | PNX8XXX_UART_LCR_RX_RST; in pnx8xxx_shutdown() 428 serial_out(sport, PNX8XXX_LCR, lcr); in pnx8xxx_shutdown()
|
D | sc16is7xx.c | 490 u8 lcr; in sc16is7xx_set_baud() local 499 lcr = sc16is7xx_port_read(port, SC16IS7XX_LCR_REG); in sc16is7xx_set_baud() 512 sc16is7xx_port_write(port, SC16IS7XX_LCR_REG, lcr); in sc16is7xx_set_baud() 529 sc16is7xx_port_write(port, SC16IS7XX_LCR_REG, lcr); in sc16is7xx_set_baud() 831 unsigned int lcr, flow = 0; in sc16is7xx_set_termios() local 840 lcr = SC16IS7XX_LCR_WORD_LEN_5; in sc16is7xx_set_termios() 843 lcr = SC16IS7XX_LCR_WORD_LEN_6; in sc16is7xx_set_termios() 846 lcr = SC16IS7XX_LCR_WORD_LEN_7; in sc16is7xx_set_termios() 849 lcr = SC16IS7XX_LCR_WORD_LEN_8; in sc16is7xx_set_termios() 852 lcr = SC16IS7XX_LCR_WORD_LEN_8; in sc16is7xx_set_termios() [all …]
|
D | ioc3_serial.c | 313 int lcr, prediv; in set_baud() local 340 lcr = readb(&uart->iu_lcr); in set_baud() 342 writeb(lcr | UART_LCR_DLAB, &uart->iu_lcr); in set_baud() 346 writeb((unsigned char)lcr, &uart->iu_lcr); in set_baud() 593 char lcr, sizebits; in config_port() local 634 lcr = readb(&port->ip_uart_regs->iu_lcr); in config_port() 635 lcr &= ~(LCR_MASK_BITS_CHAR | UART_LCR_EPAR | in config_port() 639 lcr |= sizebits; in config_port() 643 lcr |= UART_LCR_PARITY; in config_port() 645 lcr |= UART_LCR_EPAR; in config_port() [all …]
|
D | pch_uart.c | 327 unsigned char lcr; in port_show_regs() local 354 lcr = ioread8(priv->membase + UART_LCR); in port_show_regs() 360 iowrite8(lcr, priv->membase + UART_LCR); in port_show_regs() 458 unsigned int dll, dlm, lcr; in pch_uart_hal_set_line() local 485 lcr = parity; in pch_uart_hal_set_line() 486 lcr |= bits; in pch_uart_hal_set_line() 487 lcr |= stb; in pch_uart_hal_set_line() 490 __func__, baud, div, lcr, jiffies); in pch_uart_hal_set_line() 494 iowrite8(lcr, priv->membase + UART_LCR); in pch_uart_hal_set_line() 631 unsigned int lcr; in pch_uart_hal_set_break() local [all …]
|
D | max310x.c | 799 unsigned int lcr, flow = 0; in max310x_set_termios() local 808 lcr = MAX310X_LCR_WORD_LEN_5; in max310x_set_termios() 811 lcr = MAX310X_LCR_WORD_LEN_6; in max310x_set_termios() 814 lcr = MAX310X_LCR_WORD_LEN_7; in max310x_set_termios() 818 lcr = MAX310X_LCR_WORD_LEN_8; in max310x_set_termios() 824 lcr |= MAX310X_LCR_PARITY_BIT; in max310x_set_termios() 826 lcr |= MAX310X_LCR_EVENPARITY_BIT; in max310x_set_termios() 831 lcr |= MAX310X_LCR_STOPLEN_BIT; /* 2 stops */ in max310x_set_termios() 834 max310x_port_write(port, MAX310X_LCR_REG, lcr); in max310x_set_termios()
|
D | ioc4_serial.c | 711 int lcr; in set_baud() local 729 lcr = readb(&uart->i4u_lcr); in set_baud() 730 writeb(lcr | UART_LCR_DLAB, &uart->i4u_lcr); in set_baud() 733 writeb(lcr, &uart->i4u_lcr); in set_baud() 1318 char lcr, sizebits; in config_port() local 1357 lcr = readb(&port->ip_uart_regs->i4u_lcr); in config_port() 1358 lcr &= ~(LCR_MASK_BITS_CHAR | UART_LCR_EPAR | in config_port() 1362 lcr |= sizebits; in config_port() 1366 lcr |= UART_LCR_PARITY; in config_port() 1368 lcr |= UART_LCR_EPAR; in config_port() [all …]
|
D | omap-serial.c | 142 unsigned char lcr; member 669 unsigned char mcr = 0, old_mcr, lcr; in serial_omap_set_mctrl() local 691 lcr = serial_in(up, UART_LCR); in serial_omap_set_mctrl() 698 serial_out(up, UART_LCR, lcr); in serial_omap_set_mctrl() 713 up->lcr |= UART_LCR_SBC; in serial_omap_break_ctl() 715 up->lcr &= ~UART_LCR_SBC; in serial_omap_break_ctl() 716 serial_out(up, UART_LCR, up->lcr); in serial_omap_break_ctl() 943 up->lcr = cval; in serial_omap_set_termios() 1094 serial_out(up, UART_LCR, up->lcr); in serial_omap_set_termios() 1794 serial_out(up, UART_LCR, up->lcr); in serial_omap_restore_context()
|
D | pxa.c | 53 unsigned char lcr; member 331 up->lcr |= UART_LCR_SBC; in serial_pxa_break_ctl() 333 up->lcr &= ~UART_LCR_SBC; in serial_pxa_break_ctl() 334 serial_out(up, UART_LCR, up->lcr); in serial_pxa_break_ctl() 549 up->lcr = cval; /* Save LCR */ in serial_pxa_set_termios()
|
D | sunsu.c | 92 unsigned char lcr; member 611 up->lcr |= UART_LCR_SBC; in sunsu_break_ctl() 613 up->lcr &= ~UART_LCR_SBC; in sunsu_break_ctl() 614 serial_out(up, UART_LCR, up->lcr); in sunsu_break_ctl() 892 up->lcr = cval; /* Save LCR */ in sunsu_change_speed()
|
D | m32r_sio.c | 114 unsigned char lcr; member 785 up->lcr = cval; /* Save LCR */ in m32r_sio_set_termios()
|
/linux-4.4.14/drivers/media/i2c/cx25840/ |
D | cx25840-vbi.c | 150 u8 lcr[24]; in cx25840_s_sliced_fmt() local 153 lcr[x] = 0x00; in cx25840_s_sliced_fmt() 181 lcr[i] |= 1 << (4 * x); in cx25840_s_sliced_fmt() 184 lcr[i] |= 4 << (4 * x); in cx25840_s_sliced_fmt() 187 lcr[i] |= 6 << (4 * x); in cx25840_s_sliced_fmt() 190 lcr[i] |= 9 << (4 * x); in cx25840_s_sliced_fmt() 198 cx25840_write(client, i, lcr[6 + x]); in cx25840_s_sliced_fmt() 201 cx25840_write(client, i, lcr[9 + x]); in cx25840_s_sliced_fmt()
|
/linux-4.4.14/arch/frv/kernel/ |
D | debug-stub.c | 204 u8 lcr; in console_set_baud() local 217 lcr = __UART0(LCR); in console_set_baud() 223 __UART0(LCR) = lcr; in console_set_baud() 235 u8 lcr; in console_get_baud() local 237 lcr = __UART0(LCR); in console_get_baud() 242 __UART0(LCR) = lcr; in console_get_baud()
|
D | setup.c | 289 unsigned long lcr = __get_LCR(loop), lsbr = __get_LSBR(loop); in dump_memory_map() 293 lcr & 0x80000000 ? 'r' : '-', in dump_memory_map() 294 lcr & 0x40000000 ? 'w' : '-', in dump_memory_map() 295 lcr & 0x08000000 ? 'b' : '-', in dump_memory_map() 296 lcr & 0x04000000 ? 'B' : '-', in dump_memory_map() 297 lcr & 0x02000000 ? 'C' : '-', in dump_memory_map() 298 lcr & 0x01000000 ? 'D' : '-', in dump_memory_map() 299 lcr & 0x00800000 ? 'W' : '-', in dump_memory_map() 300 lcr & 0x00400000 ? 'R' : '-', in dump_memory_map() 301 (lcr & 0x00030000) == 0x00000000 ? '4' : in dump_memory_map() [all …]
|
D | gdb-io.c | 84 u8 lcr; in gdbstub_set_baud() local 97 lcr = __UART(LCR); in gdbstub_set_baud() 103 __UART(LCR) = lcr; in gdbstub_set_baud()
|
D | asm-offsets.c | 50 DEF_PTREG(REG_LCR, lcr); in foo()
|
D | gdb-stub.c | 1661 ptr = mem2hex(&__debug_frame->lcr, ptr, 4, 0); in gdbstub() 1729 ptr = hex2mem(ptr, &__debug_frame->lcr, 4); in gdbstub() 1838 __debug_user_context->i.lcr = temp; in gdbstub()
|
D | head.S | 508 movgs gr0,lcr
|
D | entry.S | 119 movsg lcr ,gr27
|
/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-av-vbi.c | 195 u8 lcr[24]; in cx18_av_s_sliced_fmt() local 198 lcr[x] = 0x00; in cx18_av_s_sliced_fmt() 228 lcr[i] |= 1 << (4 * x); in cx18_av_s_sliced_fmt() 231 lcr[i] |= 4 << (4 * x); in cx18_av_s_sliced_fmt() 234 lcr[i] |= 6 << (4 * x); in cx18_av_s_sliced_fmt() 237 lcr[i] |= 9 << (4 * x); in cx18_av_s_sliced_fmt() 245 cx18_av_write(cx, i, lcr[6 + x]); in cx18_av_s_sliced_fmt() 248 cx18_av_write(cx, i, lcr[9 + x]); in cx18_av_s_sliced_fmt()
|
/linux-4.4.14/arch/x86/boot/ |
D | early_serial_console.c | 99 unsigned char lcr, dll, dlh; in probe_baud() local 102 lcr = inb(port + LCR); in probe_baud() 103 outb(lcr | DLAB, port + LCR); in probe_baud() 106 outb(lcr, port + LCR); in probe_baud()
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | gdb-io-serial.c | 85 u8 lcr; in gdbstub_io_set_baud() local 89 lcr = GDBPORT_SERIAL_LCR; in gdbstub_io_set_baud() 93 GDBPORT_SERIAL_LCR = lcr; in gdbstub_io_set_baud()
|
/linux-4.4.14/drivers/clk/ingenic/ |
D | jz4740-cgu.c | 235 uint32_t lcr = readl(cgu->base + CGU_REG_LCR); in jz4740_clock_set_wait_mode() local 239 lcr &= ~LCR_SLEEP; in jz4740_clock_set_wait_mode() 243 lcr |= LCR_SLEEP; in jz4740_clock_set_wait_mode() 247 writel(lcr, cgu->base + CGU_REG_LCR); in jz4740_clock_set_wait_mode()
|
/linux-4.4.14/drivers/tty/serial/8250/ |
D | 8250_dw.c | 106 unsigned int lcr = p->serial_in(p, UART_LCR); in dw8250_serial_out() local 107 if ((value & ~UART_LCR_SPAR) == (lcr & ~UART_LCR_SPAR)) in dw8250_serial_out() 147 unsigned int lcr = p->serial_in(p, UART_LCR); in dw8250_serial_outq() local 148 if ((value & ~UART_LCR_SPAR) == (lcr & ~UART_LCR_SPAR)) in dw8250_serial_outq() 170 unsigned int lcr = p->serial_in(p, UART_LCR); in dw8250_serial_out32() local 171 if ((value & ~UART_LCR_SPAR) == (lcr & ~UART_LCR_SPAR)) in dw8250_serial_out32()
|
D | 8250_port.c | 570 unsigned char lcr = 0, efr = 0; in serial8250_set_sleep() local 587 lcr = serial_in(p, UART_LCR); in serial8250_set_sleep() 597 serial_out(p, UART_LCR, lcr); in serial8250_set_sleep() 1700 up->lcr |= UART_LCR_SBC; in serial8250_break_ctl() 1702 up->lcr &= ~UART_LCR_SBC; in serial8250_break_ctl() 1703 serial_port_out(port, UART_LCR, up->lcr); in serial8250_break_ctl() 2221 serial_port_out(port, UART_LCR, up->lcr | UART_LCR_DLAB); in serial8250_set_divisor() 2268 up->lcr = cval; /* Save computed LCR */ in serial8250_do_set_termios() 2365 serial_port_out(port, UART_LCR, up->lcr); /* reset DLAB */ in serial8250_do_set_termios() 2824 serial_port_out(port, UART_LCR, up->lcr); in serial8250_console_restore() [all …]
|
D | 8250_mtk.c | 95 serial_port_out(port, UART_LCR, up->lcr | UART_LCR_DLAB); in mtk8250_set_termios() 99 serial_port_out(port, UART_LCR, up->lcr); in mtk8250_set_termios()
|
D | 8250_omap.c | 127 u8 lcr; in omap8250_set_mctrl() local 135 lcr = serial_in(up, UART_LCR); in omap8250_set_mctrl() 142 serial_out(up, UART_LCR, lcr); in omap8250_set_mctrl() 306 serial_out(up, UART_LCR, up->lcr); in omap8250_restore_regs() 407 up->lcr = cval; in omap_8250_set_termios() 673 if (up->lcr & UART_LCR_SBC) in omap_8250_shutdown() 674 serial_out(up, UART_LCR, up->lcr & ~UART_LCR_SBC); in omap_8250_shutdown()
|
/linux-4.4.14/arch/frv/include/uapi/asm/ |
D | registers.h | 82 unsigned long lcr; /* Loop Count Register */ member 173 unsigned long lcr; /* Loop Count Register */ member
|
/linux-4.4.14/drivers/media/i2c/ |
D | saa7115.c | 1056 u8 lcr[24]; in saa711x_set_lcr() local 1071 lcr[i] = 0xff; in saa711x_set_lcr() 1077 lcr[i] = 0xdd; in saa711x_set_lcr() 1080 lcr[i] = 0xdd; in saa711x_set_lcr() 1100 lcr[i] = 0; in saa711x_set_lcr() 1104 lcr[i] |= 0xf << (4 * x); in saa711x_set_lcr() 1107 lcr[i] |= 1 << (4 * x); in saa711x_set_lcr() 1110 lcr[i] |= 4 << (4 * x); in saa711x_set_lcr() 1113 lcr[i] |= 5 << (4 * x); in saa711x_set_lcr() 1116 lcr[i] |= 7 << (4 * x); in saa711x_set_lcr() [all …]
|
/linux-4.4.14/drivers/bluetooth/ |
D | btuart_cs.c | 348 int lcr; /* Line control reg */ in btuart_change_speed() local 379 lcr = UART_LCR_WLEN8; in btuart_change_speed() 381 outb(UART_LCR_DLAB | lcr, iobase + UART_LCR); /* Set DLAB */ in btuart_change_speed() 384 outb(lcr, iobase + UART_LCR); /* Set 8N1 */ in btuart_change_speed()
|
/linux-4.4.14/drivers/mmc/card/ |
D | sdio_uart.c | 84 unsigned char lcr; member 341 port->lcr = cval; in sdio_uart_change_speed() 703 port->lcr &= ~UART_LCR_SBC; in sdio_uart_shutdown() 704 sdio_out(port, UART_LCR, port->lcr); in sdio_uart_shutdown() 930 port->lcr |= UART_LCR_SBC; in sdio_uart_break_ctl() 932 port->lcr &= ~UART_LCR_SBC; in sdio_uart_break_ctl() 933 sdio_out(port, UART_LCR, port->lcr); in sdio_uart_break_ctl()
|
/linux-4.4.14/arch/sh/include/asm/ |
D | smc37c93x.h | 74 volatile __u16 lcr; member
|
/linux-4.4.14/include/linux/ |
D | serial_8250.h | 97 unsigned char lcr; member
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | bfin_serial.h | 236 __BFP(lcr); 258 __BFP(lcr);
|
/linux-4.4.14/drivers/net/irda/ |
D | bfin_sir.c | 97 unsigned short val, lsr, lcr; in bfin_sir_set_speed() local 101 lcr = WLS(8); in bfin_sir_set_speed() 144 UART_PUT_LCR(port, lcr); in bfin_sir_set_speed()
|
D | ali-ircc.c | 1036 int lcr; /* Line control reg */ in ali_ircc_sir_change_speed() local 1078 lcr = UART_LCR_WLEN8; in ali_ircc_sir_change_speed() 1080 outb(UART_LCR_DLAB | lcr, iobase+UART_LCR); /* Set DLAB */ in ali_ircc_sir_change_speed() 1083 outb(lcr, iobase+UART_LCR); /* Set 8N1 */ in ali_ircc_sir_change_speed()
|
D | smsc-ircc2.c | 1136 int lcr; /* Line control reg */ in smsc_ircc_set_sir_speed() local 1163 lcr = UART_LCR_WLEN8; in smsc_ircc_set_sir_speed() 1165 outb(UART_LCR_DLAB | lcr, iobase + UART_LCR); /* Set DLAB */ in smsc_ircc_set_sir_speed() 1168 outb(lcr, iobase + UART_LCR); /* Set 8N1 */ in smsc_ircc_set_sir_speed()
|
/linux-4.4.14/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 1161 unsigned char lcr; in ioc3_8250_register() local 1163 lcr = uart->iu_lcr; in ioc3_8250_register() 1164 uart->iu_lcr = lcr | UART_LCR_DLAB; in ioc3_8250_register() 1166 uart->iu_lcr = lcr; in ioc3_8250_register()
|
/linux-4.4.14/include/drm/ |
D | drm_dp_mst_helper.h | 139 u8 lcr; member
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_dp_mst_topology.c | 148 buf[idx++] = ((hdr->lct & 0xf) << 4) | (hdr->lcr & 0xf); in drm_dp_encode_sideband_msg_hdr() 182 hdr->lcr = (buf[0] & 0xf); in drm_dp_decode_sideband_msg_hdr() 1418 hdr->lcr = mstb->lct - 1; in set_hdr_from_dst_qlock()
|
/linux-4.4.14/arch/blackfin/kernel/ |
D | debug-mmrs.c | 550 __UART(LCR, lcr); in bfin_debug_mmrs_uart() 566 __UART(LCR, lcr); in bfin_debug_mmrs_uart()
|