linux/drivers/mmc/host/wbsd.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 *  linux/drivers/mmc/host/wbsd.h - Winbond W83L51xD SD/MMC driver
 *
 *  Copyright (C) 2004-2007 Pierre Ossman, All Rights Reserved.
 */

#define LOCK_CODE

#define WBSD_CONF_SWRST
#define WBSD_CONF_DEVICE
#define WBSD_CONF_ID_HI
#define WBSD_CONF_ID_LO
#define WBSD_CONF_POWER
#define WBSD_CONF_PME
#define WBSD_CONF_PMES

#define WBSD_CONF_ENABLE
#define WBSD_CONF_PORT_HI
#define WBSD_CONF_PORT_LO
#define WBSD_CONF_IRQ
#define WBSD_CONF_DRQ

#define WBSD_CONF_PINS

#define DEVICE_SD

#define WBSD_PINS_DAT3_HI
#define WBSD_PINS_DAT3_OUT
#define WBSD_PINS_GP11_HI
#define WBSD_PINS_DETECT_GP11
#define WBSD_PINS_DETECT_DAT3

#define WBSD_CMDR
#define WBSD_DFR
#define WBSD_EIR
#define WBSD_ISR
#define WBSD_FSR
#define WBSD_IDXR
#define WBSD_DATAR
#define WBSD_CSR

#define WBSD_EINT_CARD
#define WBSD_EINT_FIFO_THRE
#define WBSD_EINT_CRC
#define WBSD_EINT_TIMEOUT
#define WBSD_EINT_PROGEND
#define WBSD_EINT_BUSYEND
#define WBSD_EINT_TC

#define WBSD_INT_PENDING
#define WBSD_INT_CARD
#define WBSD_INT_FIFO_THRE
#define WBSD_INT_CRC
#define WBSD_INT_TIMEOUT
#define WBSD_INT_PROGEND
#define WBSD_INT_BUSYEND
#define WBSD_INT_TC

#define WBSD_FIFO_EMPTY
#define WBSD_FIFO_FULL
#define WBSD_FIFO_EMTHRE
#define WBSD_FIFO_FUTHRE
#define WBSD_FIFO_SZMASK

#define WBSD_MSLED
#define WBSD_POWER_N
#define WBSD_WRPT
#define WBSD_CARDPRESENT

#define WBSD_IDX_CLK
#define WBSD_IDX_PBSMSB
#define WBSD_IDX_TAAC
#define WBSD_IDX_NSAC
#define WBSD_IDX_PBSLSB
#define WBSD_IDX_SETUP
#define WBSD_IDX_DMA
#define WBSD_IDX_FIFOEN
#define WBSD_IDX_STATUS
#define WBSD_IDX_RSPLEN
#define WBSD_IDX_RESP0
#define WBSD_IDX_RESP1
#define WBSD_IDX_RESP2
#define WBSD_IDX_RESP3
#define WBSD_IDX_RESP4
#define WBSD_IDX_RESP5
#define WBSD_IDX_RESP6
#define WBSD_IDX_RESP7
#define WBSD_IDX_RESP8
#define WBSD_IDX_RESP9
#define WBSD_IDX_RESP10
#define WBSD_IDX_RESP11
#define WBSD_IDX_RESP12
#define WBSD_IDX_RESP13
#define WBSD_IDX_RESP14
#define WBSD_IDX_RESP15
#define WBSD_IDX_RESP16
#define WBSD_IDX_CRCSTATUS
#define WBSD_IDX_ISR

#define WBSD_CLK_375K
#define WBSD_CLK_12M
#define WBSD_CLK_16M
#define WBSD_CLK_24M

#define WBSD_DATA_WIDTH

#define WBSD_DAT3_H
#define WBSD_FIFO_RESET
#define WBSD_SOFT_RESET
#define WBSD_INC_INDEX

#define WBSD_DMA_SINGLE
#define WBSD_DMA_ENABLE

#define WBSD_FIFOEN_EMPTY
#define WBSD_FIFOEN_FULL
#define WBSD_FIFO_THREMASK

#define WBSD_BLOCK_READ
#define WBSD_BLOCK_WRITE
#define WBSD_BUSY
#define WBSD_CARDTRAFFIC
#define WBSD_SENDCMD
#define WBSD_RECVRES

#define WBSD_RSP_SHORT
#define WBSD_RSP_LONG

#define WBSD_CRC_MASK
#define WBSD_CRC_OK
#define WBSD_CRC_FAIL

#define WBSD_DMA_SIZE

struct wbsd_host
{};