Lines Matching refs:request_buffer
1455 unsigned char request_buffer[36]; in tw_scsiop_inquiry_complete() local
1460 memset(request_buffer, 0, sizeof(request_buffer)); in tw_scsiop_inquiry_complete()
1461 request_buffer[0] = TYPE_DISK; /* Peripheral device type */ in tw_scsiop_inquiry_complete()
1462 request_buffer[1] = 0; /* Device type modifier */ in tw_scsiop_inquiry_complete()
1463 request_buffer[2] = 0; /* No ansi/iso compliance */ in tw_scsiop_inquiry_complete()
1464 request_buffer[4] = 31; /* Additional length */ in tw_scsiop_inquiry_complete()
1465 memcpy(&request_buffer[8], "3ware ", 8); /* Vendor ID */ in tw_scsiop_inquiry_complete()
1466 sprintf(&request_buffer[16], "Logical Disk %-2d ", tw_dev->srb[request_id]->device->id); in tw_scsiop_inquiry_complete()
1467 memcpy(&request_buffer[32], TW_DRIVER_VERSION, 3); in tw_scsiop_inquiry_complete()
1468 tw_transfer_internal(tw_dev, request_id, request_buffer, in tw_scsiop_inquiry_complete()
1469 sizeof(request_buffer)); in tw_scsiop_inquiry_complete()
1560 unsigned char request_buffer[8]; in tw_scsiop_mode_sense_complete() local
1570 memset(request_buffer, 0, sizeof(request_buffer)); in tw_scsiop_mode_sense_complete()
1572 request_buffer[0] = 0xf; /* mode data length */ in tw_scsiop_mode_sense_complete()
1573 request_buffer[1] = 0; /* default medium type */ in tw_scsiop_mode_sense_complete()
1574 request_buffer[2] = 0x10; /* dpo/fua support on */ in tw_scsiop_mode_sense_complete()
1575 request_buffer[3] = 0; /* no block descriptors */ in tw_scsiop_mode_sense_complete()
1576 request_buffer[4] = 0x8; /* caching page */ in tw_scsiop_mode_sense_complete()
1577 request_buffer[5] = 0xa; /* page length */ in tw_scsiop_mode_sense_complete()
1579 request_buffer[6] = 0x5; /* WCE on, RCD on */ in tw_scsiop_mode_sense_complete()
1581 request_buffer[6] = 0x1; /* WCE off, RCD on */ in tw_scsiop_mode_sense_complete()
1582 tw_transfer_internal(tw_dev, request_id, request_buffer, in tw_scsiop_mode_sense_complete()
1583 sizeof(request_buffer)); in tw_scsiop_mode_sense_complete()
1779 char request_buffer[18]; in tw_scsiop_request_sense() local
1783 memset(request_buffer, 0, sizeof(request_buffer)); in tw_scsiop_request_sense()
1784 request_buffer[0] = 0x70; /* Immediate fixed format */ in tw_scsiop_request_sense()
1785 request_buffer[7] = 10; /* minimum size per SPC: 18 bytes */ in tw_scsiop_request_sense()
1787 tw_transfer_internal(tw_dev, request_id, request_buffer, in tw_scsiop_request_sense()
1788 sizeof(request_buffer)); in tw_scsiop_request_sense()