linux/drivers/scsi/hptiop.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * HighPoint RR3xxx/4xxx controller driver for Linux
 * Copyright (C) 2006-2015 HighPoint Technologies, Inc. All Rights Reserved.
 *
 * Please report bugs/comments/suggestions to [email protected]
 *
 * For more information, visit http://www.highpoint-tech.com
 */
#ifndef _HPTIOP_H_
#define _HPTIOP_H_

struct hpt_iopmu_itl {};

#define IOPMU_QUEUE_EMPTY
#define IOPMU_QUEUE_MASK_HOST_BITS
#define IOPMU_QUEUE_ADDR_HOST_BIT
#define IOPMU_QUEUE_REQUEST_SIZE_BIT
#define IOPMU_QUEUE_REQUEST_RESULT_BIT

#define IOPMU_OUTBOUND_INT_MSG0
#define IOPMU_OUTBOUND_INT_MSG1
#define IOPMU_OUTBOUND_INT_DOORBELL
#define IOPMU_OUTBOUND_INT_POSTQUEUE
#define IOPMU_OUTBOUND_INT_PCI

#define IOPMU_INBOUND_INT_MSG0
#define IOPMU_INBOUND_INT_MSG1
#define IOPMU_INBOUND_INT_DOORBELL
#define IOPMU_INBOUND_INT_ERROR
#define IOPMU_INBOUND_INT_POSTQUEUE

#define MVIOP_QUEUE_LEN

struct hpt_iopmu_mv {};

struct hpt_iopmv_regs {};

#pragma pack(1)
struct hpt_iopmu_mvfrey {};

struct mvfrey_inlist_entry {};

struct mvfrey_outlist_entry {};
#pragma pack()

#define MVIOP_MU_QUEUE_ADDR_HOST_MASK
#define MVIOP_MU_QUEUE_ADDR_HOST_BIT

#define MVIOP_MU_QUEUE_ADDR_IOP_HIGH32
#define MVIOP_MU_QUEUE_REQUEST_RESULT_BIT
#define MVIOP_MU_QUEUE_REQUEST_RETURN_CONTEXT

#define MVIOP_MU_INBOUND_INT_MSG
#define MVIOP_MU_INBOUND_INT_POSTQUEUE
#define MVIOP_MU_OUTBOUND_INT_MSG
#define MVIOP_MU_OUTBOUND_INT_POSTQUEUE

#define CL_POINTER_TOGGLE
#define CPU_TO_F0_DRBL_MSG_BIT

enum hpt_iopmu_message {};

struct hpt_iop_request_header {};

#define IOP_REQUEST_FLAG_SYNC_REQUEST
#define IOP_REQUEST_FLAG_BIST_REQUEST
#define IOP_REQUEST_FLAG_REMAPPED
#define IOP_REQUEST_FLAG_OUTPUT_CONTEXT
#define IOP_REQUEST_FLAG_ADDR_BITS

enum hpt_iop_request_type {};

enum hpt_iop_result_type {};

struct hpt_iop_request_get_config {};

struct hpt_iop_request_set_config {};

struct hpt_iopsg {};

struct hpt_iop_request_block_command {};

#define IOP_BLOCK_COMMAND_READ
#define IOP_BLOCK_COMMAND_WRITE
#define IOP_BLOCK_COMMAND_VERIFY
#define IOP_BLOCK_COMMAND_FLUSH
#define IOP_BLOCK_COMMAND_SHUTDOWN

struct hpt_iop_request_scsi_command {};

struct hpt_iop_request_ioctl_command {};

#define HPTIOP_MAX_REQUESTS

struct hptiop_request {};

struct hpt_cmd_priv {};

#define HPT_SCP(scp)

enum hptiop_family {} ;

struct hptiop_hba {};

struct hpt_ioctl_k {};

struct hptiop_adapter_ops {};

#define HPT_IOCTL_RESULT_OK
#define HPT_IOCTL_RESULT_FAILED

#if 0
#define dprintk
#else
#define dprintk(fmt, args...)
#endif

#endif