linux/drivers/isdn/hardware/mISDN/netjet.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * NETjet common header file
 *
 * Author	Karsten Keil
 *              based on work of Matt Henderson and Daniel Potts,
 *              Traverse Technologies P/L www.traverse.com.au
 *
 * Copyright 2009  by Karsten Keil <[email protected]>
 */

#define NJ_CTRL
#define NJ_DMACTRL
#define NJ_AUXCTRL
#define NJ_AUXDATA
#define NJ_IRQMASK0
#define NJ_IRQMASK1
#define NJ_IRQSTAT0
#define NJ_IRQSTAT1
#define NJ_DMA_READ_START
#define NJ_DMA_READ_IRQ
#define NJ_DMA_READ_END
#define NJ_DMA_READ_ADR
#define NJ_DMA_WRITE_START
#define NJ_DMA_WRITE_IRQ
#define NJ_DMA_WRITE_END
#define NJ_DMA_WRITE_ADR
#define NJ_PULSE_CNT

#define NJ_ISAC_OFF
#define NJ_ISACIRQ

#define NJ_IRQM0_RD_MASK
#define NJ_IRQM0_RD_IRQ
#define NJ_IRQM0_RD_END
#define NJ_IRQM0_WR_MASK
#define NJ_IRQM0_WR_IRQ
#define NJ_IRQM0_WR_END

/* one page here is no need to be smaller */
#define NJ_DMA_SIZE
/* 2 * 64 byte is a compromise between IRQ count and latency */
#define NJ_DMA_RXSIZE
#define NJ_DMA_TXSIZE