Lines Matching +full:pcie +full:- +full:mirror
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * driver for Microchip PQI-based storage controllers
4 * Copyright (c) 2019-2023 Microchip Technology Inc. and its subsidiaries
5 * Copyright (c) 2016-2018 Microsemi Corporation
6 * Copyright (c) 2016 PMC-Sierra, Inc.
12 #include <linux/io-64-nonatomic-lo-hi.h>
18 #include <linux/bsg-lib.h>
31 u8 admin_iq_element_length; /* in 16-byte units */
32 u8 admin_oq_element_length; /* in 16-byte units */
33 __le16 max_reset_timeout; /* in 100-millisecond units */
69 * comments are the offsets from the PCIe BAR 0.
74 u8 reserved1[0x34 - (0x20 + sizeof(__le32))];
76 u8 reserved2[0x9c - (0x34 + sizeof(__le32))];
78 u8 reserved3[0xa0 - (0x9c + sizeof(__le32))];
80 u8 reserved4[0xb0 - (0xa0 + sizeof(__le32))];
83 u8 reserved5[0xbc - (0xb4 + sizeof(__le32))];
85 u8 reserved6[0xcc - (0xbc + sizeof(__le32))];
87 u8 reserved7[0x1000 - (0xcc + sizeof(__le32))];
89 u8 reserved8[0x4000 - (0x1000 + (sizeof(__le32) * 8))];
92 * offset 0 from the PCIe BAR 0. However, we can't map
140 __le16 iu_length; /* in bytes - does not include the length */
374 u8 mem_type : 1; /* 0 = PCIe, 1 = DDR */
706 #define SOP_WRITE_FLAG 1 /* host writes data to Data-Out */
708 #define SOP_READ_FLAG 2 /* host receives data from Data-In */
711 /* Data-Out buffer and data is */
712 /* transferred to the Data-In buffer */
725 #define SOP_ADDITIONAL_CDB_BYTES_0 0 /* 16-byte CDB */
726 #define SOP_ADDITIONAL_CDB_BYTES_4 1 /* 20-byte CDB */
727 #define SOP_ADDITIONAL_CDB_BYTES_8 2 /* 24-byte CDB */
728 #define SOP_ADDITIONAL_CDB_BYTES_12 3 /* 28-byte CDB */
729 #define SOP_ADDITIONAL_CDB_BYTES_16 4 /* 32-byte CDB */
810 #define PQI_CONFIG_TABLE_ALL_SECTIONS (-1)
843 __le32 max_sg_per_request; /* max. number of scatter-gather */
975 u8 lun_count; /* number of LUNs in a multi-LUN device */
985 u8 lun_count; /* number of LUNs in a multi-LUN device */
1026 __le16 metadata_disks_per_row; /* mirror/parity disk entries / row */
1030 /* mirror parity group) */
1140 u8 vendor[8]; /* bytes 8-15 of inquiry data */
1141 u8 model[16]; /* bytes 16-31 of inquiry data */
1182 #define CISS_VPD_LV_DEVICE_GEOMETRY 0xc1 /* vendor-specific page */
1183 #define CISS_VPD_LV_BYPASS_STATUS 0xc2 /* vendor-specific page */
1184 #define CISS_VPD_LV_STATUS 0xc3 /* vendor-specific page */
1464 (((CISS_GET_LEVEL_2_BUS((lunid)) - 1) << 8) + \
1480 #define NO_TIMEOUT ((unsigned long) -1)