Lines Matching +full:ssc +full:- +full:block +full:- +full:bus
1 /*-
35 * bus reset.
55 * SCSI-3 spec
545 uint8_t bus; member
556 uint8_t bus; member
781 * Updated version of the cache page, as of SBC. Update this to SBC-3 and
1111 * Attributes obtained from SPC-4r36g (section 7.4.2.2) and
1112 * SSC-4r03 (section 4.2.21).
1215 * Attribute (0x080c) for LTFS-format coherency information.
2203 * the two values should be de-coupled.
2210 #define SID_TYPE(inq_data) ((inq_data)->device & 0x1f)
2211 #define SID_QUAL(inq_data) (((inq_data)->device & 0xE0) >> 5)
2249 #define SID_IS_REMOVABLE(inq_data) (((inq_data)->dev_qual2 & SID_RMB) != 0)
2251 #define SID_ANSI_REV(inq_data) ((inq_data)->version & 0x07)
2270 ((iqd)->additional_length + \
2288 ((SID_ANSI_REV(iqd) < SCSI_REV_SPC2)? ((iqd)->flags & SID_CmdQue) : \
2289 (((iqd)->flags & SID_CmdQue) && !((iqd)->spc2_flags & SPC2_SID_BQueue)) || \
2290 (!((iqd)->flags & SID_CmdQue) && ((iqd)->spc2_flags & SPC2_SID_BQueue)))
2307 * The following fields were taken from SCSI Primary Commands - 2
2308 * (SPC-2) Revision 14, Dated 11 November 1999
2667 * T10/2126-D Revision 04
2826 * Block Device Characteristics VPD Page
2857 field) + sizeof(bdc->field)) ? 1 : 0)
2860 * Logical Block Provisioning VPD Page based on
2861 * T10/1799-D Revision 31
2884 * Its size can be determined from page_length - 4
2889 * Block Limits VDP Page based on SBC-4 Revision 17
2919 * Zoned Block Device Characacteristics VPD page.
2920 * From ZBC-r04, dated August 12, 2015.
2990 * Alternate versions of these macros that are intended for use on a 16-bit
3066 * LUN inventory- we only support the type zero form for now.
3072 * GET PHYSICAL ELEMENT STATUS (GPES) from SBC-4 (r21 or later)
3073 * REMOVE ELEMENT AND TRUNCATE (RET) from SBC-4 (r21 or later)
3074 * RESTORE ELEMENT AND REBUILD (RER) from SBC-4 (r21 or later)
3280 * SPC-4 says that the maximum length of sense data is 252 bytes.
3284 uint8_t sense_buf[SSD_FULL_SIZE - 1];
3342 sizeof(sense->field))) ? 1 :0)
3345 sizeof(sense->field)) - \
3347 sizeof(sense->extra_len))) <= sense->extra_len) ? 1 : 0)
3352 * Introduced in SPC-3.
3366 * Note that SPC-4, section 4.5.2.1 says that the extra_len field
3373 sizeof(sense->field))) ? 1 :0)
3389 * Maximum descriptors allowed: 1 (as of SPC-4)
3403 * Command-specific information depends on the command for which the
3410 * Maximum descriptors allowed: 1 (as of SPC-4)
3425 * Maximum descriptors allowed: 1 (as of SPC-4)
3504 * Maximum descriptors allowed: 1 (as of SPC-4)
3516 * Used for Stream commands, defined in SSC-4.
3518 * Maximum descriptors allowed: 1 (as of SPC-4)
3534 * Used for Block commands, defined in SBC-3.
3536 * This is currently (as of SBC-3) only used for the Incorrect Length
3539 * block.
3541 * Maximum descriptors allowed: 1 (as of SPC-4)
3554 * Used for Object-Based Storage Devices (OSD-3).
3556 * Maximum descriptors allowed: 1 (as of SPC-4)
3575 * Used for Object-Based Storage Devices (OSD-3).
3577 * Maximum descriptors allowed: 1 (as of SPC-4)
3588 * Used for Object-Based Storage Devices (OSD-3).
3590 * Maximum descriptors allowed: 1 (as of SPC-4)
3602 * ATA Return descriptor, used for the SCSI ATA PASS-THROUGH(12), (16) and
3603 * (32) commands. Described in SAT-4r05.
3627 * Maximum descriptors allowed: 32 (as of SPC-4)
3644 * Maximum descriptors allowed: 2 (as of SPC-4)
3662 * Vendor-specific sense descriptor. The desc_type field will be in the
3718 #define SCSI_SAME_DENSITY 0x7f /* use 'same' density- >= SCSI-2 only */
3730 #define SCSI_STATUS_CMD_TERMINATED 0x22 /* Obsolete in SAM-2 */
4516 mode_header->blk_desc_len); in find_mode_page_6()
4527 scsi_2btoul(mode_header->blk_desc_len)); in find_mode_page_10()