Home
last modified time | relevance | path

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

/Linux-v6.6/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()
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 …]
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.c642 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()
/Linux-v6.6/drivers/ipack/devices/
Dipoctal.c503 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()
/Linux-v6.6/arch/powerpc/include/asm/
Dmpc52xx_psc.h155 u8 mr2; member
306 u8 mr2; /* PSC + 0x04 */ member
/Linux-v6.6/drivers/spi/
Dspi-mpc512x-psc.c334 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()
/Linux-v6.6/drivers/net/ethernet/sun/
Dsunhme.c592 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()