Lines Matching refs:isrc
510 static int sun4i_can_err(struct net_device *dev, u8 isrc, u8 status) in sun4i_can_err() argument
528 if (isrc & SUN4I_INT_DATA_OR) { in sun4i_can_err()
547 if (isrc & SUN4I_INT_ERR_WRN) { in sun4i_can_err()
562 if (isrc & SUN4I_INT_BUS_ERR) { in sun4i_can_err()
593 if (isrc & SUN4I_INT_ERR_PASSIVE) { in sun4i_can_err()
601 if (isrc & SUN4I_INT_ARB_LOST) { in sun4i_can_err()
640 u8 isrc, status; in sun4i_can_interrupt() local
643 while ((isrc = readl(priv->base + SUN4I_REG_INT_ADDR)) && in sun4i_can_interrupt()
648 if (isrc & SUN4I_INT_WAKEUP) in sun4i_can_interrupt()
651 if (isrc & SUN4I_INT_TBUF_VLD) { in sun4i_can_interrupt()
661 if ((isrc & SUN4I_INT_RBUF_VLD) && in sun4i_can_interrupt()
662 !(isrc & SUN4I_INT_DATA_OR)) { in sun4i_can_interrupt()
670 if (isrc & in sun4i_can_interrupt()
674 if (sun4i_can_err(dev, isrc, status)) in sun4i_can_interrupt()
678 writel(isrc, priv->base + SUN4I_REG_INT_ADDR); in sun4i_can_interrupt()