Lines Matching refs:cmnd

387 	pc = srb->cmnd[2] >> 6;  in jumpshot_handle_mode_sense()
388 page_code = srb->cmnd[2] & 0x3F; in jumpshot_handle_mode_sense()
494 if (srb->cmnd[0] == INQUIRY) { in jumpshot_transport()
501 if (srb->cmnd[0] == READ_CAPACITY) { in jumpshot_transport()
524 if (srb->cmnd[0] == MODE_SELECT_10) { in jumpshot_transport()
529 if (srb->cmnd[0] == READ_10) { in jumpshot_transport()
530 block = ((u32)(srb->cmnd[2]) << 24) | ((u32)(srb->cmnd[3]) << 16) | in jumpshot_transport()
531 ((u32)(srb->cmnd[4]) << 8) | ((u32)(srb->cmnd[5])); in jumpshot_transport()
533 blocks = ((u32)(srb->cmnd[7]) << 8) | ((u32)(srb->cmnd[8])); in jumpshot_transport()
540 if (srb->cmnd[0] == READ_12) { in jumpshot_transport()
543 block = ((u32)(srb->cmnd[2]) << 24) | ((u32)(srb->cmnd[3]) << 16) | in jumpshot_transport()
544 ((u32)(srb->cmnd[4]) << 8) | ((u32)(srb->cmnd[5])); in jumpshot_transport()
546 blocks = ((u32)(srb->cmnd[6]) << 24) | ((u32)(srb->cmnd[7]) << 16) | in jumpshot_transport()
547 ((u32)(srb->cmnd[8]) << 8) | ((u32)(srb->cmnd[9])); in jumpshot_transport()
554 if (srb->cmnd[0] == WRITE_10) { in jumpshot_transport()
555 block = ((u32)(srb->cmnd[2]) << 24) | ((u32)(srb->cmnd[3]) << 16) | in jumpshot_transport()
556 ((u32)(srb->cmnd[4]) << 8) | ((u32)(srb->cmnd[5])); in jumpshot_transport()
558 blocks = ((u32)(srb->cmnd[7]) << 8) | ((u32)(srb->cmnd[8])); in jumpshot_transport()
565 if (srb->cmnd[0] == WRITE_12) { in jumpshot_transport()
568 block = ((u32)(srb->cmnd[2]) << 24) | ((u32)(srb->cmnd[3]) << 16) | in jumpshot_transport()
569 ((u32)(srb->cmnd[4]) << 8) | ((u32)(srb->cmnd[5])); in jumpshot_transport()
571 blocks = ((u32)(srb->cmnd[6]) << 24) | ((u32)(srb->cmnd[7]) << 16) | in jumpshot_transport()
572 ((u32)(srb->cmnd[8]) << 8) | ((u32)(srb->cmnd[9])); in jumpshot_transport()
580 if (srb->cmnd[0] == TEST_UNIT_READY) { in jumpshot_transport()
585 if (srb->cmnd[0] == REQUEST_SENSE) { in jumpshot_transport()
599 if (srb->cmnd[0] == MODE_SENSE) { in jumpshot_transport()
604 if (srb->cmnd[0] == MODE_SENSE_10) { in jumpshot_transport()
609 if (srb->cmnd[0] == ALLOW_MEDIUM_REMOVAL) { in jumpshot_transport()
617 if (srb->cmnd[0] == START_STOP) { in jumpshot_transport()
639 srb->cmnd[0], srb->cmnd[0]); in jumpshot_transport()