Searched refs:mr2 (Results 1 – 6 of 6) sorted by relevance
/drivers/tty/serial/ |
D | mcf.c | 202 unsigned char mr1, mr2; in mcf_set_termios() local 213 mr2 = 0; in mcf_set_termios() 246 mr2 |= MCFUART_MR2_STOP2; in mcf_set_termios() 248 mr2 |= MCFUART_MR2_STOP1; in mcf_set_termios() 252 mr2 |= MCFUART_MR2_TXCTS; in mcf_set_termios() 258 mr2 |= MCFUART_MR2_TXRTS; in mcf_set_termios() 266 writeb(mr2, port->membase + MCFUART_UMR); in mcf_set_termios() 419 unsigned char mr1, mr2; in mcf_config_rs485() local 423 mr2 = readb(port->membase + MCFUART_UMR); in mcf_config_rs485() 427 mr2 |= MCFUART_MR2_TXRTS; in mcf_config_rs485() [all …]
|
D | mpc52xx_uart.c | 115 void (*set_mode)(struct uart_port *port, u8 mr1, u8 mr2); 148 static void mpc52xx_psc_set_mode(struct uart_port *port, u8 mr1, u8 mr2) in mpc52xx_psc_set_mode() argument 152 out_8(&PSC(port)->mode, mr2); in mpc52xx_psc_set_mode() 922 static void mpc5125_psc_set_mode(struct uart_port *port, u8 mr1, u8 mr2) in mpc5125_psc_set_mode() argument 925 out_8(&PSC_5125(port)->mr2, mr2); in mpc5125_psc_set_mode() 1173 unsigned char mr1, mr2; in mpc52xx_uart_set_termios() local 1202 mr2 = 0; in mpc52xx_uart_set_termios() 1205 mr2 |= MPC52xx_PSC_MODE_TWO_STOP; in mpc52xx_uart_set_termios() 1207 mr2 |= ((new->c_cflag & CSIZE) == CS5) ? in mpc52xx_uart_set_termios() 1213 mr2 |= MPC52xx_PSC_MODE_TXCTS; in mpc52xx_uart_set_termios() [all …]
|
D | sccnxp.c | 642 u8 mr1, mr2; in sccnxp_set_termios() local 682 mr2 = (termios->c_cflag & CSTOPB) ? MR2_STOP2 : MR2_STOP1; in sccnxp_set_termios() 687 sccnxp_port_write(port, SCCNXP_MR_REG, mr2); in sccnxp_set_termios()
|
/drivers/ipack/devices/ |
D | ipoctal.c | 503 unsigned char mr2 = 0; in ipoctal_set_termios() local 543 mr2 |= MR2_STOP_BITS_LENGTH_2; in ipoctal_set_termios() 545 mr2 |= MR2_STOP_BITS_LENGTH_1; in ipoctal_set_termios() 552 mr2 |= MR2_TxRTS_CONTROL_OFF | MR2_CTS_ENABLE_TX_ON; in ipoctal_set_termios() 555 mr2 |= MR2_TxRTS_CONTROL_OFF | MR2_CTS_ENABLE_TX_OFF; in ipoctal_set_termios() 560 mr2 |= MR2_TxRTS_CONTROL_OFF | MR2_CTS_ENABLE_TX_OFF; in ipoctal_set_termios() 564 mr2 |= MR2_TxRTS_CONTROL_ON | MR2_CTS_ENABLE_TX_OFF; in ipoctal_set_termios() 624 iowrite8(mr2, &channel->regs->w.mr); in ipoctal_set_termios()
|
/drivers/spi/ |
D | spi-mpc512x-psc.c | 334 in_8(psc_addr(mps, mr2)); in mpc512x_psc_spi_prep_xfer_hw() 335 out_8(psc_addr(mps, mr2), 0x0); in mpc512x_psc_spi_prep_xfer_hw()
|
/drivers/net/ethernet/sun/ |
D | sunhme.c | 592 unsigned short mr2, mr3; in is_lucent_phy() local 595 mr2 = happy_meal_tcvr_read(hp, tregs, 2); in is_lucent_phy() 597 if ((mr2 & 0xffff) == 0x0180 && in is_lucent_phy()
|