Lines Matching refs:Request
1159 copy_from_user(&arg64.Request, &arg32->Request, in cciss_ioctl32_passthru()
1160 sizeof(arg64.Request)); in cciss_ioctl32_passthru()
1200 copy_from_user(&arg64.Request, &arg32->Request, in cciss_ioctl32_big_passthru()
1201 sizeof(arg64.Request)); in cciss_ioctl32_big_passthru()
1431 (iocommand.Request.Type.Direction != XFER_NONE)) { in cciss_passthru()
1439 if (iocommand.Request.Type.Direction == XFER_WRITE) { in cciss_passthru()
1469 c->Request = iocommand.Request; in cciss_passthru()
1500 if (iocommand.Request.Type.Direction == XFER_READ) { in cciss_passthru()
1542 (ioc->Request.Type.Direction != XFER_NONE)) { in cciss_bigpassthru()
1575 if (ioc->Request.Type.Direction == XFER_WRITE) { in cciss_bigpassthru()
1599 c->Request = ioc->Request; in cciss_bigpassthru()
1627 if (ioc->Request.Type.Direction == XFER_READ) { in cciss_bigpassthru()
1774 if (c->Request.Type.Direction == XFER_READ) in cciss_softirq_done()
2497 c->Request.Type.Type = cmd_type; in fill_cmd()
2503 c->Request.CDB[1] = 0x01; in fill_cmd()
2504 c->Request.CDB[2] = page_code; in fill_cmd()
2506 c->Request.CDBLen = 6; in fill_cmd()
2507 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
2508 c->Request.Type.Direction = XFER_READ; in fill_cmd()
2509 c->Request.Timeout = 0; in fill_cmd()
2510 c->Request.CDB[0] = CISS_INQUIRY; in fill_cmd()
2511 c->Request.CDB[4] = size & 0xFF; in fill_cmd()
2518 c->Request.CDBLen = 12; in fill_cmd()
2519 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
2520 c->Request.Type.Direction = XFER_READ; in fill_cmd()
2521 c->Request.Timeout = 0; in fill_cmd()
2522 c->Request.CDB[0] = cmd; in fill_cmd()
2523 c->Request.CDB[6] = (size >> 24) & 0xFF; /* MSB */ in fill_cmd()
2524 c->Request.CDB[7] = (size >> 16) & 0xFF; in fill_cmd()
2525 c->Request.CDB[8] = (size >> 8) & 0xFF; in fill_cmd()
2526 c->Request.CDB[9] = size & 0xFF; in fill_cmd()
2530 c->Request.CDBLen = 10; in fill_cmd()
2531 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
2532 c->Request.Type.Direction = XFER_READ; in fill_cmd()
2533 c->Request.Timeout = 0; in fill_cmd()
2534 c->Request.CDB[0] = cmd; in fill_cmd()
2537 c->Request.CDBLen = 16; in fill_cmd()
2538 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
2539 c->Request.Type.Direction = XFER_READ; in fill_cmd()
2540 c->Request.Timeout = 0; in fill_cmd()
2541 c->Request.CDB[0] = cmd; in fill_cmd()
2542 c->Request.CDB[1] = 0x10; in fill_cmd()
2543 c->Request.CDB[10] = (size >> 24) & 0xFF; in fill_cmd()
2544 c->Request.CDB[11] = (size >> 16) & 0xFF; in fill_cmd()
2545 c->Request.CDB[12] = (size >> 8) & 0xFF; in fill_cmd()
2546 c->Request.CDB[13] = size & 0xFF; in fill_cmd()
2547 c->Request.Timeout = 0; in fill_cmd()
2548 c->Request.CDB[0] = cmd; in fill_cmd()
2551 c->Request.CDBLen = 12; in fill_cmd()
2552 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
2553 c->Request.Type.Direction = XFER_WRITE; in fill_cmd()
2554 c->Request.Timeout = 0; in fill_cmd()
2555 c->Request.CDB[0] = BMIC_WRITE; in fill_cmd()
2556 c->Request.CDB[6] = BMIC_CACHE_FLUSH; in fill_cmd()
2559 c->Request.CDBLen = 6; in fill_cmd()
2560 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
2561 c->Request.Type.Direction = XFER_NONE; in fill_cmd()
2562 c->Request.Timeout = 0; in fill_cmd()
2571 c->Request.CDBLen = 12; in fill_cmd()
2572 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
2573 c->Request.Type.Direction = XFER_WRITE; in fill_cmd()
2574 c->Request.Timeout = 0; in fill_cmd()
2575 c->Request.CDB[0] = cmd; /* abort */ in fill_cmd()
2576 c->Request.CDB[1] = 0; /* abort a command */ in fill_cmd()
2578 memcpy(&c->Request.CDB[4], buff, 8); in fill_cmd()
2581 c->Request.CDBLen = 16; in fill_cmd()
2582 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
2583 c->Request.Type.Direction = XFER_NONE; in fill_cmd()
2584 c->Request.Timeout = 0; in fill_cmd()
2585 memset(&c->Request.CDB[0], 0, sizeof(c->Request.CDB)); in fill_cmd()
2586 c->Request.CDB[0] = cmd; /* reset */ in fill_cmd()
2587 c->Request.CDB[1] = 0x03; /* reset a target */ in fill_cmd()
2590 c->Request.CDBLen = 1; in fill_cmd()
2591 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
2592 c->Request.Type.Direction = XFER_WRITE; in fill_cmd()
2593 c->Request.Timeout = 0; in fill_cmd()
2594 c->Request.CDB[0] = cmd; in fill_cmd()
2632 c->Request.CDB[0], c->err_info->SenseInfo[2]); in check_target_status()
2638 c->Request.CDB[0], c->err_info->ScsiStatus); in check_target_status()
2661 "reported invalid\n", c->Request.CDB[0]); in process_sendcmd_error()
2666 "protocol error\n", c->Request.CDB[0]); in process_sendcmd_error()
2671 " hardware error\n", c->Request.CDB[0]); in process_sendcmd_error()
2676 "connection lost\n", c->Request.CDB[0]); in process_sendcmd_error()
2681 "aborted\n", c->Request.CDB[0]); in process_sendcmd_error()
2686 "abort failed\n", c->Request.CDB[0]); in process_sendcmd_error()
2691 c->Request.CDB[0]); in process_sendcmd_error()
2700 "unknown status %x\n", c->Request.CDB[0], in process_sendcmd_error()
2728 c->Request.CDB[0]); in sendcmd_withirq_core()
3253 c->Request.CDBLen = 10; /* 12 byte commands not in FW yet; */ in do_cciss_request()
3254 c->Request.Type.Type = TYPE_CMD; /* It is a command. */ in do_cciss_request()
3255 c->Request.Type.Attribute = ATTR_SIMPLE; in do_cciss_request()
3256 c->Request.Type.Direction = in do_cciss_request()
3258 c->Request.Timeout = 0; /* Don't time out */ in do_cciss_request()
3259 c->Request.CDB[0] = in do_cciss_request()
3268 if (c->Request.Type.Direction == XFER_READ) in do_cciss_request()
3316 c->Request.CDB[1] = 0; in do_cciss_request()
3317 c->Request.CDB[2] = (start_blk >> 24) & 0xff; /* MSB */ in do_cciss_request()
3318 c->Request.CDB[3] = (start_blk >> 16) & 0xff; in do_cciss_request()
3319 c->Request.CDB[4] = (start_blk >> 8) & 0xff; in do_cciss_request()
3320 c->Request.CDB[5] = start_blk & 0xff; in do_cciss_request()
3321 c->Request.CDB[6] = 0; /* (sect >> 24) & 0xff; MSB */ in do_cciss_request()
3322 c->Request.CDB[7] = (blk_rq_sectors(creq) >> 8) & 0xff; in do_cciss_request()
3323 c->Request.CDB[8] = blk_rq_sectors(creq) & 0xff; in do_cciss_request()
3324 c->Request.CDB[9] = c->Request.CDB[11] = c->Request.CDB[12] = 0; in do_cciss_request()
3328 c->Request.CDBLen = 16; in do_cciss_request()
3329 c->Request.CDB[1]= 0; in do_cciss_request()
3330 c->Request.CDB[2]= (upper32 >> 24) & 0xff; /* MSB */ in do_cciss_request()
3331 c->Request.CDB[3]= (upper32 >> 16) & 0xff; in do_cciss_request()
3332 c->Request.CDB[4]= (upper32 >> 8) & 0xff; in do_cciss_request()
3333 c->Request.CDB[5]= upper32 & 0xff; in do_cciss_request()
3334 c->Request.CDB[6]= (start_blk >> 24) & 0xff; in do_cciss_request()
3335 c->Request.CDB[7]= (start_blk >> 16) & 0xff; in do_cciss_request()
3336 c->Request.CDB[8]= (start_blk >> 8) & 0xff; in do_cciss_request()
3337 c->Request.CDB[9]= start_blk & 0xff; in do_cciss_request()
3338 c->Request.CDB[10]= (blk_rq_sectors(creq) >> 24) & 0xff; in do_cciss_request()
3339 c->Request.CDB[11]= (blk_rq_sectors(creq) >> 16) & 0xff; in do_cciss_request()
3340 c->Request.CDB[12]= (blk_rq_sectors(creq) >> 8) & 0xff; in do_cciss_request()
3341 c->Request.CDB[13]= blk_rq_sectors(creq) & 0xff; in do_cciss_request()
3342 c->Request.CDB[14] = c->Request.CDB[15] = 0; in do_cciss_request()
3345 c->Request.CDBLen = creq->cmd_len; in do_cciss_request()
3346 memcpy(c->Request.CDB, creq->cmd, BLK_MAX_CDB); in do_cciss_request()
4291 RequestBlock_struct Request; in cciss_message() member
4332 cmd->Request.CDBLen = 16; in cciss_message()
4333 cmd->Request.Type.Type = TYPE_MSG; in cciss_message()
4334 cmd->Request.Type.Attribute = ATTR_HEADOFQUEUE; in cciss_message()
4335 cmd->Request.Type.Direction = XFER_NONE; in cciss_message()
4336 cmd->Request.Timeout = 0; /* Don't time out */ in cciss_message()
4337 cmd->Request.CDB[0] = opcode; in cciss_message()
4338 cmd->Request.CDB[1] = type; in cciss_message()
4339 memset(&cmd->Request.CDB[2], 0, 14); /* the rest of the CDB is reserved */ in cciss_message()