Lines Matching +full:pcie +full:- +full:mirror

1 /*-
2 * Copyright 2016-2023 Microchip Technology, Inc. and/or its subsidiaries.
61 /* As per PQI Spec pqi-2r00a , 6.2.2. */
109 * Mapped in PCIe BAR 0.
229 /* lock-free stack used to push and pop the tag used for IO request */
255 uint64_t addr; /* !< Bytes 0-7. The starting 64-bit memory byte address of the data block. */
256 …uint32_t length; /* !< Bytes 8-11. The length in bytes of the data block. Set to 0x00000000 spec…
257 uint8_t res[3]; /* !< Bytes 12-14. */
258 uint8_t zero : 4; /* !< Byte 15, Bits 0-3. */
259 uint8_t type : 4; /* !< Byte 15, Bits 4-7. sgl descriptor type */
273 iu_header_t header; /* !< Bytes 0-3. */
276 uint16_t req_id; /* !< Bytes 8-9. request identifier */
280 uint8_t res2[33]; /* !< Bytes 11-43. function specific */
281 uint32_t buf_size; /* !< Bytes 44-47. size in bytes of the Data-In/Out Buffer */
282 sg_desc_t sg_desc; /* !< Bytes 48-63. SGL */
385 /* Report/Set event config data-in/data-out buffer structure */
469 uint8_t sense_key : 4; /* Byte 2, bit 0-3 (Key) */
470 uint8_t byte_2_other : 4; /* Byte 2, bit 4-7 */
471 uint32_t information; /* Byte 3-6, big-endian like block # in CDB */
473 uint8_t cmd_specific[4]; /* Byte 8-11 */
477 uint8_t sense_key_specific[3]; /* Byte 15-17 */
497 uint8_t information[8]; /* Byte 13-20/4-11 */
507 uint8_t sense_key : 4; /* Byte 1, bit 0-3 (Key) */
508 uint8_t byte_1_other : 4; /* Byte 1, bit 4-7 */
511 uint8_t byte4_6[3]; /* Byte 4-6 */
530 uint8_t reserved[3]; /* !< Bytes 2-4. */
531 uint8_t status; /* !< Byte 5. See SAM-5 specification "Status" codes Table 40.*/
532 uint16_t status_qual; /* !< Bytes 6-7. See SAM-5 specification Table 43. */
533 uint16_t sense_data_len; /* !< Bytes 8-9. See SOP specification table 79. */
534 uint16_t resp_data_len; /* !< Bytes 10-11. See SOP specification table 79. */
535 … Bytes 12-15. If "dada_in_result = 0x01 (DATA_IN BUFFER UNDERFLOW)", Indicates the number of conti…
536 …Bytes 16-19. If "data_out_result = 0x01 (DATA_OUT BUFFER UNDERFLOW)", Indicates the number of cont…
540 …uint8_t data[256]; /* !< Bytes 20-275. Response Data buffer or Sense Data buff…
555 uint8_t status; /* !< Byte 0. See SAM-5 specification "SCSI Status" codes Table 40.*/
557 …uint8_t data_pres; /* !< Byte 2. Bits [7:2] reserved. Bits [1:0] - 0=No data, 1=Response dat…
559 …uint32_t resd_count; /* !< Bytes 4-7. The residual data length in bytes. Need the original tra…
560 …uint16_t data_len; /* !< Bytes 8-9. The amount of Sense data or Response data returned in Re…
561 uint16_t reserved2; /* !< Bytes 10-11. Reserved. */
565 …uint8_t data[256]; /* !< Bytes 12-267. Response data buffer or Sense data buffer but not b…
567 …uint8_t padding[8]; /* !< Bytes 268-275. Padding to make AIO_PATH_ERROR_INFO_ELEMENT = RAID_P…
782 uint32_t detail; /* Byte 2-5 */
784 uint16_t xfer_len; /* Byte 7-8 */
786 uint8_t unused[6]; /* Bytes 10-15. */
866 BMIC_IDENTIFY_PHYSICAL_DEVICE - only
886 uint8_t vendor[8]; /* bytes 8-15 of inquiry data */
887 uint8_t model[16]; /* bytes 16-31 of inquiry data */
902 offload request to mirror drive. */
920 struct sense_header_scsi { /* See SPC-3 section 4.5 */
943 uint8_t lun_count; /* number of LUNs in a multi-LUN device */
999 uint16_t metadata_disks_per_row; /* mirror/parity disk entries / row
1002 uint16_t layout_map_count; /* layout maps (1 map per mirror/parity
1055 struct aio_r5or6_loc r5or6; /* Raid 5/6-specific bits */
1268 NON_RW_IO_TYPE, /* IO Type is non-Read/Write opcode (could separate BMIC, etc. if we wanted) */
1315 ob_queue_t op_ob_q[PQISRC_MAX_SUPPORTED_OP_OB_Q - 1];/* 1 event queue */
1427 uint32_t max_sg_per_request; /* max. number of scatter-gather */
1444 iu_header_t header; /* bytes 0-3 */
1445 uint16_t response_id; /* bytes 4-5 */
1446 uint16_t work; /* bytes 6-7 */