Searched refs:mr1 (Results 1 - 10 of 10) sorted by relevance
/linux-4.1.27/drivers/tty/serial/ |
H A D | mcf.c | 206 unsigned char mr1, mr2; mcf_set_termios() local 216 mr1 = MCFUART_MR1_RXIRQRDY | MCFUART_MR1_RXERRCHAR; mcf_set_termios() 220 case CS5: mr1 |= MCFUART_MR1_CS5; break; mcf_set_termios() 221 case CS6: mr1 |= MCFUART_MR1_CS6; break; mcf_set_termios() 222 case CS7: mr1 |= MCFUART_MR1_CS7; break; mcf_set_termios() 224 default: mr1 |= MCFUART_MR1_CS8; break; mcf_set_termios() 230 mr1 |= MCFUART_MR1_PARITYMARK; mcf_set_termios() 232 mr1 |= MCFUART_MR1_PARITYSPACE; mcf_set_termios() 235 mr1 |= MCFUART_MR1_PARITYODD; mcf_set_termios() 237 mr1 |= MCFUART_MR1_PARITYEVEN; mcf_set_termios() 240 mr1 |= MCFUART_MR1_PARITYNONE; mcf_set_termios() 255 mr1 |= MCFUART_MR1_RXRTS; mcf_set_termios() 269 writeb(mr1, port->membase + MCFUART_UMR); mcf_set_termios() 443 unsigned char mr1, mr2; mcf_config_rs485() local 446 mr1 = readb(port->membase + MCFUART_UMR); mcf_config_rs485() 456 writeb(mr1, port->membase + MCFUART_UMR); mcf_config_rs485()
|
H A D | mpc52xx_uart.c | 120 void (*set_mode)(struct uart_port *port, u8 mr1, u8 mr2); 153 static void mpc52xx_psc_set_mode(struct uart_port *port, u8 mr1, u8 mr2) mpc52xx_psc_set_mode() argument 156 out_8(&PSC(port)->mode, mr1); mpc52xx_psc_set_mode() local 929 static void mpc5125_psc_set_mode(struct uart_port *port, u8 mr1, u8 mr2) mpc5125_psc_set_mode() argument 931 out_8(&PSC_5125(port)->mr1, mr1); mpc5125_psc_set_mode() 968 return in_8(&PSC_5125(port)->mr1); mpc5125_psc_get_mr1() 1173 unsigned char mr1, mr2; mpc52xx_uart_set_termios() local 1178 mr1 = 0; mpc52xx_uart_set_termios() 1181 case CS5: mr1 |= MPC52xx_PSC_MODE_5_BITS; mpc52xx_uart_set_termios() 1183 case CS6: mr1 |= MPC52xx_PSC_MODE_6_BITS; mpc52xx_uart_set_termios() 1185 case CS7: mr1 |= MPC52xx_PSC_MODE_7_BITS; mpc52xx_uart_set_termios() 1188 default: mr1 |= MPC52xx_PSC_MODE_8_BITS; mpc52xx_uart_set_termios() 1193 mr1 |= MPC52xx_PSC_MODE_PARFORCE; mpc52xx_uart_set_termios() 1196 mr1 |= (new->c_cflag & PARODD) ? mpc52xx_uart_set_termios() 1199 mr1 |= MPC52xx_PSC_MODE_PARNONE; mpc52xx_uart_set_termios() 1212 mr1 |= MPC52xx_PSC_MODE_RXRTS; mpc52xx_uart_set_termios() 1239 psc_ops->set_mode(port, mr1, mr2); mpc52xx_uart_set_termios() 1536 unsigned char mr1; mpc52xx_console_get_options() local 1541 mr1 = psc_ops->get_mr1(port); mpc52xx_console_get_options() 1547 switch (mr1 & MPC52xx_PSC_MODE_BITS_MASK) { mpc52xx_console_get_options() 1562 if (mr1 & MPC52xx_PSC_MODE_PARNONE) mpc52xx_console_get_options() 1565 *parity = mr1 & MPC52xx_PSC_MODE_PARODD ? 'o' : 'e'; mpc52xx_console_get_options()
|
H A D | sccnxp.c | 612 u8 mr1, mr2; sccnxp_set_termios() local 630 mr1 = MR1_BITS_5; sccnxp_set_termios() 633 mr1 = MR1_BITS_6; sccnxp_set_termios() 636 mr1 = MR1_BITS_7; sccnxp_set_termios() 640 mr1 = MR1_BITS_8; sccnxp_set_termios() 647 mr1 |= MR1_PAR_ODD; sccnxp_set_termios() 649 mr1 |= MR1_PAR_NO; sccnxp_set_termios() 656 sccnxp_port_write(port, SCCNXP_MR_REG, mr1); sccnxp_set_termios()
|
/linux-4.1.27/drivers/ipack/devices/ |
H A D | ipoctal.c | 335 &channel->regs->w.mr); /* mr1 */ ipoctal_inst_slot() 484 unsigned char mr1 = 0; ipoctal_set_termios() local 498 mr1 |= MR1_CHRL_6_BITS; ipoctal_set_termios() 501 mr1 |= MR1_CHRL_7_BITS; ipoctal_set_termios() 505 mr1 |= MR1_CHRL_8_BITS; ipoctal_set_termios() 514 mr1 |= MR1_PARITY_ON | MR1_PARITY_ODD; ipoctal_set_termios() 516 mr1 |= MR1_PARITY_ON | MR1_PARITY_EVEN; ipoctal_set_termios() 518 mr1 |= MR1_PARITY_OFF; ipoctal_set_termios() 533 mr1 |= MR1_RxRTS_CONTROL_ON; ipoctal_set_termios() 536 mr1 |= MR1_RxRTS_CONTROL_OFF; ipoctal_set_termios() 541 mr1 |= MR1_RxRTS_CONTROL_OFF; ipoctal_set_termios() 545 mr1 |= MR1_RxRTS_CONTROL_OFF; ipoctal_set_termios() 602 mr1 |= MR1_ERROR_CHAR; ipoctal_set_termios() 603 mr1 |= MR1_RxINT_RxRDY; ipoctal_set_termios() 606 iowrite8(mr1, &channel->regs->w.mr); ipoctal_set_termios()
|
/linux-4.1.27/drivers/net/ethernet/ibm/emac/ |
H A D | core.c | 559 u32 r, mr1 = 0; emac_configure() local 564 out_be32(&p->mr1, in_be32(&p->mr1) emac_configure() 582 mr1 = EMAC_MR1_FDE | EMAC_MR1_ILE; emac_configure() 586 mr1 |= EMAC_MR1_FDE | EMAC_MR1_MWSW_001; emac_configure() 588 /* Adjust fifo sizes, mr1 and timeouts based on link speed */ emac_configure() 593 mr1 |= EMAC_MR1_MF_1000GPCS | EMAC_MR1_MF_IPPA( emac_configure() 602 mr1 |= EMAC_MR1_MF_1000; emac_configure() 610 mr1 |= EMAC4_MR1_JPSM; emac_configure() 612 mr1 |= EMAC_MR1_JPSM; emac_configure() 618 mr1 |= EMAC_MR1_MF_100; emac_configure() 637 mr1 |= EMAC_MR1_EIFC | EMAC_MR1_APP; emac_configure() 639 mr1 |= EMAC_MR1_APP; emac_configure() 643 mr1 |= emac_calc_base_mr1(dev, tx_size, rx_size); emac_configure() 644 out_be32(&p->mr1, mr1); emac_configure() 1237 u32 r = in_be32(&dev->emacp->mr1);
|
H A D | debug.c | 81 in_be32(&p->mr0), in_be32(&p->mr1), emac_mac_dump()
|
H A D | emac.h | 35 u32 mr1; /* Reset */ member in struct:emac_regs
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | mpc52xx_psc.h | 303 u8 mr1; /* PSC + 0x00 */ member in struct:mpc5125_psc
|
/linux-4.1.27/sound/ppc/ |
H A D | snd_ps3_reg.h | 352 with scksel1 by mr1
|
/linux-4.1.27/drivers/net/wireless/ |
H A D | atmel.c | 3601 u16 mr1, mr3; atmel_wakeup_firmware() local 3616 mr1 = atmel_read16(priv->dev, MR1); atmel_wakeup_firmware() 3621 if (mr1 & MAC_BOOT_COMPLETE && atmel_wakeup_firmware() 3644 mr1 = atmel_read16(priv->dev, MR1); atmel_wakeup_firmware() 3649 if (mr1 & MAC_INIT_COMPLETE && atmel_wakeup_firmware() 3666 if ((mr1 & MAC_INIT_COMPLETE) && atmel_wakeup_firmware()
|
Completed in 447 milliseconds