Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/can/flexcan/
Dflexcan-core.c500 u32 reg_mcr; in flexcan_enable_wakeup_irq() local
502 reg_mcr = priv->read(&regs->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, &regs->mcr); in flexcan_enable_wakeup_irq()
532 u32 reg_mcr; in flexcan_enter_stop_mode() local
535 reg_mcr = priv->read(&regs->mcr); in flexcan_enter_stop_mode()
536 reg_mcr |= FLEXCAN_MCR_SLF_WAK; in flexcan_enter_stop_mode()
537 priv->write(reg_mcr, &regs->mcr); in flexcan_enter_stop_mode()
555 u32 reg_mcr; in flexcan_exit_stop_mode() local
[all …]
/Linux-v6.6/drivers/net/can/
Dat91_can.c453 u32 reg_mid, reg_mcr; in at91_start_xmit() local
468 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()