#include <linux/types.h>
#include "dma.h"
#include "xor.h"
Go to the source code of this file.
#define MQ0_CF2H_RXOR_BS_MASK 0x1FF |
#define PPC440SPE_ADMA_DMA_MAX_BYTE_COUNT 0xFFFFFFUL |
#define PPC440SPE_ADMA_THRESHOLD 1 |
#define PPC440SPE_ADMA_WATCHDOG_MSEC 3 |
#define PPC440SPE_ADMA_XOR_MAX_BYTE_COUNT (1 << 31) |
#define PPC440SPE_COHERENT 3 /* src/dst are coherent */ |
#define PPC440SPE_DEFAULT_POLY 0x4d |
#define PPC440SPE_DESC_PCHECK 13 |
#define PPC440SPE_DESC_QCHECK 14 |
#define PPC440SPE_DESC_RXOR 5 /* RXOR is in chain */ |
#define PPC440SPE_DESC_RXOR12 11 /* CDB for RXOR12 operation */ |
#define PPC440SPE_DESC_RXOR123 8 /* CDB for RXOR123 operation */ |
#define PPC440SPE_DESC_RXOR124 9 /* CDB for RXOR124 operation */ |
#define PPC440SPE_DESC_RXOR125 10 /* CDB for RXOR125 operation */ |
#define PPC440SPE_DESC_RXOR_MSK 0x3 |
#define PPC440SPE_DESC_RXOR_REV 12 /* CDB has srcs in reversed order */ |
#define PPC440SPE_DESC_WXOR 4 /* WXORs are in chain */ |
#define PPC440SPE_DMA0_ID 0 |
#define PPC440SPE_DMA1_ID 1 |
#define PPC440SPE_RXOR_RUN 0 |
#define PPC440SPE_XOR_ID 2 |
#define PPC440SPE_ZERO_P 1 /* clear P destionaion */ |
#define PPC440SPE_ZERO_Q 2 /* clear Q destination */ |