Lines Matching refs:cmnd
1561 if (srb->cmnd[0] == REQUEST_SENSE && havefakesense) { in sddr09_transport()
1580 if (srb->cmnd[0] == INQUIRY) { in sddr09_transport()
1586 if (srb->cmnd[0] == READ_CAPACITY) { in sddr09_transport()
1627 if (srb->cmnd[0] == MODE_SENSE_10) { in sddr09_transport()
1628 int modepage = (srb->cmnd[2] & 0x3F); in sddr09_transport()
1651 if (srb->cmnd[0] == ALLOW_MEDIUM_REMOVAL) in sddr09_transport()
1656 if (srb->cmnd[0] == READ_10) { in sddr09_transport()
1658 page = short_pack(srb->cmnd[3], srb->cmnd[2]); in sddr09_transport()
1660 page |= short_pack(srb->cmnd[5], srb->cmnd[4]); in sddr09_transport()
1661 pages = short_pack(srb->cmnd[8], srb->cmnd[7]); in sddr09_transport()
1671 if (srb->cmnd[0] == WRITE_10) { in sddr09_transport()
1673 page = short_pack(srb->cmnd[3], srb->cmnd[2]); in sddr09_transport()
1675 page |= short_pack(srb->cmnd[5], srb->cmnd[4]); in sddr09_transport()
1676 pages = short_pack(srb->cmnd[8], srb->cmnd[7]); in sddr09_transport()
1690 if (srb->cmnd[0] != TEST_UNIT_READY && in sddr09_transport()
1691 srb->cmnd[0] != REQUEST_SENSE) { in sddr09_transport()
1699 srb->cmnd[srb->cmd_len] = 0; in sddr09_transport()
1701 srb->cmnd[1] = LUNBITS; in sddr09_transport()
1705 sprintf(ptr+strlen(ptr), "%02X ", srb->cmnd[i]); in sddr09_transport()
1709 result = sddr09_send_scsi_command(us, srb->cmnd, 12); in sddr09_transport()