Lines Matching refs:uint8_t
642 uint8_t opcode; /* 0: 0x03 */
643 uint8_t flags; /* 1: See SCSICMD_REQUESTSENSE_FLAGS_* */
644 uint8_t reserved[2]; /* 2-3: Reserved */
645 uint8_t alloclen; /* 4: Allocation length */
646 uint8_t control; /* 5: Control */
653 uint8_t code; /* 0: Response code See SCSIRESP_SENSEDATA_*FIXED defns */
654 uint8_t obsolete; /* 1: */
655 uint8_t flags; /* 2: See SCSIRESP_SENSEDATA_* definitions */
656 uint8_t info[4]; /* 3-6: Information */
657 uint8_t len; /* 7: Additional length */
658 uint8_t cmdinfo[4]; /* 8-11: Command-specific information */
659 uint8_t code2; /* 12: Additional sense code */
660 uint8_t qual2; /* 13: Additional sense code qualifier */
661 uint8_t fru; /* 14: Field replacement unit code */
662 uint8_t key[3]; /* 15-17: Sense key specific */
669 uint8_t opcode; /* 0: 0x12 */
670 uint8_t flags; /* 1: See SCSICMD_INQUIRY_FLAGS_* */
671 uint8_t pagecode; /* 2: Page code */
672 uint8_t alloclen[2]; /* 3-4: Allocation length */
673 uint8_t control; /* 5: Control */
686 uint8_t qualtype; /* 0: Bits 5-7: Peripheral qualifier; Bits 0-4: Peripheral device type */
687 uint8_t flags1; /* 1: See SCSIRESP_INQUIRY_FLAGS1_* */
688 uint8_t version; /* 2: Version */
689 uint8_t flags2; /* 3: See SCSIRESP_INQUIRY_FLAGS2_* */
690 uint8_t len; /* 4: Additional length */
691 uint8_t flags3; /* 5: See SCSIRESP_INQUIRY_FLAGS3_* */
692 uint8_t flags4; /* 6: See SCSIRESP_INQUIRY_FLAGS4_* */
693 uint8_t flags5; /* 7: See SCSIRESP_INQUIRY_FLAGS5_* */
694 uint8_t vendorid[8]; /* 8-15: T10 Vendor Identification */
695 uint8_t productid[16]; /* 16-31: Product Identification */
696 uint8_t revision[4]; /* 32-35: Product Revision Level */
700 uint8_t vendor[20]; /* 36-55: Vendor specific */
701 uint8_t flags6; /* 56: See SCSIRESP_INQUIRY_FLAGS6_* */
702 uint8_t reserved1; /* 57: Reserved */
703 uint8_t version1[2]; /* 58-59: Version Descriptor 1 */
704 uint8_t version2[2]; /* 60-61: Version Descriptor 2 */
705 uint8_t version3[2]; /* 62-63: Version Descriptor 3 */
706 uint8_t version4[2]; /* 64-65: Version Descriptor 4 */
707 uint8_t version5[2]; /* 66-67: Version Descriptor 5 */
708 uint8_t version6[2]; /* 68-69: Version Descriptor 6 */
709 uint8_t version7[2]; /* 70-71: Version Descriptor 7 */
710 uint8_t version8[2]; /* 72-73: Version Descriptor 8 */
711 uint8_t reserved2[22]; /* 74-95: Reserved */
718 uint8_t opcode; /* 0x15 */
719 uint8_t flags; /* 1: See SCSICMD_MODESELECT6_FLAGS_* */
720 uint8_t reserved[2]; /* 2-3: Reserved */
721 uint8_t plen; /* 4: Parameter list length */
722 uint8_t control; /* 5: Control */
728 uint8_t opcode; /* 0x1a */
729 uint8_t flags; /* 1: See SCSICMD_MODESENSE6_FLAGS_* */
730 uint8_t pcpgcode; /* 2: Bits 6-7: PC, bits 0-5: page code */
731 uint8_t subpgcode; /* 3: subpage code */
732 uint8_t alloclen; /* 4: Allocation length */
733 uint8_t control; /* 5: Control */
739 uint8_t mdlen; /* 0: Mode data length */
740 uint8_t type; /* 1: Medium type */
741 uint8_t param; /* 2: Device-specific parameter */
742 uint8_t bdlen; /* 3: Block descriptor length */
748 uint8_t density; /* 0: density code */
749 uint8_t nblocks[3]; /* 1-3: Number of blocks */
750 uint8_t reserved; /* 4: reserved */
751 uint8_t blklen[3]; /* 5-7: Block len */
757 uint8_t pgcode; /* 0: See SCSIRESP_PAGEFMT_* definitions */
758 uint8_t pglen; /* 1: Page length (n-1) */
759 uint8_t parms[1]; /* 2-n: Mode parameters */
764 uint8_t pgcode; /* 0: See SCSIRESP_PAGEFMT_* definitions */
765 uint8_t subpgcode; /* 1: sub-page code */
766 uint8_t pglen[2]; /* 2-3: Page length (n-3) */
767 uint8_t parms[1]; /* 4-n: Mode parameters */
772 uint8_t pgcode; /* 0: Bit 7: PS; Bit 6: SPF, Bits 0-5: page code == 8 */
773 uint8_t len; /* 1: Page length (18) */
774 uint8_t flags1; /* 2: See SCSIRESP_CACHINGMODEPG_* definitions */
775 …uint8_t priority; /* 3: Bits 4-7: Demand read retention priority; Bits 0-3: Write retention pri…
776 uint8_t dpflen[2]; /* 4-5: Disable prefetch transfer length */
777 uint8_t minpf[2]; /* 6-7: Minimum pre-fetch */
778 uint8_t maxpf[2]; /* 8-9: Maximum pre-fetch */
779 uint8_t maxpfc[2]; /* 10-11: Maximum pref-fetch ceiling */
780 uint8_t flags2; /* 12: See SCSIRESP_CACHINGMODEPG_* definitions */
781 uint8_t nsegments; /* 13: Number of cache segments */
782 uint8_t segsize[2]; /* 14-15: Cache segment size */
783 uint8_t reserved; /* 16: Reserved */
784 uint8_t obsolete[3]; /* 17-19: Obsolete */
791 uint8_t opcode; /* 0: 0x08 */
792 uint8_t mslba; /* 1: Bits 5-7: reserved; Bits 0-6: MS Logical Block Address (LBA) */
793 uint8_t lslba[2]; /* 2-3: LS Logical Block Address (LBA) */
794 uint8_t xfrlen; /* 4: Transfer length (in contiguous logical blocks)*/
795 uint8_t control; /* 5: Control */
801 uint8_t opcode; /* 0: 0x0a */
802 uint8_t mslba; /* 1: Bits 5-7: reserved; Bits 0-6: MS Logical Block Address (LBA) */
803 uint8_t lslba[2]; /* 2-3: LS Logical Block Address (LBA) */
804 uint8_t xfrlen; /* 4: Transfer length (in contiguous logical blocks) */
805 uint8_t control; /* 5: Control */
811 uint8_t opcode; /* 0: 0x1b */
812 uint8_t immed; /* 1: Bits 2-7: Reserved, Bit 0: Immed */
813 uint8_t reserved; /* 2: reserved */
814 uint8_t pcm; /* 3: Bits 4-7: Reserved, Bits 0-3: Power condition modifier */
815 …uint8_t pc; /* 4: Bits 4-7: Power condition, Bit 2: NO_FLUSH, Bit 1: LOEJ, Bit 0: START…
816 uint8_t control; /* 5: Control */
822 uint8_t opcode; /* 0: 0x1e */
823 uint8_t reserved[3]; /* 1-3: Reserved */
824 uint8_t prevent; /* 4: Bits 2-7: Reserved, Bits 0:1: prevent */
825 uint8_t control; /* 5: Control */
831 uint8_t opcode; /* 0: 0x23 */
832 uint8_t reserved[6]; /* 1-6: Reserved */
833 uint8_t alloclen[2]; /* 7-8: Allocation length */
834 uint8_t control; /* 9: Control */
842 uint8_t reserved[3]; /* 0-2: Reserved */
843 uint8_t listlen; /* 3: Capacity list length */
847 uint8_t nblocks[4]; /* 4-7: Number of blocks */
848 uint8_t type; /* 8: Bits 2-7: Reserved, Bits 0-1: Descriptor type */
849 uint8_t blocklen[3]; /* 9-11: Block length */
856 uint8_t nblocks[4]; /* 0-3: Number of blocks */
857 uint8_t type; /* 4: Bits 2-7: Type, bits 0-1, reserved */
858 uint8_t param[3]; /* 5-7: Type dependent parameter */
864 uint8_t opcode; /* 0: 0x25 */
865 uint8_t reserved1; /* 1: Bits 1-7: Reserved, Bit 0: Obsolete */
866 uint8_t lba[4]; /* 2-5: Logical block address (LBA) */
867 uint8_t reserved2[2]; /* 6-7: Reserved */
868 uint8_t pmi; /* 8: Bits 1-7 Reserved; Bit 0: PMI */
869 uint8_t control; /* 9: Control */
875 uint8_t lba[4]; /* 0-3: Returned logical block address (LBA) */
876 uint8_t blklen[4]; /* 4-7: Logical block length (in bytes) */
882 uint8_t opcode; /* 0: 0x9E */
883 uint8_t reserved1; /* 1: Bits 0-4: Service Action, Bit 5-7: Reserved */
884 uint8_t lba[8]; /* 2-9: Logical block address (LBA) */
885 uint8_t blklen[4]; /* 10-13: Allocation Length */
886 uint8_t pmi; /* 14: Bits 1-7 Reserved; Bit 0: PMI */
887 uint8_t control; /* 15: Control */
893 uint8_t lba[8]; /* 0-7: Returned logical block address (LBA) */
894 uint8_t blklen[4]; /* 8-11: Logical block length (in bytes) */
895 uint8_t prot; /* 12: Bits 0: PROT_EN, Bits 1-3: P_TYPE, Bits 4-7: Reserved*/
896 uint8_t reserved[19]; /* 13-31: Reserved */
902 uint8_t opcode; /* 0: 0x88 */
903 uint8_t flags; /* 1: See SCSICMD_READ16 FLAGS* */
904 uint8_t lba[8]; /* 2-9: Logical Block Address (LBA) */
905 uint8_t xfrlen[4]; /* 10-13: Transfer length (in contiguous logical blocks) */
906 …uint8_t groupno; /* 14: Bits 7: Restricted for MMC-4; Bits 5-6: reserved; Bits 0-4: group nu…
907 uint8_t control; /* 15: Control */
913 uint8_t opcode; /* 0: 0x8a */
914 uint8_t flags; /* 1: See SCSICMD_WRITE10FLAGS_* */
915 uint8_t lba[8]; /* 2-9: Logical Block Address (LBA) */
916 uint8_t xfrlen[4]; /* 10-13: Transfer length (in contiguous logical blocks) */
917 …uint8_t groupno; /* 14: Bits 7: RESTRICTED FOR MMC-4; Bits 5-6: reserved; Bits 0-4: group nu…
918 uint8_t control; /* 9: Control */
924 uint8_t opcode; /* 0: 0x28 */
925 uint8_t flags; /* 1: See SCSICMD_READ10FLAGS_* */
926 uint8_t lba[4]; /* 2-5: Logical Block Address (LBA) */
927 uint8_t groupno; /* 6: Bits 5-7: reserved; Bits 0-6: group number */
928 uint8_t xfrlen[2]; /* 7-8: Transfer length (in contiguous logical blocks) */
929 uint8_t control; /* 9: Control */
935 uint8_t opcode; /* 0: 0x2a */
936 uint8_t flags; /* 1: See SCSICMD_WRITE10FLAGS_* */
937 uint8_t lba[4]; /* 2-5: Logical Block Address (LBA) */
938 uint8_t groupno; /* 6: Bits 5-7: reserved; Bits 0-6: group number */
939 uint8_t xfrlen[2]; /* 7-8: Transfer length (in contiguous logical blocks) */
940 uint8_t control; /* 9: Control */
946 uint8_t opcode; /* 0: 0x2f */
947 uint8_t flags; /* 1: See SCSICMD_VERIFY10_* definitions */
948 uint8_t lba[4]; /* 2-5: Logical block address (LBA) */
949 uint8_t groupno; /* 6: Bit 7: restricted; Bits 5-6: Reserved, Bits 0-4: Group number */
950 uint8_t len[2]; /* 7-8: Verification length (in blocks) */
951 uint8_t control; /* 9: Control */
957 uint8_t opcode; /* 0: 0x35 */
958 uint8_t flags; /* 1: See SCSICMD_SYNCHRONIZECACHE10_* definitions */
959 uint8_t lba[4]; /* 2-5: Logical block address (LBA) */
960 uint8_t groupno; /* 6: Bit 7: restricted; Bits 5-6: Reserved, Bits 0-4: Group number */
961 uint8_t len[2]; /* 7-8: Number of logical blocks */
962 uint8_t control; /* 9: Control */
968 uint8_t opcode; /* 0: 0x55 */
969 uint8_t flags; /* 1: See SCSICMD_MODESELECT10_FLAGS_* */
970 uint8_t reserved[5]; /* 2-6: Reserved */
971 uint8_t parmlen[2]; /* 7-8: Parameter list length */
972 uint8_t control; /* 9: Control */
978 uint8_t mdlen[2]; /* 0-1: Mode data length */
979 uint8_t type; /* 2: Medium type */
980 uint8_t param; /* 3: Device-specific parameter */
981 uint8_t reserved[2]; /* 4-5: reserved */
982 uint8_t bdlen[2]; /* 6-7: Block descriptor length */
988 uint8_t opcode; /* O: 0x5a */
989 uint8_t flags; /* 1: See SCSICMD_MODESENSE10_FLAGS_* */
990 uint8_t pcpgcode; /* 2: Bits 6-7: PC, bits 0-5: page code */
991 uint8_t subpgcode; /* 3: subpage code */
992 uint8_t reserved[3]; /* 4-6: reserved */
993 uint8_t alloclen[2]; /* 7-8: Allocation length */
994 uint8_t control; /* 9: Control */
1000 uint8_t opcode; /* 0: 0xa8 */
1001 uint8_t flags; /* 1: See SCSICMD_READ12FLAGS_* */
1002 uint8_t lba[4]; /* 2-5: Logical Block Address (LBA) */
1003 uint8_t xfrlen[4]; /* 6-9: Transfer length (in contiguous logical blocks) */
1004 uint8_t groupno; /* 10: Bit 7: restricted; Bits 5-6: reserved; Bits 0-6: group number */
1005 uint8_t control; /* 11: Control */
1011 uint8_t opcode; /* 0: 0xaa */
1012 uint8_t flags; /* 1: See SCSICMD_WRITE12FLAGS_* */
1013 uint8_t lba[4]; /* 2-5: Logical Block Address (LBA) */
1014 uint8_t xfrlen[4]; /* 6-9: Transfer length (in contiguous logical blocks) */
1015 uint8_t groupno; /* 10: Bit 7: restricted; Bits 5-6: reserved; Bits 0-6: group number */
1016 uint8_t control; /* 11: Control */
1022 uint8_t opcode; /* 0: 0xaf */
1023 uint8_t flags; /* 1: See SCSICMD_VERIFY12_* definitions */
1024 uint8_t lba[4]; /* 2-5: Logical block address (LBA) */
1025 uint8_t len[4]; /* 6-9: Verification length */
1026 uint8_t groupno; /* 10: Bit 7: restricted; Bits 5-6: Reserved, Bits 0-4: Group number */
1027 uint8_t control; /* 11: Control */