Searched refs:reg_mcr (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/can/
H A Dflexcan.c819 u32 reg_mcr, reg_ctrl, reg_ctrl2, reg_mecr; flexcan_chip_start() local
845 reg_mcr = flexcan_read(&regs->mcr); flexcan_chip_start()
846 reg_mcr &= ~FLEXCAN_MCR_MAXMB(0xff); flexcan_chip_start()
847 reg_mcr |= FLEXCAN_MCR_FRZ | FLEXCAN_MCR_FEN | FLEXCAN_MCR_HALT | flexcan_chip_start()
850 netdev_dbg(dev, "%s: writing mcr=0x%08x", __func__, reg_mcr); flexcan_chip_start()
851 flexcan_write(reg_mcr, &regs->mcr); flexcan_chip_start()
H A Dat91_can.c459 u32 reg_mid, reg_mcr; at91_start_xmit() local
474 reg_mcr = ((cf->can_id & CAN_RTR_FLAG) ? AT91_MCR_MRTR : 0) | at91_start_xmit()
486 at91_write(priv, AT91_MCR(mb), reg_mcr); at91_start_xmit()

Completed in 88 milliseconds