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

/linux-4.4.14/drivers/net/can/
H A Dat91_can.c578 u32 reg_msr, reg_mid; at91_read_mb() local
586 reg_msr = at91_read(priv, AT91_MSR(mb)); at91_read_mb()
587 cf->can_dlc = get_can_dlc((reg_msr >> 16) & 0xf); at91_read_mb()
589 if (reg_msr & AT91_MSR_MRTR) at91_read_mb()
599 if (unlikely(mb == get_mb_rx_last(priv) && reg_msr & AT91_MSR_MMI)) at91_read_mb()
837 u32 reg_msr; at91_irq_tx() local
858 reg_msr = at91_read(priv, AT91_MSR(mb)); at91_irq_tx()
859 if (likely(reg_msr & AT91_MSR_MRDY && at91_irq_tx()
860 ~reg_msr & AT91_MSR_MABT)) { at91_irq_tx()
H A Dxilinx_can.c303 u32 reg_msr, reg_sr_mask; xcan_chip_start() local
321 reg_msr = XCAN_MSR_LBACK_MASK; xcan_chip_start()
324 reg_msr = 0x0; xcan_chip_start()
328 priv->write_reg(priv, XCAN_MSR_OFFSET, reg_msr); xcan_chip_start()

Completed in 85 milliseconds