Lines Matching refs:cmnd

562 		param_len = srb->cmnd[4];  in datafab_handle_mode_sense()
564 param_len = ((u16) (srb->cmnd[7]) >> 8) | ((u16) (srb->cmnd[8])); in datafab_handle_mode_sense()
566 pc = srb->cmnd[2] >> 6; in datafab_handle_mode_sense()
567 page_code = srb->cmnd[2] & 0x3F; in datafab_handle_mode_sense()
690 if (srb->cmnd[0] == INQUIRY) { in datafab_transport()
697 if (srb->cmnd[0] == READ_CAPACITY) { in datafab_transport()
725 if (srb->cmnd[0] == MODE_SELECT_10) { in datafab_transport()
733 if (srb->cmnd[0] == READ_10) { in datafab_transport()
734 block = ((u32)(srb->cmnd[2]) << 24) | ((u32)(srb->cmnd[3]) << 16) | in datafab_transport()
735 ((u32)(srb->cmnd[4]) << 8) | ((u32)(srb->cmnd[5])); in datafab_transport()
737 blocks = ((u32)(srb->cmnd[7]) << 8) | ((u32)(srb->cmnd[8])); in datafab_transport()
743 if (srb->cmnd[0] == READ_12) { in datafab_transport()
746 block = ((u32)(srb->cmnd[2]) << 24) | ((u32)(srb->cmnd[3]) << 16) | in datafab_transport()
747 ((u32)(srb->cmnd[4]) << 8) | ((u32)(srb->cmnd[5])); in datafab_transport()
749 blocks = ((u32)(srb->cmnd[6]) << 24) | ((u32)(srb->cmnd[7]) << 16) | in datafab_transport()
750 ((u32)(srb->cmnd[8]) << 8) | ((u32)(srb->cmnd[9])); in datafab_transport()
756 if (srb->cmnd[0] == WRITE_10) { in datafab_transport()
757 block = ((u32)(srb->cmnd[2]) << 24) | ((u32)(srb->cmnd[3]) << 16) | in datafab_transport()
758 ((u32)(srb->cmnd[4]) << 8) | ((u32)(srb->cmnd[5])); in datafab_transport()
760 blocks = ((u32)(srb->cmnd[7]) << 8) | ((u32)(srb->cmnd[8])); in datafab_transport()
766 if (srb->cmnd[0] == WRITE_12) { in datafab_transport()
769 block = ((u32)(srb->cmnd[2]) << 24) | ((u32)(srb->cmnd[3]) << 16) | in datafab_transport()
770 ((u32)(srb->cmnd[4]) << 8) | ((u32)(srb->cmnd[5])); in datafab_transport()
772 blocks = ((u32)(srb->cmnd[6]) << 24) | ((u32)(srb->cmnd[7]) << 16) | in datafab_transport()
773 ((u32)(srb->cmnd[8]) << 8) | ((u32)(srb->cmnd[9])); in datafab_transport()
779 if (srb->cmnd[0] == TEST_UNIT_READY) { in datafab_transport()
784 if (srb->cmnd[0] == REQUEST_SENSE) { in datafab_transport()
800 if (srb->cmnd[0] == MODE_SENSE) { in datafab_transport()
805 if (srb->cmnd[0] == MODE_SENSE_10) { in datafab_transport()
810 if (srb->cmnd[0] == ALLOW_MEDIUM_REMOVAL) { in datafab_transport()
817 if (srb->cmnd[0] == START_STOP) { in datafab_transport()
834 US_DEBUGP("datafab_transport: Gah! Unknown command: %d (0x%x)\n", srb->cmnd[0], srb->cmnd[0]); in datafab_transport()