Searched refs:reg_mcr (Results 1 – 2 of 2) sorted by relevance
500 u32 reg_mcr; in flexcan_enable_wakeup_irq() local502 reg_mcr = priv->read(®s->mcr); in flexcan_enable_wakeup_irq()505 reg_mcr |= FLEXCAN_MCR_WAK_MSK; in flexcan_enable_wakeup_irq()507 reg_mcr &= ~FLEXCAN_MCR_WAK_MSK; in flexcan_enable_wakeup_irq()509 priv->write(reg_mcr, ®s->mcr); in flexcan_enable_wakeup_irq()532 u32 reg_mcr; in flexcan_enter_stop_mode() local535 reg_mcr = priv->read(®s->mcr); in flexcan_enter_stop_mode()536 reg_mcr |= FLEXCAN_MCR_SLF_WAK; in flexcan_enter_stop_mode()537 priv->write(reg_mcr, ®s->mcr); in flexcan_enter_stop_mode()555 u32 reg_mcr; in flexcan_exit_stop_mode() local[all …]
453 u32 reg_mid, reg_mcr; in at91_start_xmit() local468 reg_mcr = ((cf->can_id & CAN_RTR_FLAG) ? AT91_MCR_MRTR : 0) | in at91_start_xmit()480 at91_write(priv, AT91_MCR(mb), reg_mcr); in at91_start_xmit()