Lines Matching full:isr

832  * xcan_rx -  Is called from CAN isr to complete the received
837 * This function is invoked from the CAN isr(poll) to process the Rx frames. It
902 * xcanfd_rx - Is called from CAN isr to complete the received
907 * This function is invoked from the CAN isr(poll) to process the Rx frames. It
1080 * xcan_err_interrupt - error frame Isr
1082 * @isr: interrupt status register value
1088 static void xcan_err_interrupt(struct net_device *ndev, u32 isr) in xcan_err_interrupt() argument
1098 if (isr & XCAN_IXR_BSOFF_MASK) { in xcan_err_interrupt()
1113 if (isr & XCAN_IXR_ARBLST_MASK) { in xcan_err_interrupt()
1120 if (isr & XCAN_IXR_RXOFLW_MASK) { in xcan_err_interrupt()
1128 if (isr & XCAN_IXR_RXMNF_MASK) { in xcan_err_interrupt()
1137 if (isr & XCAN_IXR_ERROR_MASK) { in xcan_err_interrupt()
1192 if (priv->ecc_enable && isr & XCAN_IXR_ECC_MASK) { in xcan_err_interrupt()
1207 if (isr & XCAN_IXR_E2BERX_MASK) { in xcan_err_interrupt()
1212 if (isr & XCAN_IXR_E1BERX_MASK) { in xcan_err_interrupt()
1217 if (isr & XCAN_IXR_E2BETXOL_MASK) { in xcan_err_interrupt()
1222 if (isr & XCAN_IXR_E1BETXOL_MASK) { in xcan_err_interrupt()
1227 if (isr & XCAN_IXR_E2BETXTL_MASK) { in xcan_err_interrupt()
1232 if (isr & XCAN_IXR_E1BETXTL_MASK) { in xcan_err_interrupt()
1258 * @isr: interrupt status register value
1263 static void xcan_state_interrupt(struct net_device *ndev, u32 isr) in xcan_state_interrupt() argument
1268 if (isr & XCAN_IXR_SLP_MASK) in xcan_state_interrupt()
1272 if (isr & XCAN_IXR_WKUP_MASK) in xcan_state_interrupt()
1376 * xcan_tx_interrupt - Tx Done Isr
1378 * @isr: Interrupt status register value
1380 static void xcan_tx_interrupt(struct net_device *ndev, u32 isr) in xcan_tx_interrupt() argument
1412 /* Synchronize TXOK and isr so that after the loop: in xcan_tx_interrupt()
1413 * (1) isr variable is up-to-date at least up to TXOK clear in xcan_tx_interrupt()
1422 while ((isr & XCAN_IXR_TXOK_MASK) && in xcan_tx_interrupt()
1426 isr = priv->read_reg(priv, XCAN_ISR_OFFSET); in xcan_tx_interrupt()
1429 if (isr & XCAN_IXR_TXFEMP_MASK) { in xcan_tx_interrupt()
1453 * xcan_interrupt - CAN Isr
1457 * This is the xilinx CAN Isr. It checks for the type of interrupt
1458 * and invokes the corresponding ISR.
1468 u32 isr, ier; in xcan_interrupt() local
1472 isr = priv->read_reg(priv, XCAN_ISR_OFFSET); in xcan_interrupt()
1473 if (!isr) in xcan_interrupt()
1477 if (isr & (XCAN_IXR_SLP_MASK | XCAN_IXR_WKUP_MASK)) { in xcan_interrupt()
1480 xcan_state_interrupt(ndev, isr); in xcan_interrupt()
1484 if (isr & XCAN_IXR_TXOK_MASK) in xcan_interrupt()
1485 xcan_tx_interrupt(ndev, isr); in xcan_interrupt()
1495 isr_errors = isr & mask; in xcan_interrupt()
1498 xcan_err_interrupt(ndev, isr); in xcan_interrupt()
1502 if (isr & rx_int_mask) { in xcan_interrupt()