/drivers/staging/speakup/ |
H A D | serialio.c | 24 unsigned int cval = 0; local 31 cval = cflag & (CSIZE | CSTOPB); 33 cval >>= 8; 35 cval >>= 4; 38 cval |= UART_LCR_PARITY; 40 cval |= UART_LCR_EPAR; 55 outb(cval | UART_LCR_DLAB, ser->port + UART_LCR); /* set DLAB */ 58 outb(cval, ser->port + UART_LCR); /* reset DLAB */
|
/drivers/video/fbdev/ |
H A D | atafb_iplan2p2.c | 198 u32 cval[4]; local 204 expand8_col2mask(color, cval); 207 fill8_col(dest8, cval); 214 expand16_col2mask(color, cval); 220 d = fill16_col(d, rows, cval); 230 expand8_col2mask(color, cval); 233 fill8_col(dest8, cval);
|
H A D | atafb_iplan2p4.c | 212 u32 cval[4]; local 218 expand8_col2mask(color, cval); 221 fill8_col(dest8, cval); 228 expand16_col2mask(color, cval); 234 d = fill16_col(d, rows, cval); 244 expand8_col2mask(color, cval); 247 fill8_col(dest8, cval);
|
H A D | atafb_iplan2p8.c | 247 u32 cval[4]; local 253 expand8_col2mask(color, cval); 256 fill8_col(dest8, cval); 263 expand16_col2mask(color, cval); 269 d = fill16_col(d, rows, cval); 279 expand8_col2mask(color, cval); 282 fill8_col(dest8, cval);
|
/drivers/tty/serial/ |
H A D | xilinx_uartps.c | 624 unsigned int cval = 0; local 697 cval |= CDNS_UART_MR_CHARLEN_6_BIT; 700 cval |= CDNS_UART_MR_CHARLEN_7_BIT; 704 cval |= CDNS_UART_MR_CHARLEN_8_BIT; 712 cval |= CDNS_UART_MR_STOPMODE_2_BIT; /* 2 STOP bits */ 714 cval |= CDNS_UART_MR_STOPMODE_1_BIT; /* 1 STOP bit */ 720 cval |= CDNS_UART_MR_PARITY_MARK; 722 cval |= CDNS_UART_MR_PARITY_SPACE; 725 cval |= CDNS_UART_MR_PARITY_ODD; 727 cval | [all...] |
H A D | pxa.c | 434 unsigned char cval, fcr = 0; local 441 cval = UART_LCR_WLEN5; 444 cval = UART_LCR_WLEN6; 447 cval = UART_LCR_WLEN7; 451 cval = UART_LCR_WLEN8; 456 cval |= UART_LCR_STOP; 458 cval |= UART_LCR_PARITY; 460 cval |= UART_LCR_EPAR; 534 serial_out(up, UART_LCR, cval | UART_LCR_DLAB); /* set DLAB */ 545 serial_out(up, UART_LCR, cval); /* rese [all...] |
H A D | m32r_sio.c | 685 unsigned char cval = 0; local 691 cval = UART_LCR_WLEN5; 694 cval = UART_LCR_WLEN6; 697 cval = UART_LCR_WLEN7; 701 cval = UART_LCR_WLEN8; 706 cval |= UART_LCR_STOP; 708 cval |= UART_LCR_PARITY; 710 cval |= UART_LCR_EPAR; 713 cval |= UART_LCR_SPAR; 776 up->lcr = cval; /* Sav [all...] |
H A D | serial_txx9.c | 633 unsigned int cval, fcr = 0; local 643 cval = sio_in(up, TXX9_SILCR); 645 cval &= ~TXX9_SILCR_UMODE_MASK; 648 cval |= TXX9_SILCR_UMODE_7BIT; 654 cval |= TXX9_SILCR_UMODE_8BIT; 658 cval &= ~TXX9_SILCR_USBL_MASK; 660 cval |= TXX9_SILCR_USBL_2BIT; 662 cval |= TXX9_SILCR_USBL_1BIT; 663 cval &= ~(TXX9_SILCR_UPEN | TXX9_SILCR_UEPS); 665 cval | [all...] |
H A D | sunsu.c | 771 unsigned char cval, fcr = 0; local 776 cval = 0x00; 779 cval = 0x01; 782 cval = 0x02; 786 cval = 0x03; 791 cval |= 0x04; 793 cval |= UART_LCR_PARITY; 795 cval |= UART_LCR_EPAR; 798 cval |= UART_LCR_SPAR; 875 serial_outp(up, UART_LCR, cval | UART_LCR_DLA [all...] |
H A D | mfd.c | 888 unsigned char cval, fcr = 0; local 895 cval = UART_LCR_WLEN5; 898 cval = UART_LCR_WLEN6; 901 cval = UART_LCR_WLEN7; 905 cval = UART_LCR_WLEN8; 913 cval |= UART_LCR_STOP; 915 cval |= UART_LCR_PARITY; 917 cval |= UART_LCR_EPAR; 1016 serial_out(up, UART_LCR, cval | UART_LCR_DLAB); /* set DLAB */ 1019 serial_out(up, UART_LCR, cval); /* rese [all...] |
H A D | omap-serial.c | 855 unsigned char cval = 0; local 861 cval = UART_LCR_WLEN5; 864 cval = UART_LCR_WLEN6; 867 cval = UART_LCR_WLEN7; 871 cval = UART_LCR_WLEN8; 876 cval |= UART_LCR_STOP; 878 cval |= UART_LCR_PARITY; 880 cval |= UART_LCR_EPAR; 882 cval |= UART_LCR_SPAR; 950 serial_out(up, UART_LCR, cval); /* rese [all...] |
H A D | mrst_max3110.c | 575 unsigned char cval; local 582 cval = UART_LCR_WLEN7; 590 cval = UART_LCR_WLEN8;
|
/drivers/mmc/card/ |
H A D | sdio_uart.c | 256 unsigned char cval, fcr = 0; local 261 cval = UART_LCR_WLEN5; 264 cval = UART_LCR_WLEN6; 267 cval = UART_LCR_WLEN7; 271 cval = UART_LCR_WLEN8; 276 cval |= UART_LCR_STOP; 278 cval |= UART_LCR_PARITY; 280 cval |= UART_LCR_EPAR; 341 port->lcr = cval; 344 sdio_out(port, UART_LCR, cval | UART_LCR_DLA [all...] |
/drivers/tty/ |
H A D | mxser.c | 575 unsigned char cval; local 608 cval = inb(info->ioaddr + UART_LCR); 610 outb(cval | UART_LCR_DLAB, info->ioaddr + UART_LCR); /* set DLAB */ 614 outb(cval, info->ioaddr + UART_LCR); /* reset DLAB */ 642 unsigned cflag, cval, fcr; local 656 cval = 0x00; 659 cval = 0x01; 662 cval = 0x02; 665 cval = 0x03; 668 cval [all...] |
H A D | amiserial.c | 663 unsigned cflag, cval = 0; local 671 cval = 3; bits = 10; 673 cval |= 0x04; 677 cval |= UART_LCR_PARITY; 681 cval |= UART_LCR_EPAR; 684 cval |= UART_LCR_SPAR; 786 if(cval & UART_LCR_PARITY)
|
/drivers/tty/serial/cpm_uart/ |
H A D | cpm_uart_core.c | 493 u16 cval, scval, prev_mode; local 525 cval = 0; 550 cval |= SMCMR_SL; /* Two stops */ 556 cval |= SMCMR_PEN; 560 cval |= SMCMR_PM_EVEN; 629 out_be16(&smcp->smc_smcmr, smcr_mk_clen(bits) | cval |
|
/drivers/isdn/hisax/ |
H A D | elsa_ser.c | 111 unsigned cval, fcr = 0; local 115 cval = 0x03; 135 serial_outp(cs, UART_LCR, cval | UART_LCR_DLAB);/* set DLAB */ 138 serial_outp(cs, UART_LCR, cval); /* reset DLAB */
|
/drivers/isdn/hardware/avm/ |
H A D | c4.c | 784 static int queue_sendconfig(avmcard *card, char cval[4]) argument 800 _put_byte(&p, cval[0]); 801 _put_byte(&p, cval[1]); 802 _put_byte(&p, cval[2]); 803 _put_byte(&p, cval[3]);
|
/drivers/isdn/act2000/ |
H A D | capi.h | 67 unsigned cval:7; /* Cause value */ member in struct:actcapi_infoel::cause
|
/drivers/tty/serial/8250/ |
H A D | 8250_core.c | 2391 unsigned char cval; local 2397 cval = UART_LCR_WLEN5; 2400 cval = UART_LCR_WLEN6; 2403 cval = UART_LCR_WLEN7; 2407 cval = UART_LCR_WLEN8; 2412 cval |= UART_LCR_STOP; 2414 cval |= UART_LCR_PARITY; 2419 cval |= UART_LCR_EPAR; 2422 cval |= UART_LCR_SPAR; 2548 serial_port_out(port, UART_LCR, cval | UART_LCR_DLA [all...] |
/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-hdw.c | 5017 u32 cval,nval; local 5020 ret = pvr2_read_register(hdw,PVR2_GPIO_DIR,&cval); 5022 nval = (cval & ~msk) | (val & msk); 5026 msk,val,cval,nval); 5038 u32 cval,nval; local 5041 ret = pvr2_read_register(hdw,PVR2_GPIO_OUT,&cval); 5043 nval = (cval & ~msk) | (val & msk); 5046 msk,val,cval,nval);
|
/drivers/isdn/i4l/ |
H A D | isdn_tty.c | 1006 cval, local 1039 cval = cflag & (CSIZE | CSTOPB); 1040 cval >>= 4; 1042 cval |= UART_LCR_PARITY; 1044 cval |= UART_LCR_EPAR;
|
/drivers/gpu/drm/gma500/ |
H A D | psb_intel_sdvo.c | 230 u32 bval = val, cval = val; local 236 cval = REG_READ_WITH_AUX(SDVOC, j); 248 REG_WRITE_WITH_AUX(SDVOC, cval, j);
|
/drivers/gpu/drm/i915/ |
H A D | intel_sdvo.c | 239 u32 bval = val, cval = val; local 249 cval = I915_READ(GEN3_SDVOC); 262 I915_WRITE(GEN3_SDVOC, cval);
|