Lines Matching refs:isrc
510 static int sun4i_can_err(struct net_device *dev, u8 isrc, u8 status) in sun4i_can_err() argument
533 if (isrc & SUN4I_INT_DATA_OR) { in sun4i_can_err()
552 if (isrc & SUN4I_INT_ERR_WRN) { in sun4i_can_err()
563 if (isrc & SUN4I_INT_BUS_ERR) { in sun4i_can_err()
594 if (isrc & SUN4I_INT_ERR_PASSIVE) { in sun4i_can_err()
602 if (isrc & SUN4I_INT_ARB_LOST) { in sun4i_can_err()
642 u8 isrc, status; in sun4i_can_interrupt() local
645 while ((isrc = readl(priv->base + SUN4I_REG_INT_ADDR)) && in sun4i_can_interrupt()
650 if (isrc & SUN4I_INT_WAKEUP) in sun4i_can_interrupt()
653 if (isrc & SUN4I_INT_TBUF_VLD) { in sun4i_can_interrupt()
663 if ((isrc & SUN4I_INT_RBUF_VLD) && in sun4i_can_interrupt()
664 !(isrc & SUN4I_INT_DATA_OR)) { in sun4i_can_interrupt()
672 if (isrc & in sun4i_can_interrupt()
676 if (sun4i_can_err(dev, isrc, status)) in sun4i_can_interrupt()
680 writel(isrc, priv->base + SUN4I_REG_INT_ADDR); in sun4i_can_interrupt()