Lines Matching refs:Request
810 if (!is_firmware_flash_cmd(c->Request.CDB)) in dial_down_lockup_detection_during_fw_flash()
819 if (is_firmware_flash_cmd(c->Request.CDB) && in dial_up_lockup_detection_on_fw_flash_complete()
1818 cp->Request.CDBLen = le16_to_cpu(c->io_flags) & in complete_scsi_command()
1822 memcpy(cp->Request.CDB, c->CDB, cp->Request.CDBLen); in complete_scsi_command()
1891 "CDB %16phN data overrun\n", cp->Request.CDB); in complete_scsi_command()
1908 cp->Request.CDB); in complete_scsi_command()
1913 cp->Request.CDB); in complete_scsi_command()
1918 cp->Request.CDB); in complete_scsi_command()
1923 cp->Request.CDB, ei->ScsiStatus); in complete_scsi_command()
1928 cp->Request.CDB); in complete_scsi_command()
1933 cp->Request.CDB); in complete_scsi_command()
1938 cp->Request.CDB); in complete_scsi_command()
2057 const u8 *cdb = c->Request.CDB; in hpsa_print_cmd()
2213 c->Request.CDB[1] = reset_type; /* fill_cmd defaults to LUN reset */ in hpsa_send_reset()
2375 c->Request.CDB[2] = bmic_device_index & 0xff; in hpsa_bmic_id_physical_device()
2376 c->Request.CDB[9] = (bmic_device_index >> 8) & 0xff; in hpsa_bmic_id_physical_device()
2510 c->Request.CDB[1] = extended_response; in hpsa_scsi_do_report_luns()
4009 c->Request.Timeout = 0; in hpsa_ciss_submit()
4010 memset(c->Request.CDB, 0, sizeof(c->Request.CDB)); in hpsa_ciss_submit()
4011 BUG_ON(cmd->cmd_len > sizeof(c->Request.CDB)); in hpsa_ciss_submit()
4012 c->Request.CDBLen = cmd->cmd_len; in hpsa_ciss_submit()
4013 memcpy(c->Request.CDB, cmd->cmnd, cmd->cmd_len); in hpsa_ciss_submit()
4016 c->Request.type_attr_dir = in hpsa_ciss_submit()
4020 c->Request.type_attr_dir = in hpsa_ciss_submit()
4024 c->Request.type_attr_dir = in hpsa_ciss_submit()
4033 c->Request.type_attr_dir = in hpsa_ciss_submit()
4432 swizzle_abort_tag(&c->Request.CDB[4]); in hpsa_send_abort()
4753 err |= copy_from_user(&arg64.Request, &arg32->Request, in hpsa_ioctl32_passthru()
4754 sizeof(arg64.Request)); in hpsa_ioctl32_passthru()
4790 err |= copy_from_user(&arg64.Request, &arg32->Request, in hpsa_ioctl32_big_passthru()
4791 sizeof(arg64.Request)); in hpsa_ioctl32_big_passthru()
4897 (iocommand.Request.Type.Direction != XFER_NONE)) { in hpsa_passthru_ioctl()
4904 if (iocommand.Request.Type.Direction & XFER_WRITE) { in hpsa_passthru_ioctl()
4934 memcpy(&c->Request, &iocommand.Request, in hpsa_passthru_ioctl()
4935 sizeof(c->Request)); in hpsa_passthru_ioctl()
4963 if ((iocommand.Request.Type.Direction & XFER_READ) && in hpsa_passthru_ioctl()
5006 (ioc->Request.Type.Direction != XFER_NONE)) { in hpsa_big_passthru_ioctl()
5039 if (ioc->Request.Type.Direction & XFER_WRITE) { in hpsa_big_passthru_ioctl()
5060 memcpy(&c->Request, &ioc->Request, sizeof(c->Request)); in hpsa_big_passthru_ioctl()
5091 if ((ioc->Request.Type.Direction & XFER_READ) && ioc->buf_size > 0) { in hpsa_big_passthru_ioctl()
5177 c->Request.CDB[1] = reset_type; /* fill_cmd defaults to target reset */ in hpsa_send_host_reset()
5210 c->Request.CDB[1] = 0x01; in fill_cmd()
5211 c->Request.CDB[2] = (page_code & 0xff); in fill_cmd()
5213 c->Request.CDBLen = 6; in fill_cmd()
5214 c->Request.type_attr_dir = in fill_cmd()
5216 c->Request.Timeout = 0; in fill_cmd()
5217 c->Request.CDB[0] = HPSA_INQUIRY; in fill_cmd()
5218 c->Request.CDB[4] = size & 0xFF; in fill_cmd()
5225 c->Request.CDBLen = 12; in fill_cmd()
5226 c->Request.type_attr_dir = in fill_cmd()
5228 c->Request.Timeout = 0; in fill_cmd()
5229 c->Request.CDB[0] = cmd; in fill_cmd()
5230 c->Request.CDB[6] = (size >> 24) & 0xFF; /* MSB */ in fill_cmd()
5231 c->Request.CDB[7] = (size >> 16) & 0xFF; in fill_cmd()
5232 c->Request.CDB[8] = (size >> 8) & 0xFF; in fill_cmd()
5233 c->Request.CDB[9] = size & 0xFF; in fill_cmd()
5236 c->Request.CDBLen = 12; in fill_cmd()
5237 c->Request.type_attr_dir = in fill_cmd()
5240 c->Request.Timeout = 0; in fill_cmd()
5241 c->Request.CDB[0] = BMIC_WRITE; in fill_cmd()
5242 c->Request.CDB[6] = BMIC_CACHE_FLUSH; in fill_cmd()
5243 c->Request.CDB[7] = (size >> 8) & 0xFF; in fill_cmd()
5244 c->Request.CDB[8] = size & 0xFF; in fill_cmd()
5247 c->Request.CDBLen = 6; in fill_cmd()
5248 c->Request.type_attr_dir = in fill_cmd()
5250 c->Request.Timeout = 0; in fill_cmd()
5253 c->Request.CDBLen = 12; in fill_cmd()
5254 c->Request.type_attr_dir = in fill_cmd()
5256 c->Request.Timeout = 0; in fill_cmd()
5257 c->Request.CDB[0] = HPSA_CISS_READ; in fill_cmd()
5258 c->Request.CDB[1] = cmd; in fill_cmd()
5259 c->Request.CDB[6] = (size >> 24) & 0xFF; /* MSB */ in fill_cmd()
5260 c->Request.CDB[7] = (size >> 16) & 0xFF; in fill_cmd()
5261 c->Request.CDB[8] = (size >> 8) & 0xFF; in fill_cmd()
5262 c->Request.CDB[9] = size & 0xFF; in fill_cmd()
5265 c->Request.CDBLen = 10; in fill_cmd()
5266 c->Request.type_attr_dir = in fill_cmd()
5268 c->Request.Timeout = 0; in fill_cmd()
5269 c->Request.CDB[0] = BMIC_READ; in fill_cmd()
5270 c->Request.CDB[6] = BMIC_SENSE_CONTROLLER_PARAMETERS; in fill_cmd()
5271 c->Request.CDB[7] = (size >> 16) & 0xFF; in fill_cmd()
5272 c->Request.CDB[8] = (size >> 8) & 0xFF; in fill_cmd()
5275 c->Request.CDBLen = 10; in fill_cmd()
5276 c->Request.type_attr_dir = in fill_cmd()
5278 c->Request.Timeout = 0; in fill_cmd()
5279 c->Request.CDB[0] = BMIC_READ; in fill_cmd()
5280 c->Request.CDB[6] = BMIC_IDENTIFY_PHYSICAL_DEVICE; in fill_cmd()
5281 c->Request.CDB[7] = (size >> 16) & 0xFF; in fill_cmd()
5282 c->Request.CDB[8] = (size >> 8) & 0XFF; in fill_cmd()
5293 c->Request.CDBLen = 16; in fill_cmd()
5294 c->Request.type_attr_dir = in fill_cmd()
5296 c->Request.Timeout = 0; /* Don't time out */ in fill_cmd()
5297 memset(&c->Request.CDB[0], 0, sizeof(c->Request.CDB)); in fill_cmd()
5298 c->Request.CDB[0] = cmd; in fill_cmd()
5299 c->Request.CDB[1] = HPSA_RESET_TYPE_LUN; in fill_cmd()
5302 c->Request.CDB[4] = 0x00; in fill_cmd()
5303 c->Request.CDB[5] = 0x00; in fill_cmd()
5304 c->Request.CDB[6] = 0x00; in fill_cmd()
5305 c->Request.CDB[7] = 0x00; in fill_cmd()
5312 c->Request.CDBLen = 16; in fill_cmd()
5313 c->Request.type_attr_dir = in fill_cmd()
5316 c->Request.Timeout = 0; /* Don't time out */ in fill_cmd()
5317 c->Request.CDB[0] = HPSA_TASK_MANAGEMENT; in fill_cmd()
5318 c->Request.CDB[1] = HPSA_TMF_ABORT_TASK; in fill_cmd()
5319 c->Request.CDB[2] = 0x00; /* reserved */ in fill_cmd()
5320 c->Request.CDB[3] = 0x00; /* reserved */ in fill_cmd()
5322 memcpy(&c->Request.CDB[4], &a->Header.tag, in fill_cmd()
5324 c->Request.CDB[12] = 0x00; /* reserved */ in fill_cmd()
5325 c->Request.CDB[13] = 0x00; /* reserved */ in fill_cmd()
5326 c->Request.CDB[14] = 0x00; /* reserved */ in fill_cmd()
5327 c->Request.CDB[15] = 0x00; /* reserved */ in fill_cmd()
5339 switch (GET_DIR(c->Request.type_attr_dir)) { in fill_cmd()
5538 struct RequestBlock Request; in hpsa_message() member
5582 cmd->Request.CDBLen = 16; in hpsa_message()
5583 cmd->Request.type_attr_dir = in hpsa_message()
5585 cmd->Request.Timeout = 0; /* Don't time out */ in hpsa_message()
5586 cmd->Request.CDB[0] = opcode; in hpsa_message()
5587 cmd->Request.CDB[1] = type; in hpsa_message()
5588 memset(&cmd->Request.CDB[2], 0, 14); /* rest of the CDB is reserved */ in hpsa_message()