| /drivers/accessibility/speakup/ |
| A D | serialio.c | 51 unsigned int cval = 0; in spk_serial_init() local 64 cval = cflag & (CSIZE | CSTOPB); in spk_serial_init() 66 cval >>= 8; in spk_serial_init() 68 cval >>= 4; in spk_serial_init() 71 cval |= UART_LCR_PARITY; in spk_serial_init() 73 cval |= UART_LCR_EPAR; in spk_serial_init() 89 outb(cval | UART_LCR_DLAB, ser->port + UART_LCR); /* set DLAB */ in spk_serial_init() 92 outb(cval, ser->port + UART_LCR); /* reset DLAB */ in spk_serial_init()
|
| /drivers/video/fbdev/ |
| A D | atafb_iplan2p2.c | 197 u32 cval[4]; in atafb_iplan2p2_fillrect() local 203 expand8_col2mask(color, cval); in atafb_iplan2p2_fillrect() 206 fill8_col(dest8, cval); in atafb_iplan2p2_fillrect() 213 expand16_col2mask(color, cval); in atafb_iplan2p2_fillrect() 219 d = fill16_col(d, rows, cval); in atafb_iplan2p2_fillrect() 229 expand8_col2mask(color, cval); in atafb_iplan2p2_fillrect() 232 fill8_col(dest8, cval); in atafb_iplan2p2_fillrect()
|
| A D | atafb_iplan2p4.c | 211 u32 cval[4]; in atafb_iplan2p4_fillrect() local 217 expand8_col2mask(color, cval); in atafb_iplan2p4_fillrect() 220 fill8_col(dest8, cval); in atafb_iplan2p4_fillrect() 227 expand16_col2mask(color, cval); in atafb_iplan2p4_fillrect() 233 d = fill16_col(d, rows, cval); in atafb_iplan2p4_fillrect() 243 expand8_col2mask(color, cval); in atafb_iplan2p4_fillrect() 246 fill8_col(dest8, cval); in atafb_iplan2p4_fillrect()
|
| A D | atafb_iplan2p8.c | 246 u32 cval[4]; in atafb_iplan2p8_fillrect() local 252 expand8_col2mask(color, cval); in atafb_iplan2p8_fillrect() 255 fill8_col(dest8, cval); in atafb_iplan2p8_fillrect() 262 expand16_col2mask(color, cval); in atafb_iplan2p8_fillrect() 268 d = fill16_col(d, rows, cval); in atafb_iplan2p8_fillrect() 278 expand8_col2mask(color, cval); in atafb_iplan2p8_fillrect() 281 fill8_col(dest8, cval); in atafb_iplan2p8_fillrect()
|
| /drivers/hwtracing/coresight/ |
| A D | coresight-etm4x-cfg.c | 13 #define CHECKREG(cval, elem) \ argument 15 if (offset == cval) { \ 22 #define CHECKREGIDX(cval, elem, off_idx, mask) \ argument 24 if (mask == cval) { \
|
| /drivers/tty/serial/ |
| A D | serial_txx9.c | 577 unsigned int cval, fcr = 0; in serial_txx9_set_termios() local 587 cval = sio_in(up, TXX9_SILCR); in serial_txx9_set_termios() 589 cval &= ~TXX9_SILCR_UMODE_MASK; in serial_txx9_set_termios() 592 cval |= TXX9_SILCR_UMODE_7BIT; in serial_txx9_set_termios() 598 cval |= TXX9_SILCR_UMODE_8BIT; in serial_txx9_set_termios() 604 cval &= ~TXX9_SILCR_USBL_MASK; in serial_txx9_set_termios() 606 cval |= TXX9_SILCR_USBL_2BIT; in serial_txx9_set_termios() 608 cval |= TXX9_SILCR_USBL_1BIT; in serial_txx9_set_termios() 611 cval |= TXX9_SILCR_UPEN; in serial_txx9_set_termios() 613 cval |= TXX9_SILCR_UEPS; in serial_txx9_set_termios() [all …]
|
| A D | xilinx_uartps.c | 819 u32 cval = 0; in cdns_uart_set_termios() local 890 cval |= CDNS_UART_MR_CHARLEN_6_BIT; in cdns_uart_set_termios() 893 cval |= CDNS_UART_MR_CHARLEN_7_BIT; in cdns_uart_set_termios() 897 cval |= CDNS_UART_MR_CHARLEN_8_BIT; in cdns_uart_set_termios() 913 cval |= CDNS_UART_MR_PARITY_MARK; in cdns_uart_set_termios() 918 cval |= CDNS_UART_MR_PARITY_ODD; in cdns_uart_set_termios() 920 cval |= CDNS_UART_MR_PARITY_EVEN; in cdns_uart_set_termios() 923 cval |= CDNS_UART_MR_PARITY_NONE; in cdns_uart_set_termios() 925 cval |= mode_reg & 1; in cdns_uart_set_termios() 930 cval |= CDNS_UART_MODEMCR_FCM; in cdns_uart_set_termios() [all …]
|
| A D | pxa.c | 406 unsigned char cval, fcr = 0; in serial_pxa_set_termios() local 411 cval = UART_LCR_WLEN(tty_get_char_size(termios->c_cflag)); in serial_pxa_set_termios() 414 cval |= UART_LCR_STOP; in serial_pxa_set_termios() 416 cval |= UART_LCR_PARITY; in serial_pxa_set_termios() 418 cval |= UART_LCR_EPAR; in serial_pxa_set_termios() 492 serial_out(up, UART_LCR, cval | UART_LCR_DLAB); /* set DLAB */ in serial_pxa_set_termios() 503 serial_out(up, UART_LCR, cval); /* reset DLAB */ in serial_pxa_set_termios() 504 up->lcr = cval; /* Save LCR */ in serial_pxa_set_termios()
|
| A D | sunsu.c | 752 unsigned char cval, fcr = 0; in sunsu_change_speed() local 757 cval = 0x00; in sunsu_change_speed() 760 cval = 0x01; in sunsu_change_speed() 763 cval = 0x02; in sunsu_change_speed() 767 cval = 0x03; in sunsu_change_speed() 772 cval |= 0x04; in sunsu_change_speed() 774 cval |= UART_LCR_PARITY; in sunsu_change_speed() 776 cval |= UART_LCR_EPAR; in sunsu_change_speed() 778 cval |= UART_LCR_SPAR; in sunsu_change_speed() 859 serial_out(up, UART_LCR, cval); /* reset DLAB */ in sunsu_change_speed() [all …]
|
| A D | omap-serial.c | 780 unsigned char cval = 0; in serial_omap_set_termios() local 784 cval = UART_LCR_WLEN(tty_get_char_size(termios->c_cflag)); in serial_omap_set_termios() 787 cval |= UART_LCR_STOP; in serial_omap_set_termios() 789 cval |= UART_LCR_PARITY; in serial_omap_set_termios() 791 cval |= UART_LCR_EPAR; in serial_omap_set_termios() 793 cval |= UART_LCR_SPAR; in serial_omap_set_termios() 860 serial_out(up, UART_LCR, cval); /* reset DLAB */ in serial_omap_set_termios() 861 up->lcr = cval; in serial_omap_set_termios() 939 serial_out(up, UART_LCR, cval); in serial_omap_set_termios()
|
| A D | cpm_uart.c | 494 u16 cval, scval, prev_mode; in cpm_uart_set_termios() local 520 cval = 0; in cpm_uart_set_termios() 524 cval |= SMCMR_SL; /* Two stops */ in cpm_uart_set_termios() 529 cval |= SMCMR_PEN; in cpm_uart_set_termios() 532 cval |= SMCMR_PM_EVEN; in cpm_uart_set_termios() 598 out_be16(&smcp->smc_smcmr, smcr_mk_clen(bits - 1) | cval | in cpm_uart_set_termios()
|
| /drivers/mmc/core/ |
| A D | sdio_uart.c | 249 unsigned char cval, fcr = 0; in sdio_uart_change_speed() local 252 cval = UART_LCR_WLEN(tty_get_char_size(termios->c_cflag)); in sdio_uart_change_speed() 255 cval |= UART_LCR_STOP; in sdio_uart_change_speed() 257 cval |= UART_LCR_PARITY; in sdio_uart_change_speed() 259 cval |= UART_LCR_EPAR; in sdio_uart_change_speed() 320 port->lcr = cval; in sdio_uart_change_speed() 323 sdio_out(port, UART_LCR, cval | UART_LCR_DLAB); in sdio_uart_change_speed() 326 sdio_out(port, UART_LCR, cval); in sdio_uart_change_speed()
|
| /drivers/tty/ |
| A D | mxser.c | 485 unsigned char cval; in mxser_set_baud() local 521 cval = inb(info->ioaddr + UART_LCR); in mxser_set_baud() 523 outb(cval | UART_LCR_DLAB, info->ioaddr + UART_LCR); /* set DLAB */ in mxser_set_baud() 527 outb(cval, info->ioaddr + UART_LCR); /* reset DLAB */ in mxser_set_baud() 576 unsigned cflag, cval; in mxser_change_speed() local 589 cval = UART_LCR_WLEN(tty_get_char_size(tty->termios.c_cflag)); in mxser_change_speed() 592 cval |= UART_LCR_STOP; in mxser_change_speed() 594 cval |= UART_LCR_PARITY; in mxser_change_speed() 596 cval |= UART_LCR_EPAR; in mxser_change_speed() 598 cval |= UART_LCR_SPAR; in mxser_change_speed() [all …]
|
| A D | amiserial.c | 571 unsigned cflag, cval = 0; in change_speed() local 579 cval = 3; bits = 10; in change_speed() 581 cval |= 0x04; in change_speed() 585 cval |= UART_LCR_PARITY; in change_speed() 589 cval |= UART_LCR_EPAR; in change_speed() 591 cval |= UART_LCR_SPAR; in change_speed() 687 if(cval & UART_LCR_PARITY) in change_speed()
|
| /drivers/tty/serial/8250/ |
| A D | 8250_omap.c | 382 unsigned char cval = 0; in omap_8250_set_termios() local 385 cval = UART_LCR_WLEN(tty_get_char_size(termios->c_cflag)); in omap_8250_set_termios() 388 cval |= UART_LCR_STOP; in omap_8250_set_termios() 390 cval |= UART_LCR_PARITY; in omap_8250_set_termios() 392 cval |= UART_LCR_EPAR; in omap_8250_set_termios() 394 cval |= UART_LCR_SPAR; in omap_8250_set_termios() 457 up->lcr = cval; in omap_8250_set_termios()
|
| /drivers/clocksource/ |
| A D | arm_arch_timer.c | 425 u64 cval; in erratum_set_next_event_generic() local 432 cval = evt + arch_counter_get_cntpct_stable(); in erratum_set_next_event_generic() 433 write_sysreg(cval, cntp_cval_el0); in erratum_set_next_event_generic() 435 cval = evt + arch_counter_get_cntvct_stable(); in erratum_set_next_event_generic() 436 write_sysreg(cval, cntv_cval_el0); in erratum_set_next_event_generic()
|
| /drivers/nvme/target/ |
| A D | fabrics-cmd-auth.c | 433 memcpy(data->cval, req->sq->dhchap_c1, data->hl); in nvmet_auth_challenge() 437 ret = nvmet_auth_ctrl_exponential(req, data->cval + data->hl, in nvmet_auth_challenge()
|
| /drivers/media/usb/pvrusb2/ |
| A D | pvrusb2-hdw.c | 4999 u32 cval,nval; in pvr2_hdw_gpio_chg_dir() local 5002 ret = pvr2_read_register(hdw,PVR2_GPIO_DIR,&cval); in pvr2_hdw_gpio_chg_dir() 5004 nval = (cval & ~msk) | (val & msk); in pvr2_hdw_gpio_chg_dir() 5007 msk,val,cval,nval); in pvr2_hdw_gpio_chg_dir() 5019 u32 cval,nval; in pvr2_hdw_gpio_chg_out() local 5022 ret = pvr2_read_register(hdw,PVR2_GPIO_OUT,&cval); in pvr2_hdw_gpio_chg_out() 5024 nval = (cval & ~msk) | (val & msk); in pvr2_hdw_gpio_chg_out() 5027 msk,val,cval,nval); in pvr2_hdw_gpio_chg_out()
|
| /drivers/nvme/host/ |
| A D | auth.c | 282 memcpy(chap->c1, data->cval, chap->hash_len); in nvme_auth_process_dhchap_challenge() 290 memcpy(chap->ctrl_key, data->cval + chap->hash_len, in nvme_auth_process_dhchap_challenge()
|
| /drivers/gpu/drm/gma500/ |
| A D | psb_intel_sdvo.c | 234 u32 bval = val, cval = val; in psb_intel_sdvo_write_sdvox() local 240 cval = REG_READ_WITH_AUX(SDVOC, j); in psb_intel_sdvo_write_sdvox() 252 REG_WRITE_WITH_AUX(SDVOC, cval, j); in psb_intel_sdvo_write_sdvox()
|
| /drivers/gpu/drm/i915/display/ |
| A D | intel_sdvo.c | 217 u32 bval = val, cval = val; in intel_sdvo_write_sdvox() local 235 cval = intel_de_read(display, GEN3_SDVOC); in intel_sdvo_write_sdvox() 248 intel_de_write(display, GEN3_SDVOC, cval); in intel_sdvo_write_sdvox()
|