linux/drivers/scsi/elx/efct/efct_lio.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2021 Broadcom. All Rights Reserved. The term
 * “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
 */

#ifndef __EFCT_LIO_H__
#define __EFCT_LIO_H__

#include "efct_scsi.h"
#include <target/target_core_base.h>

#define efct_lio_io_printf(io, fmt, ...)

#define efct_lio_tmfio_printf(io, fmt, ...)

#define efct_set_lio_io_state(io, value)

struct efct_lio_wq_data {};

/* Target private efct structure */
struct efct_scsi_tgt {};

struct efct_scsi_tgt_nport {};

struct efct_node {};

#define EFCT_LIO_STATE_SCSI_RECV_CMD
#define EFCT_LIO_STATE_TGT_SUBMIT_CMD
#define EFCT_LIO_STATE_TFO_QUEUE_DATA_IN
#define EFCT_LIO_STATE_TFO_WRITE_PENDING
#define EFCT_LIO_STATE_TGT_EXECUTE_CMD
#define EFCT_LIO_STATE_SCSI_SEND_RD_DATA
#define EFCT_LIO_STATE_TFO_CHK_STOP_FREE
#define EFCT_LIO_STATE_SCSI_DATA_DONE
#define EFCT_LIO_STATE_TFO_QUEUE_STATUS
#define EFCT_LIO_STATE_SCSI_SEND_RSP
#define EFCT_LIO_STATE_SCSI_RSP_DONE
#define EFCT_LIO_STATE_TGT_GENERIC_FREE
#define EFCT_LIO_STATE_SCSI_RECV_TMF
#define EFCT_LIO_STATE_TGT_SUBMIT_TMR
#define EFCT_LIO_STATE_TFO_WRITE_PEND_STATUS
#define EFCT_LIO_STATE_TGT_GENERIC_REQ_FAILURE

#define EFCT_LIO_STATE_TFO_ABORTED_TASK
#define EFCT_LIO_STATE_TFO_RELEASE_CMD
#define EFCT_LIO_STATE_SCSI_CMPL_CMD

struct efct_scsi_tgt_io {};

/* Handler return codes */
enum {};

#define WWN_NAME_LEN
struct efct_lio_vport {};

struct efct_lio_nport {};

struct efct_lio_tpg_attrib {};

struct efct_lio_tpg {};

struct efct_lio_nacl {};

struct efct_lio_vport_list_t {};

int efct_scsi_tgt_driver_init(void);
int efct_scsi_tgt_driver_exit(void);

#endif /*__EFCT_LIO_H__ */