#ifndef HPSA_CMD_H
#define HPSA_CMD_H
#include <linux/compiler.h>
#include <linux/build_bug.h>
#include <linux/stddef.h>
#define SENSEINFOBYTES …
#define SG_ENTRIES_IN_CMD …
#define HPSA_SG_CHAIN …
#define HPSA_SG_LAST …
#define MAXREPLYQS …
#define CMD_SUCCESS …
#define CMD_TARGET_STATUS …
#define CMD_DATA_UNDERRUN …
#define CMD_DATA_OVERRUN …
#define CMD_INVALID …
#define CMD_PROTOCOL_ERR …
#define CMD_HARDWARE_ERR …
#define CMD_CONNECTION_LOST …
#define CMD_ABORTED …
#define CMD_ABORT_FAILED …
#define CMD_UNSOLICITED_ABORT …
#define CMD_TIMEOUT …
#define CMD_UNABORTABLE …
#define CMD_TMF_STATUS …
#define CMD_IOACCEL_DISABLED …
#define CMD_CTLR_LOCKUP …
#define CISS_TMF_COMPLETE …
#define CISS_TMF_INVALID_FRAME …
#define CISS_TMF_NOT_SUPPORTED …
#define CISS_TMF_FAILED …
#define CISS_TMF_SUCCESS …
#define CISS_TMF_WRONG_LUN …
#define CISS_TMF_OVERLAPPED_TAG …
#define POWER_OR_RESET …
#define STATE_CHANGED …
#define UNIT_ATTENTION_CLEARED …
#define LUN_FAILED …
#define REPORT_LUNS_CHANGED …
#define POWER_ON_RESET …
#define POWER_ON_REBOOT …
#define SCSI_BUS_RESET …
#define MSA_TARGET_RESET …
#define CONTROLLER_FAILOVER …
#define TRANSCEIVER_SE …
#define TRANSCEIVER_LVD …
#define RESERVATION_PREEMPTED …
#define ASYM_ACCESS_CHANGED …
#define LUN_CAPACITY_CHANGED …
#define XFER_NONE …
#define XFER_WRITE …
#define XFER_READ …
#define XFER_RSVD …
#define ATTR_UNTAGGED …
#define ATTR_SIMPLE …
#define ATTR_HEADOFQUEUE …
#define ATTR_ORDERED …
#define ATTR_ACA …
#define TYPE_CMD …
#define TYPE_MSG …
#define TYPE_IOACCEL2_CMD …
#define HPSA_TASK_MANAGEMENT …
#define HPSA_RESET …
#define HPSA_SCAN …
#define HPSA_NOOP …
#define HPSA_CTLR_RESET_TYPE …
#define HPSA_BUS_RESET_TYPE …
#define HPSA_TARGET_RESET_TYPE …
#define HPSA_LUN_RESET_TYPE …
#define HPSA_NEXUS_RESET_TYPE …
#define HPSA_TMF_ABORT_TASK …
#define HPSA_TMF_ABORT_TASK_SET …
#define HPSA_TMF_CLEAR_ACA …
#define HPSA_TMF_CLEAR_TASK_SET …
#define HPSA_TMF_QUERY_TASK …
#define HPSA_TMF_QUERY_TASK_SET …
#define HPSA_TMF_QUERY_ASYNCEVENT …
#define CFG_VENDORID …
#define CFG_DEVICEID …
#define CFG_I2OBAR …
#define CFG_MEM1BAR …
#define I2O_IBDB_SET …
#define I2O_IBDB_CLEAR …
#define I2O_INT_STATUS …
#define I2O_INT_MASK …
#define I2O_IBPOST_Q …
#define I2O_OBPOST_Q …
#define I2O_DMA1_CFG …
#define CFGTBL_ChangeReq …
#define CFGTBL_AccCmds …
#define DOORBELL_CTLR_RESET …
#define DOORBELL_CTLR_RESET2 …
#define DOORBELL_CLEAR_EVENTS …
#define DOORBELL_GENERATE_CHKPT …
#define CFGTBL_Trans_Simple …
#define CFGTBL_Trans_Performant …
#define CFGTBL_Trans_io_accel1 …
#define CFGTBL_Trans_io_accel2 …
#define CFGTBL_Trans_use_short_tags …
#define CFGTBL_Trans_enable_directed_msix …
#define CFGTBL_BusType_Ultra2 …
#define CFGTBL_BusType_Ultra3 …
#define CFGTBL_BusType_Fibre1G …
#define CFGTBL_BusType_Fibre2G …
#define HPSA_INQUIRY_FAILED …
#define HPSA_VPD_SUPPORTED_PAGES …
#define HPSA_VPD_LV_DEVICE_ID …
#define HPSA_VPD_LV_DEVICE_GEOMETRY …
#define HPSA_VPD_LV_IOACCEL_STATUS …
#define HPSA_VPD_LV_STATUS …
#define HPSA_VPD_HEADER_SZ …
#define HPSA_VPD_LV_STATUS_UNSUPPORTED …
#define HPSA_LV_OK …
#define HPSA_LV_FAILED …
#define HPSA_LV_NOT_AVAILABLE …
#define HPSA_LV_UNDERGOING_ERASE …
#define HPSA_LV_UNDERGOING_RPI …
#define HPSA_LV_PENDING_RPI …
#define HPSA_LV_ENCRYPTED_NO_KEY …
#define HPSA_LV_PLAINTEXT_IN_ENCRYPT_ONLY_CONTROLLER …
#define HPSA_LV_UNDERGOING_ENCRYPTION …
#define HPSA_LV_UNDERGOING_ENCRYPTION_REKEYING …
#define HPSA_LV_ENCRYPTED_IN_NON_ENCRYPTED_CONTROLLER …
#define HPSA_LV_PENDING_ENCRYPTION …
#define HPSA_LV_PENDING_ENCRYPTION_REKEYING …
struct vals32 { … };
u64bit;
#define HPSA_MAX_LUN …
#define HPSA_MAX_PHYS_LUN …
#define MAX_EXT_TARGETS …
#define HPSA_MAX_DEVICES …
#define HPSA_INQUIRY …
struct InquiryData { … } __packed;
#define HPSA_REPORT_LOG …
#define HPSA_REPORT_PHYS …
#define HPSA_REPORT_PHYS_EXTENDED …
#define HPSA_CISS_READ …
#define HPSA_GET_RAID_MAP …
#define RAID_MAP_MAX_ENTRIES …
struct raid_map_disk_data { … } __packed;
struct raid_map_data { … } __packed;
struct ReportLUNdata { … } __packed;
struct ext_report_lun_entry { … } __packed;
struct ReportExtendedLUNdata { … } __packed;
struct SenseSubsystem_info { … } __packed;
#define BMIC_READ …
#define BMIC_WRITE …
#define BMIC_CACHE_FLUSH …
#define HPSA_CACHE_FLUSH …
#define BMIC_FLASH_FIRMWARE …
#define BMIC_SENSE_CONTROLLER_PARAMETERS …
#define BMIC_IDENTIFY_PHYSICAL_DEVICE …
#define BMIC_IDENTIFY_CONTROLLER …
#define BMIC_SET_DIAG_OPTIONS …
#define BMIC_SENSE_DIAG_OPTIONS …
#define HPSA_DIAG_OPTS_DISABLE_RLD_CACHING …
#define BMIC_SENSE_SUBSYSTEM_INFORMATION …
#define BMIC_SENSE_STORAGE_BOX_PARAMS …
SCSI3Addr __packed;
struct PhysDevAddr { … } __packed;
struct LogDevAddr { … } __packed;
LUNAddr __packed;
struct CommandListHeader { … } __packed;
struct RequestBlock { … } __packed;
struct ErrDescriptor { … } __packed;
struct SGDescriptor { … } __packed;
MoreErrInfo __packed;
struct ErrorInfo { … } __packed;
#define CMD_IOCTL_PEND …
#define CMD_SCSI …
#define CMD_IOACCEL1 …
#define CMD_IOACCEL2 …
#define IOACCEL2_TMF …
#define DIRECT_LOOKUP_SHIFT …
#define DIRECT_LOOKUP_MASK …
#define HPSA_ERROR_BIT …
struct ctlr_info;
#define COMMANDLIST_ALIGNMENT …
struct CommandList { … } __aligned(…);
static_assert(…);
#define IOACCEL1_MAXSGENTRIES …
#define IOACCEL2_MAXSGENTRIES …
#define IOACCEL1_COMMANDLIST_ALIGNMENT …
struct io_accel1_cmd { … } __packed __aligned(…);
#define IOACCEL1_FUNCTION_SCSIIO …
#define IOACCEL1_SGLOFFSET …
#define IOACCEL1_IOFLAGS_IO_REQ …
#define IOACCEL1_IOFLAGS_CDBLEN_MASK …
#define IOACCEL1_IOFLAGS_CDBLEN_MAX …
#define IOACCEL1_CONTROL_NODATAXFER …
#define IOACCEL1_CONTROL_DATA_OUT …
#define IOACCEL1_CONTROL_DATA_IN …
#define IOACCEL1_CONTROL_TASKPRIO_MASK …
#define IOACCEL1_CONTROL_TASKPRIO_SHIFT …
#define IOACCEL1_CONTROL_SIMPLEQUEUE …
#define IOACCEL1_CONTROL_HEADOFQUEUE …
#define IOACCEL1_CONTROL_ORDEREDQUEUE …
#define IOACCEL1_CONTROL_ACA …
#define IOACCEL1_HCFLAGS_CISS_FORMAT …
#define IOACCEL1_BUSADDR_CMDTYPE …
struct ioaccel2_sg_element { … } __packed;
struct io_accel2_scsi_response { … } __packed;
#define IOACCEL2_COMMANDLIST_ALIGNMENT …
struct io_accel2_cmd { … } __packed __aligned(…);
#define IOACCEL2_IU_TYPE …
#define IOACCEL2_IU_TMF_TYPE …
#define IOACCEL2_DIR_NO_DATA …
#define IOACCEL2_DIR_DATA_IN …
#define IOACCEL2_DIR_DATA_OUT …
#define IOACCEL2_TMF_ABORT …
struct hpsa_tmf_struct { … } __packed __aligned(…);
struct HostWrite { … } __packed;
#define SIMPLE_MODE …
#define PERFORMANT_MODE …
#define MEMQ_MODE …
#define IOACCEL_MODE_1 …
#define DRIVER_SUPPORT_UA_ENABLE …
struct CfgTable { … } __packed;
#define NUM_BLOCKFETCH_ENTRIES …
struct TransTable_struct { … } __packed;
struct hpsa_pci_info { … } __packed;
struct bmic_identify_controller { … } __packed;
struct bmic_identify_physical_device { … } __packed __attribute((aligned …));
struct bmic_sense_subsystem_info { … } __packed;
struct bmic_sense_storage_box_params { … } __packed;
#endif