Searched refs:reg_msr (Results 1 – 2 of 2) sorted by relevance
592 u32 reg_msr, reg_mid; in at91_mailbox_read() local594 reg_msr = at91_read(priv, AT91_MSR(mb)); in at91_mailbox_read()595 if (!(reg_msr & AT91_MSR_MRDY)) in at91_mailbox_read()617 *timestamp = FIELD_GET(AT91_MSR_MTIMESTAMP_MASK, reg_msr) << 16; in at91_mailbox_read()619 cf->len = can_cc_dlc2len(FIELD_GET(AT91_MSR_MDLC_MASK, reg_msr)); in at91_mailbox_read()621 if (reg_msr & AT91_MSR_MRTR) { in at91_mailbox_read()631 if (unlikely(mb == get_mb_rx_last(priv) && reg_msr & AT91_MSR_MMI)) in at91_mailbox_read()654 u32 reg_msr; in at91_irq_tx() local672 reg_msr = at91_read(priv, AT91_MSR(mb)); in at91_irq_tx()673 if (unlikely(!(reg_msr & AT91_MSR_MRDY && in at91_irq_tx()[all …]
560 u32 reg_msr; in xcan_chip_start() local595 reg_msr = XCAN_MSR_LBACK_MASK; in xcan_chip_start()597 reg_msr = 0x0; in xcan_chip_start()605 priv->write_reg(priv, XCAN_MSR_OFFSET, reg_msr); in xcan_chip_start()