Home
last modified time | relevance | path

Searched refs:mr2 (Results 1 – 7 of 7) sorted by relevance

/linux-5.19.10/drivers/tty/serial/
Dmcf.c202 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()
436 unsigned char mr1, mr2; in mcf_config_rs485() local
440 mr2 = readb(port->membase + MCFUART_UMR); in mcf_config_rs485()
444 mr2 |= MCFUART_MR2_TXRTS; in mcf_config_rs485()
[all …]
Dmpc52xx_uart.c115 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 …]
Dsccnxp.c643 u8 mr1, mr2; in sccnxp_set_termios() local
683 mr2 = (termios->c_cflag & CSTOPB) ? MR2_STOP2 : MR2_STOP1; in sccnxp_set_termios()
688 sccnxp_port_write(port, SCCNXP_MR_REG, mr2); in sccnxp_set_termios()
/linux-5.19.10/drivers/ipack/devices/
Dipoctal.c504 unsigned char mr2 = 0; in ipoctal_set_termios() local
544 mr2 |= MR2_STOP_BITS_LENGTH_2; in ipoctal_set_termios()
546 mr2 |= MR2_STOP_BITS_LENGTH_1; in ipoctal_set_termios()
553 mr2 |= MR2_TxRTS_CONTROL_OFF | MR2_CTS_ENABLE_TX_ON; in ipoctal_set_termios()
556 mr2 |= MR2_TxRTS_CONTROL_OFF | MR2_CTS_ENABLE_TX_OFF; in ipoctal_set_termios()
561 mr2 |= MR2_TxRTS_CONTROL_OFF | MR2_CTS_ENABLE_TX_OFF; in ipoctal_set_termios()
565 mr2 |= MR2_TxRTS_CONTROL_ON | MR2_CTS_ENABLE_TX_OFF; in ipoctal_set_termios()
625 iowrite8(mr2, &channel->regs->w.mr); in ipoctal_set_termios()
/linux-5.19.10/arch/powerpc/include/asm/
Dmpc52xx_psc.h155 u8 mr2; member
306 u8 mr2; /* PSC + 0x04 */ member
/linux-5.19.10/drivers/spi/
Dspi-mpc512x-psc.c350 in_8(psc_addr(mps, mr2)); in mpc512x_psc_spi_prep_xfer_hw()
351 out_8(psc_addr(mps, mr2), 0x0); in mpc512x_psc_spi_prep_xfer_hw()
/linux-5.19.10/drivers/net/ethernet/sun/
Dsunhme.c633 unsigned short mr2, mr3; in is_lucent_phy() local
636 mr2 = happy_meal_tcvr_read(hp, tregs, 2); in is_lucent_phy()
638 if ((mr2 & 0xffff) == 0x0180 && in is_lucent_phy()