Lines Matching refs:CDB
2560 c->Request.CDB[1] = 0x01; in fill_cmd()
2561 c->Request.CDB[2] = page_code; in fill_cmd()
2567 c->Request.CDB[0] = CISS_INQUIRY; in fill_cmd()
2568 c->Request.CDB[4] = size & 0xFF; in fill_cmd()
2579 c->Request.CDB[0] = cmd; in fill_cmd()
2580 c->Request.CDB[6] = (size >> 24) & 0xFF; /* MSB */ in fill_cmd()
2581 c->Request.CDB[7] = (size >> 16) & 0xFF; in fill_cmd()
2582 c->Request.CDB[8] = (size >> 8) & 0xFF; in fill_cmd()
2583 c->Request.CDB[9] = size & 0xFF; in fill_cmd()
2591 c->Request.CDB[0] = cmd; in fill_cmd()
2598 c->Request.CDB[0] = cmd; in fill_cmd()
2599 c->Request.CDB[1] = 0x10; in fill_cmd()
2600 c->Request.CDB[10] = (size >> 24) & 0xFF; in fill_cmd()
2601 c->Request.CDB[11] = (size >> 16) & 0xFF; in fill_cmd()
2602 c->Request.CDB[12] = (size >> 8) & 0xFF; in fill_cmd()
2603 c->Request.CDB[13] = size & 0xFF; in fill_cmd()
2605 c->Request.CDB[0] = cmd; in fill_cmd()
2612 c->Request.CDB[0] = BMIC_WRITE; in fill_cmd()
2613 c->Request.CDB[6] = BMIC_CACHE_FLUSH; in fill_cmd()
2614 c->Request.CDB[7] = (size >> 8) & 0xFF; in fill_cmd()
2615 c->Request.CDB[8] = size & 0xFF; in fill_cmd()
2634 c->Request.CDB[0] = cmd; /* abort */ in fill_cmd()
2635 c->Request.CDB[1] = 0; /* abort a command */ in fill_cmd()
2637 memcpy(&c->Request.CDB[4], buff, 8); in fill_cmd()
2644 memset(&c->Request.CDB[0], 0, sizeof(c->Request.CDB)); in fill_cmd()
2645 c->Request.CDB[0] = cmd; /* reset */ in fill_cmd()
2646 c->Request.CDB[1] = CCISS_RESET_TYPE_TARGET; in fill_cmd()
2653 c->Request.CDB[0] = cmd; in fill_cmd()
2688 c->Request.CDB[1] = reset_type; /* fill_cmd defaults to target reset */ in cciss_send_reset()
2716 c->Request.CDB[0], c->err_info->SenseInfo[2]); in check_target_status()
2722 c->Request.CDB[0], c->err_info->ScsiStatus); in check_target_status()
2745 "reported invalid\n", c->Request.CDB[0]); in process_sendcmd_error()
2750 "protocol error\n", c->Request.CDB[0]); in process_sendcmd_error()
2755 " hardware error\n", c->Request.CDB[0]); in process_sendcmd_error()
2760 "connection lost\n", c->Request.CDB[0]); in process_sendcmd_error()
2765 "aborted\n", c->Request.CDB[0]); in process_sendcmd_error()
2770 "abort failed\n", c->Request.CDB[0]); in process_sendcmd_error()
2775 c->Request.CDB[0]); in process_sendcmd_error()
2784 "unknown status %x\n", c->Request.CDB[0], in process_sendcmd_error()
2812 c->Request.CDB[0]); in sendcmd_withirq_core()
3343 c->Request.CDB[0] = in do_cciss_request()
3400 c->Request.CDB[1] = 0; in do_cciss_request()
3401 c->Request.CDB[2] = (start_blk >> 24) & 0xff; /* MSB */ in do_cciss_request()
3402 c->Request.CDB[3] = (start_blk >> 16) & 0xff; in do_cciss_request()
3403 c->Request.CDB[4] = (start_blk >> 8) & 0xff; in do_cciss_request()
3404 c->Request.CDB[5] = start_blk & 0xff; in do_cciss_request()
3405 c->Request.CDB[6] = 0; /* (sect >> 24) & 0xff; MSB */ in do_cciss_request()
3406 c->Request.CDB[7] = (blk_rq_sectors(creq) >> 8) & 0xff; in do_cciss_request()
3407 c->Request.CDB[8] = blk_rq_sectors(creq) & 0xff; in do_cciss_request()
3408 c->Request.CDB[9] = c->Request.CDB[11] = c->Request.CDB[12] = 0; in do_cciss_request()
3413 c->Request.CDB[1]= 0; in do_cciss_request()
3414 c->Request.CDB[2]= (upper32 >> 24) & 0xff; /* MSB */ in do_cciss_request()
3415 c->Request.CDB[3]= (upper32 >> 16) & 0xff; in do_cciss_request()
3416 c->Request.CDB[4]= (upper32 >> 8) & 0xff; in do_cciss_request()
3417 c->Request.CDB[5]= upper32 & 0xff; in do_cciss_request()
3418 c->Request.CDB[6]= (start_blk >> 24) & 0xff; in do_cciss_request()
3419 c->Request.CDB[7]= (start_blk >> 16) & 0xff; in do_cciss_request()
3420 c->Request.CDB[8]= (start_blk >> 8) & 0xff; in do_cciss_request()
3421 c->Request.CDB[9]= start_blk & 0xff; in do_cciss_request()
3422 c->Request.CDB[10]= (blk_rq_sectors(creq) >> 24) & 0xff; in do_cciss_request()
3423 c->Request.CDB[11]= (blk_rq_sectors(creq) >> 16) & 0xff; in do_cciss_request()
3424 c->Request.CDB[12]= (blk_rq_sectors(creq) >> 8) & 0xff; in do_cciss_request()
3425 c->Request.CDB[13]= blk_rq_sectors(creq) & 0xff; in do_cciss_request()
3426 c->Request.CDB[14] = c->Request.CDB[15] = 0; in do_cciss_request()
3430 memcpy(c->Request.CDB, creq->cmd, BLK_MAX_CDB); in do_cciss_request()
4493 cmd->Request.CDB[0] = opcode; in cciss_message()
4494 cmd->Request.CDB[1] = type; in cciss_message()
4495 memset(&cmd->Request.CDB[2], 0, 14); /* the rest of the CDB is reserved */ in cciss_message()