Lines Matching refs:uint8_t
615 uint8_t opcode; /* 0: 0x03 */
616 uint8_t flags; /* 1: See SCSICMD_REQUESTSENSE_FLAGS_* */
617 uint8_t reserved[2]; /* 2-3: Reserved */
618 uint8_t alloclen; /* 4: Allocation length */
619 uint8_t control; /* 5: Control */
626 uint8_t code; /* 0: Response code See SCSIRESP_SENSEDATA_*FIXED defns */
627 uint8_t obsolete; /* 1: */
628 uint8_t flags; /* 2: See SCSIRESP_SENSEDATA_* definitions */
629 uint8_t info[4]; /* 3-6: Information */
630 uint8_t len; /* 7: Additional length */
631 uint8_t cmdinfo[4]; /* 8-11: Command-specific information */
632 uint8_t code2; /* 12: Additional sense code */
633 uint8_t qual2; /* 13: Additional sense code qualifier */
634 uint8_t fru; /* 14: Field replacement unit code */
635 uint8_t key[3]; /* 15-17: Sense key specific */
642 uint8_t opcode; /* 0: 0x12 */
643 uint8_t flags; /* 1: See SCSICMD_INQUIRY_FLAGS_* */
644 uint8_t pagecode; /* 2: Page code */
645 uint8_t alloclen[2]; /* 3-4: Allocation length */
646 uint8_t control; /* 5: Control */
659 uint8_t qualtype; /* 0: Bits 5-7: Peripheral qualifier; Bits 0-4: Peripheral device type */
660 uint8_t flags1; /* 1: See SCSIRESP_INQUIRY_FLAGS1_* */
661 uint8_t version; /* 2: Version */
662 uint8_t flags2; /* 3: See SCSIRESP_INQUIRY_FLAGS2_* */
663 uint8_t len; /* 4: Additional length */
664 uint8_t flags3; /* 5: See SCSIRESP_INQUIRY_FLAGS3_* */
665 uint8_t flags4; /* 6: See SCSIRESP_INQUIRY_FLAGS4_* */
666 uint8_t flags5; /* 7: See SCSIRESP_INQUIRY_FLAGS5_* */
667 uint8_t vendorid[8]; /* 8-15: T10 Vendor Identification */
668 uint8_t productid[16]; /* 16-31: Product Identification */
669 uint8_t revision[4]; /* 32-35: Product Revision Level */
673 uint8_t vendor[20]; /* 36-55: Vendor specific */
674 uint8_t flags6; /* 56: See SCSIRESP_INQUIRY_FLAGS6_* */
675 uint8_t reserved1; /* 57: Reserved */
676 uint8_t version1[2]; /* 58-59: Version Descriptor 1 */
677 uint8_t version2[2]; /* 60-61: Version Descriptor 2 */
678 uint8_t version3[2]; /* 62-63: Version Descriptor 3 */
679 uint8_t version4[2]; /* 64-65: Version Descriptor 4 */
680 uint8_t version5[2]; /* 66-67: Version Descriptor 5 */
681 uint8_t version6[2]; /* 68-69: Version Descriptor 6 */
682 uint8_t version7[2]; /* 70-71: Version Descriptor 7 */
683 uint8_t version8[2]; /* 72-73: Version Descriptor 8 */
684 uint8_t reserved2[22]; /* 74-95: Reserved */
691 uint8_t opcode; /* 0x15 */
692 uint8_t flags; /* 1: See SCSICMD_MODESELECT6_FLAGS_* */
693 uint8_t reserved[2]; /* 2-3: Reserved */
694 uint8_t plen; /* 4: Parameter list length */
695 uint8_t control; /* 5: Control */
701 uint8_t opcode; /* 0x1a */
702 uint8_t flags; /* 1: See SCSICMD_MODESENSE6_FLAGS_* */
703 uint8_t pcpgcode; /* 2: Bits 6-7: PC, bits 0-5: page code */
704 uint8_t subpgcode; /* 3: subpage code */
705 uint8_t alloclen; /* 4: Allocation length */
706 uint8_t control; /* 5: Control */
712 uint8_t mdlen; /* 0: Mode data length */
713 uint8_t type; /* 1: Medium type */
714 uint8_t param; /* 2: Device-specific parameter */
715 uint8_t bdlen; /* 3: Block descriptor length */
721 uint8_t density; /* 0: density code */
722 uint8_t nblocks[3]; /* 1-3: Number of blocks */
723 uint8_t reserved; /* 4: reserved */
724 uint8_t blklen[3]; /* 5-7: Block len */
730 uint8_t pgcode; /* 0: See SCSIRESP_PAGEFMT_* definitions */
731 uint8_t pglen; /* 1: Page length (n-1) */
732 uint8_t parms[1]; /* 2-n: Mode parameters */
737 uint8_t pgcode; /* 0: See SCSIRESP_PAGEFMT_* definitions */
738 uint8_t subpgcode; /* 1: sub-page code */
739 uint8_t pglen[2]; /* 2-3: Page length (n-3) */
740 uint8_t parms[1]; /* 4-n: Mode parameters */
745 uint8_t pgcode; /* 0: Bit 7: PS; Bit 6: SPF, Bits 0-5: page code == 8 */
746 uint8_t len; /* 1: Page length (18) */
747 uint8_t flags1; /* 2: See SCSIRESP_CACHINGMODEPG_* definitions */
748 uint8_t priority; /* 3: Bits 4-7: Demand read retention priority; Bits 0-3: Write retention priority */
749 uint8_t dpflen[2]; /* 4-5: Disable prefetch transfer length */
750 uint8_t minpf[2]; /* 6-7: Minimum pre-fetch */
751 uint8_t maxpf[2]; /* 8-9: Maximum pre-fetch */
752 uint8_t maxpfc[2]; /* 10-11: Maximum pref-fetch ceiling */
753 uint8_t flags2; /* 12: See SCSIRESP_CACHINGMODEPG_* definitions */
754 uint8_t nsegments; /* 13: Number of cache segments */
755 uint8_t segsize[2]; /* 14-15: Cache segment size */
756 uint8_t reserved; /* 16: Reserved */
757 uint8_t obsolete[3]; /* 17-19: Obsolete */
764 uint8_t opcode; /* 0: 0x08 */
765 uint8_t mslba; /* 1: Bits 5-7: reserved; Bits 0-6: MS Logical Block Address (LBA) */
766 uint8_t lslba[2]; /* 2-3: LS Logical Block Address (LBA) */
767 uint8_t xfrlen; /* 4: Transfer length (in contiguous logical blocks) */
768 uint8_t control; /* 5: Control */
774 uint8_t opcode; /* 0: 0x0a */
775 uint8_t mslba; /* 1: Bits 5-7: reserved; Bits 0-6: MS Logical Block Address (LBA) */
776 uint8_t lslba[2]; /* 2-3: LS Logical Block Address (LBA) */
777 uint8_t xfrlen; /* 4: Transfer length (in contiguous logical blocks) */
778 uint8_t control; /* 5: Control */
784 uint8_t opcode; /* 0: 0x1b */
785 uint8_t immed; /* 1: Bits 2-7: Reserved, Bit 0: Immed */
786 uint8_t reserved; /* 2: reserved */
787 uint8_t pcm; /* 3: Bits 4-7: Reserved, Bits 0-3: Power condition modifier */
788 uint8_t pc; /* 4: Bits 4-7: Power condition, Bit 2: NO_FLUSH, Bit 1: LOEJ, Bit 0: START */
789 uint8_t control; /* 5: Control */
795 uint8_t opcode; /* 0: 0x1e */
796 uint8_t reserved[3]; /* 1-3: Reserved */
797 uint8_t prevent; /* 4: Bits 2-7: Reserved, Bits 0:1: prevent */
798 uint8_t control; /* 5: Control */
804 uint8_t opcode; /* 0: 0x23 */
805 uint8_t reserved[6]; /* 1-6: Reserved */
806 uint8_t alloclen[2]; /* 7-8: Allocation length */
807 uint8_t control; /* 9: Control */
815 uint8_t reserved[3]; /* 0-2: Reserved */
816 uint8_t listlen; /* 3: Capacity list length */
820 uint8_t nblocks[4]; /* 4-7: Number of blocks */
821 uint8_t type; /* 8: Bits 2-7: Reserved, Bits 0-1: Descriptor type */
822 uint8_t blocklen[3]; /* 9-11: Block length */
829 uint8_t nblocks[4]; /* 0-3: Number of blocks */
830 uint8_t type; /* 4: Bits 2-7: Type, bits 0-1, reserved */
831 uint8_t param[3]; /* 5-7: Type dependent parameter */
837 uint8_t opcode; /* 0: 0x25 */
838 uint8_t reserved1; /* 1: Bits 1-7: Reserved, Bit 0: Obsolete */
839 uint8_t lba[4]; /* 2-5: Logical block address (LBA) */
840 uint8_t reserved2[2]; /* 6-7: Reserved */
841 uint8_t pmi; /* 8: Bits 1-7 Reserved; Bit 0: PMI */
842 uint8_t control; /* 9: Control */
848 uint8_t lba[4]; /* 0-3: Returned logical block address (LBA) */
849 uint8_t blklen[4]; /* 4-7: Logical block length (in bytes) */
855 uint8_t opcode; /* 0: 0x9E */
856 uint8_t reserved1; /* 1: Bits 0-4: Service Action, Bit 5-7: Reserved */
857 uint8_t lba[8]; /* 2-9: Logical block address (LBA) */
858 uint8_t blklen[4]; /* 10-13: Allocation Length */
859 uint8_t pmi; /* 14: Bits 1-7 Reserved; Bit 0: PMI */
860 uint8_t control; /* 15: Control */
866 uint8_t lba[8]; /* 0-7: Returned logical block address (LBA) */
867 uint8_t blklen[4]; /* 8-11: Logical block length (in bytes) */
868 uint8_t prot; /* 12: Bits 0: PROT_EN, Bits 1-3: P_TYPE, Bits 4-7: Reserved*/
869 uint8_t reserved[19]; /* 13-31: Reserved */
875 uint8_t opcode; /* 0: 0x88 */
876 uint8_t flags; /* 1: See SCSICMD_READ16 FLAGS* */
877 uint8_t lba[8]; /* 2-9: Logical Block Address (LBA) */
878 uint8_t xfrlen[4]; /* 10-13: Transfer length (in contiguous logical blocks) */
879 uint8_t groupno; /* 14: Bits 7: Restricted for MMC-4; Bits 5-6: reserved; Bits 0-4: group number */
880 uint8_t control; /* 15: Control */
886 uint8_t opcode; /* 0: 0x8a */
887 uint8_t flags; /* 1: See SCSICMD_WRITE10FLAGS_* */
888 uint8_t lba[8]; /* 2-9: Logical Block Address (LBA) */
889 uint8_t xfrlen[4]; /* 10-13: Transfer length (in contiguous logical blocks) */
890 uint8_t groupno; /* 14: Bits 7: RESTRICTED FOR MMC-4; Bits 5-6: reserved; Bits 0-4: group number */
891 uint8_t control; /* 9: Control */
897 uint8_t opcode; /* 0: 0x28 */
898 uint8_t flags; /* 1: See SCSICMD_READ10FLAGS_* */
899 uint8_t lba[4]; /* 2-5: Logical Block Address (LBA) */
900 uint8_t groupno; /* 6: Bits 5-7: reserved; Bits 0-6: group number */
901 uint8_t xfrlen[2]; /* 7-8: Transfer length (in contiguous logical blocks) */
902 uint8_t control; /* 9: Control */
908 uint8_t opcode; /* 0: 0x2a */
909 uint8_t flags; /* 1: See SCSICMD_WRITE10FLAGS_* */
910 uint8_t lba[4]; /* 2-5: Logical Block Address (LBA) */
911 uint8_t groupno; /* 6: Bits 5-7: reserved; Bits 0-6: group number */
912 uint8_t xfrlen[2]; /* 7-8: Transfer length (in contiguous logical blocks) */
913 uint8_t control; /* 9: Control */
919 uint8_t opcode; /* 0: 0x2f */
920 uint8_t flags; /* 1: See SCSICMD_VERIFY10_* definitions */
921 uint8_t lba[4]; /* 2-5: Logical block address (LBA) */
922 uint8_t groupno; /* 6: Bit 7: restricted; Bits 5-6: Reserved, Bits 0-4: Group number */
923 uint8_t len[2]; /* 7-8: Verification length (in blocks) */
924 uint8_t control; /* 9: Control */
930 uint8_t opcode; /* 0: 0x35 */
931 uint8_t flags; /* 1: See SCSICMD_SYNCHRONIZECACHE10_* definitions */
932 uint8_t lba[4]; /* 2-5: Logical block address (LBA) */
933 uint8_t groupno; /* 6: Bit 7: restricted; Bits 5-6: Reserved, Bits 0-4: Group number */
934 uint8_t len[2]; /* 7-8: Number of logical blocks */
935 uint8_t control; /* 9: Control */
941 uint8_t opcode; /* 0: 0x55 */
942 uint8_t flags; /* 1: See SCSICMD_MODESELECT10_FLAGS_* */
943 uint8_t reserved[5]; /* 2-6: Reserved */
944 uint8_t parmlen[2]; /* 7-8: Parameter list length */
945 uint8_t control; /* 9: Control */
951 uint8_t mdlen[2]; /* 0-1: Mode data length */
952 uint8_t type; /* 2: Medium type */
953 uint8_t param; /* 3: Device-specific parameter */
954 uint8_t reserved[2]; /* 4-5: reserved */
955 uint8_t bdlen[2]; /* 6-7: Block descriptor length */
961 uint8_t opcode; /* O: 0x5a */
962 uint8_t flags; /* 1: See SCSICMD_MODESENSE10_FLAGS_* */
963 uint8_t pcpgcode; /* 2: Bits 6-7: PC, bits 0-5: page code */
964 uint8_t subpgcode; /* 3: subpage code */
965 uint8_t reserved[3]; /* 4-6: reserved */
966 uint8_t alloclen[2]; /* 7-8: Allocation length */
967 uint8_t control; /* 9: Control */
973 uint8_t opcode; /* 0: 0xa8 */
974 uint8_t flags; /* 1: See SCSICMD_READ12FLAGS_* */
975 uint8_t lba[4]; /* 2-5: Logical Block Address (LBA) */
976 uint8_t xfrlen[4]; /* 6-9: Transfer length (in contiguous logical blocks) */
977 uint8_t groupno; /* 10: Bit 7: restricted; Bits 5-6: reserved; Bits 0-6: group number */
978 uint8_t control; /* 11: Control */
984 uint8_t opcode; /* 0: 0xaa */
985 uint8_t flags; /* 1: See SCSICMD_WRITE12FLAGS_* */
986 uint8_t lba[4]; /* 2-5: Logical Block Address (LBA) */
987 uint8_t xfrlen[4]; /* 6-9: Transfer length (in contiguous logical blocks) */
988 uint8_t groupno; /* 10: Bit 7: restricted; Bits 5-6: reserved; Bits 0-6: group number */
989 uint8_t control; /* 11: Control */
995 uint8_t opcode; /* 0: 0xaf */
996 uint8_t flags; /* 1: See SCSICMD_VERIFY12_* definitions */
997 uint8_t lba[4]; /* 2-5: Logical block address (LBA) */
998 uint8_t len[4]; /* 6-9: Verification length */
999 uint8_t groupno; /* 10: Bit 7: restricted; Bits 5-6: Reserved, Bits 0-4: Group number */
1000 uint8_t control; /* 11: Control */