linux/drivers/scsi/fdomain.h

/* SPDX-License-Identifier: GPL-2.0 */

#define FDOMAIN_REGION_SIZE
#define FDOMAIN_BIOS_SIZE

enum {};

/* (@) = not present on TMC1800, (#) = not present on TMC1800 and TMC18C50 */
#define REG_SCSI_DATA
#define REG_BSTAT
#define BSTAT_BSY
#define BSTAT_MSG
#define BSTAT_IO
#define BSTAT_CMD
#define BSTAT_REQ
#define BSTAT_SEL
#define BSTAT_ACK
#define BSTAT_ATN
#define REG_BCTL
#define BCTL_RST
#define BCTL_SEL
#define BCTL_BSY
#define BCTL_ATN
#define BCTL_IO
#define BCTL_CMD
#define BCTL_MSG
#define BCTL_BUSEN
#define REG_ASTAT
#define ASTAT_IRQ
#define ASTAT_ARB
#define ASTAT_PARERR
#define ASTAT_RST
#define ASTAT_FIFODIR
#define ASTAT_FIFOEN
#define ASTAT_PAREN
#define ASTAT_BUSEN
#define REG_ICTL
#define ICTL_FIFO_MASK
#define ICTL_FIFO
#define ICTL_ARB
#define ICTL_SEL
#define ICTL_REQ
#define REG_FSTAT
#define FSTAT_ONOTEMPTY
#define FSTAT_INOTEMPTY
#define FSTAT_NOTEMPTY
#define FSTAT_NOTFULL
#define REG_MCTL
#define MCTL_ACK_MASK
#define MCTL_ACTDEASS
#define MCTL_TARGET
#define MCTL_FASTSYNC
#define MCTL_SYNC
#define REG_INTCOND
#define IRQ_FIFO
#define IRQ_REQ
#define IRQ_SEL
#define IRQ_ARB
#define IRQ_RST
#define IRQ_FORCED
#define IRQ_TIMEOUT
#define REG_ACTL
#define ACTL_RESET
#define ACTL_FIRQ
#define ACTL_ARB
#define ACTL_PAREN
#define ACTL_IRQEN
#define ACTL_CLRFIRQ
#define ACTL_FIFOWR
#define ACTL_FIFOEN
#define REG_ID_LSB
#define REG_ACTL2
#define ACTL2_RAMOVRLY
#define ACTL2_SLEEP
#define REG_ID_MSB
#define REG_LOOPBACK
#define REG_SCSI_DATA_NOACK
#define REG_ASTAT3
#define ASTAT3_ACTDEASS
#define ASTAT3_RAMOVRLY
#define ASTAT3_TARGERR
#define ASTAT3_IRQEN
#define ASTAT3_IRQMASK
#define REG_CFG1
#define CFG1_BUS
#define CFG1_IRQ_MASK
#define CFG1_IO_MASK
#define CFG1_BIOS_MASK
#define REG_CFG2
#define CFG2_ROMDIS
#define CFG2_RAMDIS
#define CFG2_IRQEDGE
#define CFG2_NOWS
#define CFG2_32BIT
#define REG_FIFO
#define REG_FIFO_COUNT

#ifdef CONFIG_PM_SLEEP
static const struct dev_pm_ops __maybe_unused fdomain_pm_ops;
#define FDOMAIN_PM_OPS
#else
#define FDOMAIN_PM_OPS
#endif /* CONFIG_PM_SLEEP */

struct Scsi_Host *fdomain_create(int base, int irq, int this_id,
				 struct device *dev);
int fdomain_destroy(struct Scsi_Host *sh);