Lines Matching refs:cmdblk
1735 unsigned char cmdblk[CDB_GROUP0];
1740 (void) memset(&cmdblk[0], 0, CDB_GROUP0);
1741 cmdblk[0] = SCMD_INQUIRY;
1744 cmdblk[1] |= 0x01;
1746 cmdblk[1] |= 0x02;
1748 cmdblk[2] = pageCode;
1755 cmdblk[3] = (buflen & 0xff00) >> 8;
1756 cmdblk[4] = (buflen & 0x00ff);
1786 uscsi.iu_ucmd.uscsi_cdb = (char *)&cmdblk[0];
1826 unsigned char cmdblk[CDB_GROUP4];
1831 (void) memset(&cmdblk[0], 0, CDB_GROUP4);
1835 cmdblk[0] = SCMD_READ_CAPACITY;
1843 cmdblk[0] = SCMD_SVC_ACTION_IN_G4;
1844 cmdblk[1] = SSVC_ACTION_READ_CAPACITY_G4;
1851 cmdblk[10] = (buflen & 0xff000000) >> 24;
1852 cmdblk[11] = (buflen & 0x00ff0000) >> 16;
1853 cmdblk[12] = (buflen & 0x0000ff00) >> 8;
1854 cmdblk[13] = (buflen & 0x000000ff);
1888 uscsi.iu_ucmd.uscsi_cdb = (char *)&cmdblk[0];
1929 unsigned char cmdblk[CDB_GROUP5];
1934 (void) memset(&cmdblk[0], 0, CDB_GROUP5);
1935 cmdblk[0] = SCMD_REPORT_LUNS;
1936 cmdblk[2] = selectReport;
1943 cmdblk[6] = (buflen & 0xff000000) >> 24;
1944 cmdblk[7] = (buflen & 0x00ff0000) >> 16;
1945 cmdblk[8] = (buflen & 0x0000ff00) >> 8;
1946 cmdblk[9] = (buflen & 0x000000ff);
1980 uscsi.iu_ucmd.uscsi_cdb = (char *)&cmdblk[0];