target/linux/bmips/files/drivers/net/ethernet/broadcom/bcm6368-enetsw.c
static irqreturn_t bcm6368_enetsw_isr_dma(int irq, void *dev_id)
{
	struct net_device *dev = dev_id;
	struct bcm6368_enetsw *priv = netdev_priv(dev);

	/* mask rx/tx interrupts */
	dmac_writel(priv, 0, DMAC_IRMASK_REG, priv->rx_chan);
	dmac_writel(priv, 0, DMAC_IRMASK_REG, priv->tx_chan);

	napi_schedule(&priv->napi);

	return IRQ_HANDLED;
}
/*
 * rx/tx dma interrupt handler
 */
rx/tx dma interrupt handler
rx / tx dma interrupt handler
static irqreturn_t bcm6368_enetsw_isr_dma(int irq, void *dev_id)
{
	struct net_device *dev = dev_id;
	struct bcm6368_enetsw *priv = netdev_priv(dev);
	dmac_writel(priv, 0, DMAC_IRMASK_REG, priv->rx_chan);
	dmac_writel(priv, 0, DMAC_IRMASK_REG, priv->tx_chan);
	napi_schedule(&priv->napi);
	return IRQ_HANDLED;
}
static irqreturn_t bcm6368_enetsw_isr_dma ( int irq , void * dev_id ) { struct net_device * dev = dev_id ; struct bcm6368_enetsw * priv = netdev_priv ( dev ) ; dmac_writel ( priv , 0 , DMAC_IRMASK_REG , priv -> rx_chan ) ; dmac_writel ( priv , 0 , DMAC_IRMASK_REG , priv -> tx_chan ) ; napi_schedule ( & priv -> napi ) ; return IRQ_HANDLED ; }
rx/tx dma interrupt handler
rx / tx dma interrupt handler
/* mask rx/tx interrupts */