/linux-master/arch/x86/boot/ |
H A D | early_serial_console.c | 104 unsigned char lcr, dll, dlh; local 107 lcr = inb(port + LCR); 108 outb(lcr | DLAB, port + LCR); 111 outb(lcr, port + LCR);
|
/linux-master/drivers/media/i2c/cx25840/ |
H A D | cx25840-vbi.c | 144 u8 lcr[24]; local 147 lcr[x] = 0x00; 179 lcr[i] |= 1 << (4 * x); 182 lcr[i] |= 4 << (4 * x); 185 lcr[i] |= 6 << (4 * x); 188 lcr[i] |= 9 << (4 * x); 197 cx25840_write(client, i, lcr[6 + x]); 201 cx25840_write(client, i, lcr[9 + x]);
|
/linux-master/drivers/usb/serial/ |
H A D | keyspan_usa26msg.h | 135 setLcr, // BOTH: host requests lcr be set 136 lcr, // BOTH: use PARITY, STOPBITS, DATABITS below member in struct:keyspan_usa26_portControlMessage 190 // defines for bits in lcr
|
H A D | keyspan_usa49msg.h | 148 setLcr, // host requests lcr be set 149 lcr, // use PARITY, STOPBITS, DATABITS below member in struct:keyspan_usa49_portControlMessage 193 // defines for bits in lcr
|
H A D | keyspan_usa67msg.h | 135 setLcr, // host requests lcr be set 136 lcr, // use PARITY, STOPBITS, DATABITS below member in struct:keyspan_usa67_portControlMessage 186 // defines for bits in lcr
|
H A D | keyspan_usa90msg.h | 62 setLcr, // host requests lcr be set 63 lcr, // use PARITY, STOPBITS, DATABITS below member in struct:keyspan_usa90_portControlMessage 120 // defines for bits in lcr
|
/linux-master/arch/sh/include/asm/ |
H A D | smc37c93x.h | 75 volatile __u16 lcr; member in struct:uart_reg
|
/linux-master/drivers/clk/ingenic/ |
H A D | jz4780-cgu.c | 230 u32 lcr, clkgr1; local 234 lcr = readl(cgu->base + CGU_REG_LCR); 235 lcr &= ~LCR_PD_SCPU; 236 writel(lcr, cgu->base + CGU_REG_LCR); 245 retval = readl_poll_timeout(cgu->base + CGU_REG_LCR, lcr, 246 !(lcr & LCR_SCPUS), 10, timeout);
|
/linux-master/drivers/gpu/drm/display/ |
H A D | drm_dp_mst_topology.c | 280 buf[idx++] = ((hdr->lct & 0xf) << 4) | (hdr->lcr & 0xf); 316 hdr->lcr = (buf[0] & 0xf); 2771 hdr->lcr = 6; 2774 hdr->lcr = mstb->lct - 1;
|
/linux-master/drivers/gpu/drm/stm/ |
H A D | ltdc.c | 1805 u32 bus_width_log2, lcr, gc2r; local 1811 regmap_read(ldev->regmap, LTDC_LCR, &lcr); 1813 ldev->caps.nb_layers = clamp((int)lcr, 1, LTDC_MAX_LAYER);
|
/linux-master/drivers/media/i2c/ |
H A D | saa7115.c | 1047 /* setup the sliced VBI lcr registers according to the sliced VBI format */ 1052 u8 lcr[24]; local 1067 lcr[i] = 0xff; 1073 lcr[i] = 0xdd; 1076 lcr[i] = 0xdd; 1094 /* Now set the lcr values according to the specified service */ 1096 lcr[i] = 0; 1100 lcr[i] |= 0xf << (4 * x); 1103 lcr[i] |= 1 << (4 * x); 1106 lcr[ [all...] |
/linux-master/drivers/media/pci/cx18/ |
H A D | cx18-av-vbi.c | 181 u8 lcr[24]; local 184 lcr[x] = 0x00; 214 lcr[i] |= 1 << (4 * x); 217 lcr[i] |= 4 << (4 * x); 220 lcr[i] |= 6 << (4 * x); 223 lcr[i] |= 9 << (4 * x); 231 cx18_av_write(cx, i, lcr[6 + x]); 234 cx18_av_write(cx, i, lcr[9 + x]);
|
/linux-master/drivers/mmc/core/ |
H A D | sdio_uart.c | 81 unsigned char lcr; member in struct:sdio_uart_port 320 port->lcr = cval; 679 port->lcr &= ~UART_LCR_SBC; 680 sdio_out(port, UART_LCR, port->lcr); 906 port->lcr |= UART_LCR_SBC; 908 port->lcr &= ~UART_LCR_SBC; 909 sdio_out(port, UART_LCR, port->lcr);
|
/linux-master/drivers/tty/ |
H A D | mxser.c | 1466 u8 lcr; local 1469 lcr = inb(info->ioaddr + UART_LCR); 1471 lcr |= UART_LCR_SBC; 1473 lcr &= ~UART_LCR_SBC; 1474 outb(lcr, info->ioaddr + UART_LCR);
|
/linux-master/drivers/tty/serial/8250/ |
H A D | 8250_dw.c | 110 unsigned int lcr = p->serial_in(p, UART_LCR); local 112 if ((value & ~UART_LCR_SPAR) == (lcr & ~UART_LCR_SPAR))
|
H A D | 8250_dwlib.c | 141 u32 lcr = dw8250_readl_ext(p, DW_UART_LCR_EXT); local 144 lcr |= DW_UART_LCR_EXT_DLS_E; 161 lcr |= DW_UART_LCR_EXT_ADDR_MATCH; 163 lcr &= ~DW_UART_LCR_EXT_ADDR_MATCH; 172 lcr |= DW_UART_LCR_EXT_SEND_ADDR; 175 lcr = 0; 177 dw8250_writel_ext(p, DW_UART_LCR_EXT, lcr);
|
H A D | 8250_em.c | 87 unsigned int ier, fcr, lcr, mcr, hcr0; local 91 lcr = serial8250_em_serial_in(p, UART_LCR); 108 lcr = value; 118 serial8250_em_serial_out_helper(p, UART_LCR, lcr);
|
H A D | 8250_mtk.c | 159 int lcr = serial_in(up, UART_LCR); local 177 serial_out(up, UART_LCR, lcr); 242 int lcr = serial_in(up, UART_LCR); local 249 serial_out(up, UART_LCR, lcr); 250 lcr = serial_in(up, UART_LCR); 259 serial_out(up, UART_LCR, lcr); 275 serial_out(up, UART_LCR, lcr); 292 serial_out(up, UART_LCR, lcr); 378 /* set DLAB we have cval saved in up->lcr from the call to the core */ 379 serial_port_out(port, UART_LCR, up->lcr | UART_LCR_DLA [all...] |
H A D | 8250_omap.c | 185 u8 lcr; local 194 lcr = serial_in(up, UART_LCR); 201 serial_out(up, UART_LCR, lcr); 363 serial_out(up, UART_LCR, up->lcr); 455 up->lcr = cval; 796 if (up->lcr & UART_LCR_SBC) 797 serial_out(up, UART_LCR, up->lcr & ~UART_LCR_SBC);
|
H A D | 8250_pericom.c | 74 int lcr = serial_port_in(port, UART_LCR); local 76 serial_port_out(port, UART_LCR, lcr | UART_LCR_DLAB); 79 serial_port_out(port, UART_LCR, lcr);
|
H A D | 8250_port.c | 675 unsigned char lcr = 0, efr = 0; local 683 lcr = serial_in(p, UART_LCR); 693 serial_out(p, UART_LCR, lcr); 2057 up->lcr |= UART_LCR_SBC; 2059 up->lcr &= ~UART_LCR_SBC; 2060 serial_port_out(port, UART_LCR, up->lcr); 2635 serial_port_out(port, UART_LCR, up->lcr | UART_LCR_DLAB); 2747 up->lcr = cval; /* Save computed LCR */ 2840 serial_port_out(port, UART_LCR, up->lcr); /* reset DLAB */ 3299 serial_port_out(port, UART_LCR, up->lcr); 3430 unsigned char lcr, dll, dlm; local [all...] |
/linux-master/drivers/tty/serial/jsm/ |
H A D | jsm.h | 258 u8 lcr; /* WR LCR - Line Control Reg */ member in struct:cls_uart_struct 313 u8 lcr; /* WR LCR - Line Control Reg */ member in struct:neo_uart_struct
|
H A D | jsm_cls.c | 54 u8 lcrb = readb(&ch->ch_cls_uart->lcr); 62 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); 73 writeb(lcrb, &ch->ch_cls_uart->lcr); 95 u8 lcrb = readb(&ch->ch_cls_uart->lcr); 103 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); 120 writeb(lcrb, &ch->ch_cls_uart->lcr); 140 u8 lcrb = readb(&ch->ch_cls_uart->lcr); 148 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); 159 writeb(lcrb, &ch->ch_cls_uart->lcr); 183 u8 lcrb = readb(&ch->ch_cls_uart->lcr); 675 u8 lcr = 0; local [all...] |
H A D | jsm_neo.c | 689 u8 temp = readb(&ch->ch_neo_uart->lcr); 690 writeb((temp & ~UART_LCR_SBC), &ch->ch_neo_uart->lcr); 928 u8 lcr = 0; local 995 lcr |= UART_LCR_PARITY; 998 lcr |= UART_LCR_EPAR; 1001 lcr |= UART_LCR_SPAR; 1004 lcr |= UART_LCR_STOP; 1006 lcr |= UART_LCR_WLEN(tty_get_char_size(ch->ch_c_cflag)); 1009 uart_lcr = readb(&ch->ch_neo_uart->lcr); 1014 writeb(UART_LCR_DLAB, &ch->ch_neo_uart->lcr); [all...] |
/linux-master/drivers/tty/serial/ |
H A D | ma35d1_serial.c | 153 u8 lcr; member in struct:uart_ma35d1_port 365 u32 lcr; local 368 lcr = serial_in(up, MA35_LCR_REG); 370 lcr |= MA35_LCR_BREAK; 372 lcr &= ~MA35_LCR_BREAK; 373 serial_out(up, MA35_LCR_REG, lcr); 420 u32 lcr = 0; local 422 lcr = UART_LCR_WLEN(tty_get_char_size(termios->c_cflag)); 425 lcr |= MA35_LCR_NSB; 427 lcr | [all...] |