Lines Matching refs:cmnd
398 pc = srb->cmnd[2] >> 6; in jumpshot_handle_mode_sense()
399 page_code = srb->cmnd[2] & 0x3F; in jumpshot_handle_mode_sense()
505 if (srb->cmnd[0] == INQUIRY) { in jumpshot_transport()
512 if (srb->cmnd[0] == READ_CAPACITY) { in jumpshot_transport()
535 if (srb->cmnd[0] == MODE_SELECT_10) { in jumpshot_transport()
540 if (srb->cmnd[0] == READ_10) { in jumpshot_transport()
541 block = ((u32)(srb->cmnd[2]) << 24) | ((u32)(srb->cmnd[3]) << 16) | in jumpshot_transport()
542 ((u32)(srb->cmnd[4]) << 8) | ((u32)(srb->cmnd[5])); in jumpshot_transport()
544 blocks = ((u32)(srb->cmnd[7]) << 8) | ((u32)(srb->cmnd[8])); in jumpshot_transport()
551 if (srb->cmnd[0] == READ_12) { in jumpshot_transport()
554 block = ((u32)(srb->cmnd[2]) << 24) | ((u32)(srb->cmnd[3]) << 16) | in jumpshot_transport()
555 ((u32)(srb->cmnd[4]) << 8) | ((u32)(srb->cmnd[5])); in jumpshot_transport()
557 blocks = ((u32)(srb->cmnd[6]) << 24) | ((u32)(srb->cmnd[7]) << 16) | in jumpshot_transport()
558 ((u32)(srb->cmnd[8]) << 8) | ((u32)(srb->cmnd[9])); in jumpshot_transport()
565 if (srb->cmnd[0] == WRITE_10) { in jumpshot_transport()
566 block = ((u32)(srb->cmnd[2]) << 24) | ((u32)(srb->cmnd[3]) << 16) | in jumpshot_transport()
567 ((u32)(srb->cmnd[4]) << 8) | ((u32)(srb->cmnd[5])); in jumpshot_transport()
569 blocks = ((u32)(srb->cmnd[7]) << 8) | ((u32)(srb->cmnd[8])); in jumpshot_transport()
576 if (srb->cmnd[0] == WRITE_12) { in jumpshot_transport()
579 block = ((u32)(srb->cmnd[2]) << 24) | ((u32)(srb->cmnd[3]) << 16) | in jumpshot_transport()
580 ((u32)(srb->cmnd[4]) << 8) | ((u32)(srb->cmnd[5])); in jumpshot_transport()
582 blocks = ((u32)(srb->cmnd[6]) << 24) | ((u32)(srb->cmnd[7]) << 16) | in jumpshot_transport()
583 ((u32)(srb->cmnd[8]) << 8) | ((u32)(srb->cmnd[9])); in jumpshot_transport()
591 if (srb->cmnd[0] == TEST_UNIT_READY) { in jumpshot_transport()
596 if (srb->cmnd[0] == REQUEST_SENSE) { in jumpshot_transport()
610 if (srb->cmnd[0] == MODE_SENSE) { in jumpshot_transport()
615 if (srb->cmnd[0] == MODE_SENSE_10) { in jumpshot_transport()
620 if (srb->cmnd[0] == ALLOW_MEDIUM_REMOVAL) { in jumpshot_transport()
627 if (srb->cmnd[0] == START_STOP) { in jumpshot_transport()
645 srb->cmnd[0], srb->cmnd[0]); in jumpshot_transport()