linux/drivers/scsi/mpi3mr/mpi/mpi30_init.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 *  Copyright 2016-2023 Broadcom Inc. All rights reserved.
 */
#ifndef MPI30_INIT_H
#define MPI30_INIT_H
struct mpi3_scsi_io_cdb_eedp32 {};

mpi3_scsi_io_cdb_union;

struct mpi3_scsi_io_request {};

#define MPI3_SCSIIO_MSGFLAGS_METASGL_VALID
#define MPI3_SCSIIO_MSGFLAGS_DIVERT_TO_FIRMWARE
#define MPI3_SCSIIO_FLAGS_LARGE_CDB
#define MPI3_SCSIIO_FLAGS_CDB_16_OR_LESS
#define MPI3_SCSIIO_FLAGS_CDB_GREATER_THAN_16
#define MPI3_SCSIIO_FLAGS_CDB_IN_SEPARATE_BUFFER
#define MPI3_SCSIIO_FLAGS_TASKATTRIBUTE_MASK
#define MPI3_SCSIIO_FLAGS_TASKATTRIBUTE_SIMPLEQ
#define MPI3_SCSIIO_FLAGS_TASKATTRIBUTE_HEADOFQ
#define MPI3_SCSIIO_FLAGS_TASKATTRIBUTE_ORDEREDQ
#define MPI3_SCSIIO_FLAGS_TASKATTRIBUTE_ACAQ
#define MPI3_SCSIIO_FLAGS_CMDPRI_MASK
#define MPI3_SCSIIO_FLAGS_CMDPRI_SHIFT
#define MPI3_SCSIIO_FLAGS_DATADIRECTION_MASK
#define MPI3_SCSIIO_FLAGS_DATADIRECTION_NO_DATA_TRANSFER
#define MPI3_SCSIIO_FLAGS_DATADIRECTION_WRITE
#define MPI3_SCSIIO_FLAGS_DATADIRECTION_READ
#define MPI3_SCSIIO_FLAGS_DMAOPERATION_MASK
#define MPI3_SCSIIO_FLAGS_DMAOPERATION_HOST_PI
#define MPI3_SCSIIO_FLAGS_DIVERT_REASON_MASK
#define MPI3_SCSIIO_FLAGS_DIVERT_REASON_IO_THROTTLING
#define MPI3_SCSIIO_FLAGS_DIVERT_REASON_WRITE_SAME_TOO_LARGE
#define MPI3_SCSIIO_FLAGS_DIVERT_REASON_PROD_SPECIFIC
#define MPI3_SCSIIO_METASGL_INDEX
struct mpi3_scsi_io_reply {};

#define MPI3_SCSIIO_REPLY_MSGFLAGS_REFTAG_OBSERVED_VALID
#define MPI3_SCSIIO_REPLY_MSGFLAGS_APPTAG_OBSERVED_VALID
#define MPI3_SCSIIO_REPLY_MSGFLAGS_GUARD_OBSERVED_VALID
#define MPI3_SCSI_STATUS_GOOD
#define MPI3_SCSI_STATUS_CHECK_CONDITION
#define MPI3_SCSI_STATUS_CONDITION_MET
#define MPI3_SCSI_STATUS_BUSY
#define MPI3_SCSI_STATUS_INTERMEDIATE
#define MPI3_SCSI_STATUS_INTERMEDIATE_CONDMET
#define MPI3_SCSI_STATUS_RESERVATION_CONFLICT
#define MPI3_SCSI_STATUS_COMMAND_TERMINATED
#define MPI3_SCSI_STATUS_TASK_SET_FULL
#define MPI3_SCSI_STATUS_ACA_ACTIVE
#define MPI3_SCSI_STATUS_TASK_ABORTED
#define MPI3_SCSI_STATE_SENSE_MASK
#define MPI3_SCSI_STATE_SENSE_VALID
#define MPI3_SCSI_STATE_SENSE_FAILED
#define MPI3_SCSI_STATE_SENSE_BUFF_Q_EMPTY
#define MPI3_SCSI_STATE_SENSE_NOT_AVAILABLE
#define MPI3_SCSI_STATE_NO_SCSI_STATUS
#define MPI3_SCSI_STATE_TERMINATED
#define MPI3_SCSI_STATE_RESPONSE_DATA_VALID
#define MPI3_SCSI_RSP_RESPONSECODE_MASK
#define MPI3_SCSI_RSP_RESPONSECODE_SHIFT
#define MPI3_SCSI_RSP_ARI2_MASK
#define MPI3_SCSI_RSP_ARI2_SHIFT
#define MPI3_SCSI_RSP_ARI1_MASK
#define MPI3_SCSI_RSP_ARI1_SHIFT
#define MPI3_SCSI_RSP_ARI0_MASK
#define MPI3_SCSI_RSP_ARI0_SHIFT
#define MPI3_SCSI_TASKTAG_UNKNOWN
#define MPI3_SCSITASKMGMT_MSGFLAGS_DO_NOT_SEND_TASK_IU
#define MPI3_SCSITASKMGMT_TASKTYPE_ABORT_TASK
#define MPI3_SCSITASKMGMT_TASKTYPE_ABORT_TASK_SET
#define MPI3_SCSITASKMGMT_TASKTYPE_TARGET_RESET
#define MPI3_SCSITASKMGMT_TASKTYPE_LOGICAL_UNIT_RESET
#define MPI3_SCSITASKMGMT_TASKTYPE_CLEAR_TASK_SET
#define MPI3_SCSITASKMGMT_TASKTYPE_QUERY_TASK
#define MPI3_SCSITASKMGMT_TASKTYPE_CLEAR_ACA
#define MPI3_SCSITASKMGMT_TASKTYPE_QUERY_TASK_SET
#define MPI3_SCSITASKMGMT_TASKTYPE_QUERY_ASYNC_EVENT
#define MPI3_SCSITASKMGMT_TASKTYPE_I_T_NEXUS_RESET
#define MPI3_SCSITASKMGMT_RSPCODE_TM_COMPLETE
#define MPI3_SCSITASKMGMT_RSPCODE_INVALID_FRAME
#define MPI3_SCSITASKMGMT_RSPCODE_TM_FUNCTION_NOT_SUPPORTED
#define MPI3_SCSITASKMGMT_RSPCODE_TM_FAILED
#define MPI3_SCSITASKMGMT_RSPCODE_TM_SUCCEEDED
#define MPI3_SCSITASKMGMT_RSPCODE_TM_INVALID_LUN
#define MPI3_SCSITASKMGMT_RSPCODE_TM_OVERLAPPED_TAG
#define MPI3_SCSITASKMGMT_RSPCODE_IO_QUEUED_ON_IOC
#define MPI3_SCSITASKMGMT_RSPCODE_TM_NVME_DENIED
#endif