#ifndef __ALTERA_SGDMAHW_H__
#define __ALTERA_SGDMAHW_H__
struct sgdma_descrip { … } __packed;
#define SGDMA_DESC_LEN …
#define SGDMA_STATUS_ERR …
#define SGDMA_STATUS_LENGTH_ERR …
#define SGDMA_STATUS_CRC_ERR …
#define SGDMA_STATUS_TRUNC_ERR …
#define SGDMA_STATUS_PHY_ERR …
#define SGDMA_STATUS_COLL_ERR …
#define SGDMA_STATUS_EOP …
#define SGDMA_CONTROL_EOP …
#define SGDMA_CONTROL_RD_FIXED …
#define SGDMA_CONTROL_WR_FIXED …
#define SGDMA_CONTROL_HW_OWNED …
struct sgdma_csr { … };
#define sgdma_csroffs(a) …
#define sgdma_descroffs(a) …
#define SGDMA_STSREG_ERR …
#define SGDMA_STSREG_EOP …
#define SGDMA_STSREG_DESCRIP …
#define SGDMA_STSREG_CHAIN …
#define SGDMA_STSREG_BUSY …
#define SGDMA_CTRLREG_IOE …
#define SGDMA_CTRLREG_IOEOP …
#define SGDMA_CTRLREG_IDESCRIP …
#define SGDMA_CTRLREG_ILASTD …
#define SGDMA_CTRLREG_INTEN …
#define SGDMA_CTRLREG_START …
#define SGDMA_CTRLREG_STOPERR …
#define SGDMA_CTRLREG_INTMAX …
#define SGDMA_CTRLREG_RESET …
#define SGDMA_CTRLREG_COBHW …
#define SGDMA_CTRLREG_POLL …
#define SGDMA_CTRLREG_CLRINT …
#endif