Lines Matching refs:isrc
521 static int sun4i_can_err(struct net_device *dev, u8 isrc, u8 status) in sun4i_can_err() argument
539 if (isrc & SUN4I_INT_DATA_OR) { in sun4i_can_err()
558 if (isrc & SUN4I_INT_ERR_WRN) { in sun4i_can_err()
574 if (isrc & SUN4I_INT_BUS_ERR) { in sun4i_can_err()
605 if (isrc & SUN4I_INT_ERR_PASSIVE) { in sun4i_can_err()
613 if (isrc & SUN4I_INT_ARB_LOST) { in sun4i_can_err()
649 u8 isrc, status; in sun4i_can_interrupt() local
652 while ((isrc = readl(priv->base + SUN4I_REG_INT_ADDR)) && in sun4i_can_interrupt()
657 if (isrc & SUN4I_INT_WAKEUP) in sun4i_can_interrupt()
660 if (isrc & SUN4I_INT_TBUF_VLD) { in sun4i_can_interrupt()
666 if ((isrc & SUN4I_INT_RBUF_VLD) && in sun4i_can_interrupt()
667 !(isrc & SUN4I_INT_DATA_OR)) { in sun4i_can_interrupt()
675 if (isrc & in sun4i_can_interrupt()
679 if (sun4i_can_err(dev, isrc, status)) in sun4i_can_interrupt()
683 writel(isrc, priv->base + SUN4I_REG_INT_ADDR); in sun4i_can_interrupt()