• Home
  • Raw
  • Download

Lines Matching refs:Request

816 	if (!is_firmware_flash_cmd(c->Request.CDB))  in dial_down_lockup_detection_during_fw_flash()
825 if (is_firmware_flash_cmd(c->Request.CDB) && in dial_up_lockup_detection_on_fw_flash_complete()
1734 cp->Request.CDBLen = c->io_flags & IOACCEL1_IOFLAGS_CDBLEN_MASK; in complete_scsi_command()
1738 memcpy(cp->Request.CDB, c->CDB, cp->Request.CDBLen); in complete_scsi_command()
1775 if (cp->Request.CDB[0] == REPORT_LUNS) in complete_scsi_command()
2035 const u8 *cdb = c->Request.CDB; in hpsa_print_cmd()
2192 c->Request.CDB[1] = reset_type; /* fill_cmd defaults to LUN reset */ in hpsa_send_reset()
2463 c->Request.CDB[1] = extended_response; in hpsa_scsi_do_report_luns()
4034 c->Request.Timeout = 0; in hpsa_scsi_queue_command_lck()
4035 memset(c->Request.CDB, 0, sizeof(c->Request.CDB)); in hpsa_scsi_queue_command_lck()
4036 BUG_ON(cmd->cmd_len > sizeof(c->Request.CDB)); in hpsa_scsi_queue_command_lck()
4037 c->Request.CDBLen = cmd->cmd_len; in hpsa_scsi_queue_command_lck()
4038 memcpy(c->Request.CDB, cmd->cmnd, cmd->cmd_len); in hpsa_scsi_queue_command_lck()
4039 c->Request.Type.Type = TYPE_CMD; in hpsa_scsi_queue_command_lck()
4040 c->Request.Type.Attribute = ATTR_SIMPLE; in hpsa_scsi_queue_command_lck()
4043 c->Request.Type.Direction = XFER_WRITE; in hpsa_scsi_queue_command_lck()
4046 c->Request.Type.Direction = XFER_READ; in hpsa_scsi_queue_command_lck()
4049 c->Request.Type.Direction = XFER_NONE; in hpsa_scsi_queue_command_lck()
4057 c->Request.Type.Direction = XFER_RSVD; in hpsa_scsi_queue_command_lck()
4367 swizzle_abort_tag(&c->Request.CDB[4]); in hpsa_send_abort()
4546 memcpy(swizzled_tag, &abort->Request.CDB[4], 8); in hpsa_send_abort_both_ways()
4801 err |= copy_from_user(&arg64.Request, &arg32->Request, in hpsa_ioctl32_passthru()
4802 sizeof(arg64.Request)); in hpsa_ioctl32_passthru()
4838 err |= copy_from_user(&arg64.Request, &arg32->Request, in hpsa_ioctl32_big_passthru()
4839 sizeof(arg64.Request)); in hpsa_ioctl32_big_passthru()
4945 (iocommand.Request.Type.Direction != XFER_NONE)) { in hpsa_passthru_ioctl()
4952 if (iocommand.Request.Type.Direction & XFER_WRITE) { in hpsa_passthru_ioctl()
4984 memcpy(&c->Request, &iocommand.Request, in hpsa_passthru_ioctl()
4985 sizeof(c->Request)); in hpsa_passthru_ioctl()
5015 if ((iocommand.Request.Type.Direction & XFER_READ) && in hpsa_passthru_ioctl()
5059 (ioc->Request.Type.Direction != XFER_NONE)) { in hpsa_big_passthru_ioctl()
5092 if (ioc->Request.Type.Direction & XFER_WRITE) { in hpsa_big_passthru_ioctl()
5113 memcpy(&c->Request, &ioc->Request, sizeof(c->Request)); in hpsa_big_passthru_ioctl()
5144 if ((ioc->Request.Type.Direction & XFER_READ) && ioc->buf_size > 0) { in hpsa_big_passthru_ioctl()
5255 c->Request.CDB[1] = reset_type; /* fill_cmd defaults to target reset */ in hpsa_send_host_reset()
5284 c->Request.Type.Type = cmd_type; in fill_cmd()
5290 c->Request.CDB[1] = 0x01; in fill_cmd()
5291 c->Request.CDB[2] = (page_code & 0xff); in fill_cmd()
5293 c->Request.CDBLen = 6; in fill_cmd()
5294 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
5295 c->Request.Type.Direction = XFER_READ; in fill_cmd()
5296 c->Request.Timeout = 0; in fill_cmd()
5297 c->Request.CDB[0] = HPSA_INQUIRY; in fill_cmd()
5298 c->Request.CDB[4] = size & 0xFF; in fill_cmd()
5305 c->Request.CDBLen = 12; in fill_cmd()
5306 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
5307 c->Request.Type.Direction = XFER_READ; in fill_cmd()
5308 c->Request.Timeout = 0; in fill_cmd()
5309 c->Request.CDB[0] = cmd; in fill_cmd()
5310 c->Request.CDB[6] = (size >> 24) & 0xFF; /* MSB */ in fill_cmd()
5311 c->Request.CDB[7] = (size >> 16) & 0xFF; in fill_cmd()
5312 c->Request.CDB[8] = (size >> 8) & 0xFF; in fill_cmd()
5313 c->Request.CDB[9] = size & 0xFF; in fill_cmd()
5316 c->Request.CDBLen = 12; in fill_cmd()
5317 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
5318 c->Request.Type.Direction = XFER_WRITE; in fill_cmd()
5319 c->Request.Timeout = 0; in fill_cmd()
5320 c->Request.CDB[0] = BMIC_WRITE; in fill_cmd()
5321 c->Request.CDB[6] = BMIC_CACHE_FLUSH; in fill_cmd()
5322 c->Request.CDB[7] = (size >> 8) & 0xFF; in fill_cmd()
5323 c->Request.CDB[8] = size & 0xFF; in fill_cmd()
5326 c->Request.CDBLen = 6; in fill_cmd()
5327 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
5328 c->Request.Type.Direction = XFER_NONE; in fill_cmd()
5329 c->Request.Timeout = 0; in fill_cmd()
5332 c->Request.CDBLen = 12; in fill_cmd()
5333 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
5334 c->Request.Type.Direction = XFER_READ; in fill_cmd()
5335 c->Request.Timeout = 0; in fill_cmd()
5336 c->Request.CDB[0] = HPSA_CISS_READ; in fill_cmd()
5337 c->Request.CDB[1] = cmd; in fill_cmd()
5338 c->Request.CDB[6] = (size >> 24) & 0xFF; /* MSB */ in fill_cmd()
5339 c->Request.CDB[7] = (size >> 16) & 0xFF; in fill_cmd()
5340 c->Request.CDB[8] = (size >> 8) & 0xFF; in fill_cmd()
5341 c->Request.CDB[9] = size & 0xFF; in fill_cmd()
5344 c->Request.CDBLen = 10; in fill_cmd()
5345 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
5346 c->Request.Type.Direction = XFER_READ; in fill_cmd()
5347 c->Request.Timeout = 0; in fill_cmd()
5348 c->Request.CDB[0] = BMIC_READ; in fill_cmd()
5349 c->Request.CDB[6] = BMIC_SENSE_CONTROLLER_PARAMETERS; in fill_cmd()
5350 c->Request.CDB[7] = (size >> 16) & 0xFF; in fill_cmd()
5351 c->Request.CDB[8] = (size >> 8) & 0xFF; in fill_cmd()
5362 c->Request.CDBLen = 16; in fill_cmd()
5363 c->Request.Type.Type = 1; /* It is a MSG not a CMD */ in fill_cmd()
5364 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
5365 c->Request.Type.Direction = XFER_NONE; in fill_cmd()
5366 c->Request.Timeout = 0; /* Don't time out */ in fill_cmd()
5367 memset(&c->Request.CDB[0], 0, sizeof(c->Request.CDB)); in fill_cmd()
5368 c->Request.CDB[0] = cmd; in fill_cmd()
5369 c->Request.CDB[1] = HPSA_RESET_TYPE_LUN; in fill_cmd()
5372 c->Request.CDB[4] = 0x00; in fill_cmd()
5373 c->Request.CDB[5] = 0x00; in fill_cmd()
5374 c->Request.CDB[6] = 0x00; in fill_cmd()
5375 c->Request.CDB[7] = 0x00; in fill_cmd()
5382 c->Request.CDBLen = 16; in fill_cmd()
5383 c->Request.Type.Type = TYPE_MSG; in fill_cmd()
5384 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
5385 c->Request.Type.Direction = XFER_WRITE; in fill_cmd()
5386 c->Request.Timeout = 0; /* Don't time out */ in fill_cmd()
5387 c->Request.CDB[0] = HPSA_TASK_MANAGEMENT; in fill_cmd()
5388 c->Request.CDB[1] = HPSA_TMF_ABORT_TASK; in fill_cmd()
5389 c->Request.CDB[2] = 0x00; /* reserved */ in fill_cmd()
5390 c->Request.CDB[3] = 0x00; /* reserved */ in fill_cmd()
5392 c->Request.CDB[4] = a->Header.Tag.lower & 0xFF; in fill_cmd()
5393 c->Request.CDB[5] = (a->Header.Tag.lower >> 8) & 0xFF; in fill_cmd()
5394 c->Request.CDB[6] = (a->Header.Tag.lower >> 16) & 0xFF; in fill_cmd()
5395 c->Request.CDB[7] = (a->Header.Tag.lower >> 24) & 0xFF; in fill_cmd()
5396 c->Request.CDB[8] = a->Header.Tag.upper & 0xFF; in fill_cmd()
5397 c->Request.CDB[9] = (a->Header.Tag.upper >> 8) & 0xFF; in fill_cmd()
5398 c->Request.CDB[10] = (a->Header.Tag.upper >> 16) & 0xFF; in fill_cmd()
5399 c->Request.CDB[11] = (a->Header.Tag.upper >> 24) & 0xFF; in fill_cmd()
5400 c->Request.CDB[12] = 0x00; /* reserved */ in fill_cmd()
5401 c->Request.CDB[13] = 0x00; /* reserved */ in fill_cmd()
5402 c->Request.CDB[14] = 0x00; /* reserved */ in fill_cmd()
5403 c->Request.CDB[15] = 0x00; /* reserved */ in fill_cmd()
5415 switch (c->Request.Type.Direction) { in fill_cmd()
5729 struct RequestBlock Request; in hpsa_message() member
5773 cmd->Request.CDBLen = 16; in hpsa_message()
5774 cmd->Request.Type.Type = TYPE_MSG; in hpsa_message()
5775 cmd->Request.Type.Attribute = ATTR_HEADOFQUEUE; in hpsa_message()
5776 cmd->Request.Type.Direction = XFER_NONE; in hpsa_message()
5777 cmd->Request.Timeout = 0; /* Don't time out */ in hpsa_message()
5778 cmd->Request.CDB[0] = opcode; in hpsa_message()
5779 cmd->Request.CDB[1] = type; in hpsa_message()
5780 memset(&cmd->Request.CDB[2], 0, 14); /* rest of the CDB is reserved */ in hpsa_message()