Lines Matching full:isr
770 * xcan_rx - Is called from CAN isr to complete the received
775 * This function is invoked from the CAN isr(poll) to process the Rx frames. It
840 * xcanfd_rx - Is called from CAN isr to complete the received
845 * This function is invoked from the CAN isr(poll) to process the Rx frames. It
1018 * xcan_err_interrupt - error frame Isr
1020 * @isr: interrupt status register value
1026 static void xcan_err_interrupt(struct net_device *ndev, u32 isr) in xcan_err_interrupt() argument
1036 if (isr & XCAN_IXR_BSOFF_MASK) { in xcan_err_interrupt()
1051 if (isr & XCAN_IXR_ARBLST_MASK) { in xcan_err_interrupt()
1058 if (isr & XCAN_IXR_RXOFLW_MASK) { in xcan_err_interrupt()
1066 if (isr & XCAN_IXR_RXMNF_MASK) { in xcan_err_interrupt()
1075 if (isr & XCAN_IXR_ERROR_MASK) { in xcan_err_interrupt()
1148 * @isr: interrupt status register value
1153 static void xcan_state_interrupt(struct net_device *ndev, u32 isr) in xcan_state_interrupt() argument
1158 if (isr & XCAN_IXR_SLP_MASK) in xcan_state_interrupt()
1162 if (isr & XCAN_IXR_WKUP_MASK) in xcan_state_interrupt()
1266 * xcan_tx_interrupt - Tx Done Isr
1268 * @isr: Interrupt status register value
1270 static void xcan_tx_interrupt(struct net_device *ndev, u32 isr) in xcan_tx_interrupt() argument
1302 /* Synchronize TXOK and isr so that after the loop: in xcan_tx_interrupt()
1303 * (1) isr variable is up-to-date at least up to TXOK clear in xcan_tx_interrupt()
1312 while ((isr & XCAN_IXR_TXOK_MASK) && in xcan_tx_interrupt()
1316 isr = priv->read_reg(priv, XCAN_ISR_OFFSET); in xcan_tx_interrupt()
1319 if (isr & XCAN_IXR_TXFEMP_MASK) { in xcan_tx_interrupt()
1343 * xcan_interrupt - CAN Isr
1347 * This is the xilinx CAN Isr. It checks for the type of interrupt
1348 * and invokes the corresponding ISR.
1357 u32 isr, ier; in xcan_interrupt() local
1362 isr = priv->read_reg(priv, XCAN_ISR_OFFSET); in xcan_interrupt()
1363 if (!isr) in xcan_interrupt()
1367 if (isr & (XCAN_IXR_SLP_MASK | XCAN_IXR_WKUP_MASK)) { in xcan_interrupt()
1370 xcan_state_interrupt(ndev, isr); in xcan_interrupt()
1374 if (isr & XCAN_IXR_TXOK_MASK) in xcan_interrupt()
1375 xcan_tx_interrupt(ndev, isr); in xcan_interrupt()
1378 isr_errors = isr & (XCAN_IXR_ERROR_MASK | XCAN_IXR_RXOFLW_MASK | in xcan_interrupt()
1383 xcan_err_interrupt(ndev, isr); in xcan_interrupt()
1387 if (isr & rx_int_mask) { in xcan_interrupt()