1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 2016-2023 Broadcom Inc. All rights reserved.
7 #define MPI3_SAS_DEVICE_INFO_SSP_TARGET (0x00000100)
8 #define MPI3_SAS_DEVICE_INFO_STP_SATA_TARGET (0x00000080)
9 #define MPI3_SAS_DEVICE_INFO_SMP_TARGET (0x00000040)
10 #define MPI3_SAS_DEVICE_INFO_SSP_INITIATOR (0x00000020)
11 #define MPI3_SAS_DEVICE_INFO_STP_INITIATOR (0x00000010)
12 #define MPI3_SAS_DEVICE_INFO_SMP_INITIATOR (0x00000008)
13 #define MPI3_SAS_DEVICE_INFO_DEVICE_TYPE_MASK (0x00000007)
14 #define MPI3_SAS_DEVICE_INFO_DEVICE_TYPE_NO_DEVICE (0x00000000)
15 #define MPI3_SAS_DEVICE_INFO_DEVICE_TYPE_END_DEVICE (0x00000001)
16 #define MPI3_SAS_DEVICE_INFO_DEVICE_TYPE_EXPANDER (0x00000002)
17 struct mpi3_smp_passthrough_request
{
21 __le16 ioc_use_only04
;
29 struct mpi3_sge_common request_sge
;
30 struct mpi3_sge_common response_sge
;
33 struct mpi3_smp_passthrough_reply
{
37 __le16 ioc_use_only04
;
40 __le16 ioc_use_only08
;
43 __le16 response_data_length
;