#ifndef P54SPI_H
#define P54SPI_H
#include <linux/mutex.h>
#include <linux/list.h>
#include <net/mac80211.h>
#include "p54.h"
#define SPI_ADRS_READ_BIT_15 …
#define SPI_ADRS_ARM_INTERRUPTS …
#define SPI_ADRS_ARM_INT_EN …
#define SPI_ADRS_HOST_INTERRUPTS …
#define SPI_ADRS_HOST_INT_EN …
#define SPI_ADRS_HOST_INT_ACK …
#define SPI_ADRS_GEN_PURP_1 …
#define SPI_ADRS_GEN_PURP_2 …
#define SPI_ADRS_DEV_CTRL_STAT …
#define SPI_ADRS_DMA_DATA …
#define SPI_ADRS_DMA_WRITE_CTRL …
#define SPI_ADRS_DMA_WRITE_LEN …
#define SPI_ADRS_DMA_WRITE_BASE …
#define SPI_ADRS_DMA_READ_CTRL …
#define SPI_ADRS_DMA_READ_LEN …
#define SPI_ADRS_DMA_READ_BASE …
#define SPI_CTRL_STAT_HOST_OVERRIDE …
#define SPI_CTRL_STAT_START_HALTED …
#define SPI_CTRL_STAT_RAM_BOOT …
#define SPI_CTRL_STAT_HOST_RESET …
#define SPI_CTRL_STAT_HOST_CPU_EN …
#define SPI_DMA_WRITE_CTRL_ENABLE …
#define SPI_DMA_READ_CTRL_ENABLE …
#define HOST_ALLOWED …
#define SPI_TIMEOUT …
#define SPI_MAX_TX_PACKETS …
#define SPI_MAX_PACKET_SIZE …
#define SPI_TARGET_INT_WAKEUP …
#define SPI_TARGET_INT_SLEEP …
#define SPI_TARGET_INT_RDDONE …
#define SPI_TARGET_INT_CTS …
#define SPI_TARGET_INT_DR …
#define SPI_HOST_INT_READY …
#define SPI_HOST_INT_WR_READY …
#define SPI_HOST_INT_SW_UPDATE …
#define SPI_HOST_INT_UPDATE …
#define SPI_HOST_INT_CR …
#define SPI_HOST_INT_DR …
#define SPI_HOST_INTS_DEFAULT …
#define TARGET_BOOT_SLEEP …
struct p54s_dma_regs { … } __packed;
struct p54s_tx_info { … };
struct p54s_priv { … };
#endif