Lines Matching refs:cmnd
1594 if (srb->cmnd[0] == REQUEST_SENSE && havefakesense) { in sddr09_transport()
1612 if (srb->cmnd[0] == INQUIRY) { in sddr09_transport()
1618 if (srb->cmnd[0] == READ_CAPACITY) { in sddr09_transport()
1656 if (srb->cmnd[0] == MODE_SENSE) { in sddr09_transport()
1661 if ( (srb->cmnd[2] & 0x3F) == 0x01 ) { in sddr09_transport()
1675 } else if ( (srb->cmnd[2] & 0x3F) == 0x3F ) { in sddr09_transport()
1692 if (srb->cmnd[0] == ALLOW_MEDIUM_REMOVAL) { in sddr09_transport()
1697 (srb->cmnd[4]&0x03) ? "Prevent" : "Allow"); in sddr09_transport()
1705 if (srb->cmnd[0] == READ_10) { in sddr09_transport()
1707 page = short_pack(srb->cmnd[3], srb->cmnd[2]); in sddr09_transport()
1709 page |= short_pack(srb->cmnd[5], srb->cmnd[4]); in sddr09_transport()
1710 pages = short_pack(srb->cmnd[8], srb->cmnd[7]); in sddr09_transport()
1718 if (srb->cmnd[0] == WRITE_10) { in sddr09_transport()
1720 page = short_pack(srb->cmnd[3], srb->cmnd[2]); in sddr09_transport()
1722 page |= short_pack(srb->cmnd[5], srb->cmnd[4]); in sddr09_transport()
1723 pages = short_pack(srb->cmnd[8], srb->cmnd[7]); in sddr09_transport()
1733 if (srb->cmnd[0] != TEST_UNIT_READY && in sddr09_transport()
1734 srb->cmnd[0] != REQUEST_SENSE) { in sddr09_transport()
1740 srb->cmnd[srb->cmd_len] = 0; in sddr09_transport()
1742 srb->cmnd[1] = 0x20; in sddr09_transport()
1746 sprintf(string+strlen(string), "%02X ", srb->cmnd[i]); in sddr09_transport()
1751 result = sddr09_send_scsi_command(us, srb->cmnd, 12); in sddr09_transport()