Lines Matching refs:request_buffer

1461 	unsigned char request_buffer[36];  in tw_scsiop_inquiry_complete()  local
1466 memset(request_buffer, 0, sizeof(request_buffer)); in tw_scsiop_inquiry_complete()
1467 request_buffer[0] = TYPE_DISK; /* Peripheral device type */ in tw_scsiop_inquiry_complete()
1468 request_buffer[1] = 0; /* Device type modifier */ in tw_scsiop_inquiry_complete()
1469 request_buffer[2] = 0; /* No ansi/iso compliance */ in tw_scsiop_inquiry_complete()
1470 request_buffer[4] = 31; /* Additional length */ in tw_scsiop_inquiry_complete()
1471 memcpy(&request_buffer[8], "3ware ", 8); /* Vendor ID */ in tw_scsiop_inquiry_complete()
1472 sprintf(&request_buffer[16], "Logical Disk %-2d ", tw_dev->srb[request_id]->device->id); in tw_scsiop_inquiry_complete()
1473 memcpy(&request_buffer[32], TW_DRIVER_VERSION, 3); in tw_scsiop_inquiry_complete()
1474 tw_transfer_internal(tw_dev, request_id, request_buffer, in tw_scsiop_inquiry_complete()
1475 sizeof(request_buffer)); in tw_scsiop_inquiry_complete()
1566 unsigned char request_buffer[8]; in tw_scsiop_mode_sense_complete() local
1576 memset(request_buffer, 0, sizeof(request_buffer)); in tw_scsiop_mode_sense_complete()
1578 request_buffer[0] = 0xf; /* mode data length */ in tw_scsiop_mode_sense_complete()
1579 request_buffer[1] = 0; /* default medium type */ in tw_scsiop_mode_sense_complete()
1580 request_buffer[2] = 0x10; /* dpo/fua support on */ in tw_scsiop_mode_sense_complete()
1581 request_buffer[3] = 0; /* no block descriptors */ in tw_scsiop_mode_sense_complete()
1582 request_buffer[4] = 0x8; /* caching page */ in tw_scsiop_mode_sense_complete()
1583 request_buffer[5] = 0xa; /* page length */ in tw_scsiop_mode_sense_complete()
1585 request_buffer[6] = 0x5; /* WCE on, RCD on */ in tw_scsiop_mode_sense_complete()
1587 request_buffer[6] = 0x1; /* WCE off, RCD on */ in tw_scsiop_mode_sense_complete()
1588 tw_transfer_internal(tw_dev, request_id, request_buffer, in tw_scsiop_mode_sense_complete()
1589 sizeof(request_buffer)); in tw_scsiop_mode_sense_complete()
1785 char request_buffer[18]; in tw_scsiop_request_sense() local
1789 memset(request_buffer, 0, sizeof(request_buffer)); in tw_scsiop_request_sense()
1790 request_buffer[0] = 0x70; /* Immediate fixed format */ in tw_scsiop_request_sense()
1791 request_buffer[7] = 10; /* minimum size per SPC: 18 bytes */ in tw_scsiop_request_sense()
1793 tw_transfer_internal(tw_dev, request_id, request_buffer, in tw_scsiop_request_sense()
1794 sizeof(request_buffer)); in tw_scsiop_request_sense()