#include <linux/pci.h>
#include <linux/completion.h>
#include <linux/workqueue.h>
#include <linux/mtd/rawnand.h>
#include <linux/spinlock.h>
#define R852_DATALINE …
#define R852_CTL …
#define R852_CTL_COMMAND …
#define R852_CTL_DATA …
#define R852_CTL_ON …
#define R852_CTL_RESET …
#define R852_CTL_CARDENABLE …
#define R852_CTL_ECC_ENABLE …
#define R852_CTL_ECC_ACCESS …
#define R852_CTL_WRITE …
#define R852_CARD_STA …
#define R852_CARD_STA_CD …
#define R852_CARD_STA_RO …
#define R852_CARD_STA_PRESENT …
#define R852_CARD_STA_ABSENT …
#define R852_CARD_STA_BUSY …
#define R852_CARD_IRQ_STA …
#define R852_CARD_IRQ_ENABLE …
#define R852_CARD_IRQ_CD …
#define R852_CARD_IRQ_REMOVE …
#define R852_CARD_IRQ_INSERT …
#define R852_CARD_IRQ_UNK1 …
#define R852_CARD_IRQ_GENABLE …
#define R852_CARD_IRQ_MASK …
#define R852_HW …
#define R852_HW_ENABLED …
#define R852_HW_UNKNOWN …
#define R852_DMA_CAP …
#define R852_SMBIT …
#define R852_DMA1 …
#define R852_DMA2 …
#define R852_DMA_ADDR …
#define R852_DMA_SETTINGS …
#define R852_DMA_MEMORY …
#define R852_DMA_READ …
#define R852_DMA_INTERNAL …
#define R852_DMA_IRQ_STA …
#define R852_DMA_IRQ_ENABLE …
#define R852_DMA_IRQ_MEMORY …
#define R852_DMA_IRQ_ERROR …
#define R852_DMA_IRQ_INTERNAL …
#define R852_DMA_IRQ_MASK …
#define R852_ECC_ERR_BIT_MSK …
#define R852_ECC_CORRECT …
#define R852_ECC_CORRECTABLE …
#define R852_ECC_FAIL …
#define R852_DMA_LEN …
#define DMA_INTERNAL …
#define DMA_MEMORY …
struct r852_device { … };
#define dbg(format, ...) …
#define dbg_verbose(format, ...) …
#define message(format, ...) …