• Home
  • Raw
  • Download

Lines Matching refs:Request

605 	if (!is_firmware_flash_cmd(c->Request.CDB))  in dial_down_lockup_detection_during_fw_flash()
614 if (is_firmware_flash_cmd(c->Request.CDB) && in dial_up_lockup_detection_on_fw_flash_complete()
1236 if (cp->Request.CDB[0] == REPORT_LUNS) in complete_scsi_command()
1661 c->Request.CDB[1] = extended_response; in hpsa_scsi_do_report_luns()
2197 c->Request.Timeout = 0; in hpsa_scsi_queue_command_lck()
2198 memset(c->Request.CDB, 0, sizeof(c->Request.CDB)); in hpsa_scsi_queue_command_lck()
2199 BUG_ON(cmd->cmd_len > sizeof(c->Request.CDB)); in hpsa_scsi_queue_command_lck()
2200 c->Request.CDBLen = cmd->cmd_len; in hpsa_scsi_queue_command_lck()
2201 memcpy(c->Request.CDB, cmd->cmnd, cmd->cmd_len); in hpsa_scsi_queue_command_lck()
2202 c->Request.Type.Type = TYPE_CMD; in hpsa_scsi_queue_command_lck()
2203 c->Request.Type.Attribute = ATTR_SIMPLE; in hpsa_scsi_queue_command_lck()
2206 c->Request.Type.Direction = XFER_WRITE; in hpsa_scsi_queue_command_lck()
2209 c->Request.Type.Direction = XFER_READ; in hpsa_scsi_queue_command_lck()
2212 c->Request.Type.Direction = XFER_NONE; in hpsa_scsi_queue_command_lck()
2220 c->Request.Type.Direction = XFER_RSVD; in hpsa_scsi_queue_command_lck()
2475 swizzle_abort_tag(&c->Request.CDB[4]); in hpsa_send_abort()
2569 memcpy(swizzled_tag, &abort->Request.CDB[4], 8); in hpsa_send_abort_both_ways()
2827 err |= copy_from_user(&arg64.Request, &arg32->Request, in hpsa_ioctl32_passthru()
2828 sizeof(arg64.Request)); in hpsa_ioctl32_passthru()
2864 err |= copy_from_user(&arg64.Request, &arg32->Request, in hpsa_ioctl32_big_passthru()
2865 sizeof(arg64.Request)); in hpsa_ioctl32_big_passthru()
2971 (iocommand.Request.Type.Direction != XFER_NONE)) { in hpsa_passthru_ioctl()
2978 if (iocommand.Request.Type.Direction == XFER_WRITE) { in hpsa_passthru_ioctl()
3010 memcpy(&c->Request, &iocommand.Request, in hpsa_passthru_ioctl()
3011 sizeof(c->Request)); in hpsa_passthru_ioctl()
3041 if (iocommand.Request.Type.Direction == XFER_READ && in hpsa_passthru_ioctl()
3085 (ioc->Request.Type.Direction != XFER_NONE)) { in hpsa_big_passthru_ioctl()
3118 if (ioc->Request.Type.Direction == XFER_WRITE) { in hpsa_big_passthru_ioctl()
3139 memcpy(&c->Request, &ioc->Request, sizeof(c->Request)); in hpsa_big_passthru_ioctl()
3172 if (ioc->Request.Type.Direction == XFER_READ && ioc->buf_size > 0) { in hpsa_big_passthru_ioctl()
3244 c->Request.CDB[1] = reset_type; /* fill_cmd defaults to target reset */ in hpsa_send_host_reset()
3273 c->Request.Type.Type = cmd_type; in fill_cmd()
3279 c->Request.CDB[1] = 0x01; in fill_cmd()
3280 c->Request.CDB[2] = page_code; in fill_cmd()
3282 c->Request.CDBLen = 6; in fill_cmd()
3283 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
3284 c->Request.Type.Direction = XFER_READ; in fill_cmd()
3285 c->Request.Timeout = 0; in fill_cmd()
3286 c->Request.CDB[0] = HPSA_INQUIRY; in fill_cmd()
3287 c->Request.CDB[4] = size & 0xFF; in fill_cmd()
3294 c->Request.CDBLen = 12; in fill_cmd()
3295 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
3296 c->Request.Type.Direction = XFER_READ; in fill_cmd()
3297 c->Request.Timeout = 0; in fill_cmd()
3298 c->Request.CDB[0] = cmd; in fill_cmd()
3299 c->Request.CDB[6] = (size >> 24) & 0xFF; /* MSB */ in fill_cmd()
3300 c->Request.CDB[7] = (size >> 16) & 0xFF; in fill_cmd()
3301 c->Request.CDB[8] = (size >> 8) & 0xFF; in fill_cmd()
3302 c->Request.CDB[9] = size & 0xFF; in fill_cmd()
3305 c->Request.CDBLen = 12; in fill_cmd()
3306 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
3307 c->Request.Type.Direction = XFER_WRITE; in fill_cmd()
3308 c->Request.Timeout = 0; in fill_cmd()
3309 c->Request.CDB[0] = BMIC_WRITE; in fill_cmd()
3310 c->Request.CDB[6] = BMIC_CACHE_FLUSH; in fill_cmd()
3311 c->Request.CDB[7] = (size >> 8) & 0xFF; in fill_cmd()
3312 c->Request.CDB[8] = size & 0xFF; in fill_cmd()
3315 c->Request.CDBLen = 6; in fill_cmd()
3316 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
3317 c->Request.Type.Direction = XFER_NONE; in fill_cmd()
3318 c->Request.Timeout = 0; in fill_cmd()
3329 c->Request.CDBLen = 16; in fill_cmd()
3330 c->Request.Type.Type = 1; /* It is a MSG not a CMD */ in fill_cmd()
3331 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
3332 c->Request.Type.Direction = XFER_NONE; in fill_cmd()
3333 c->Request.Timeout = 0; /* Don't time out */ in fill_cmd()
3334 memset(&c->Request.CDB[0], 0, sizeof(c->Request.CDB)); in fill_cmd()
3335 c->Request.CDB[0] = cmd; in fill_cmd()
3336 c->Request.CDB[1] = HPSA_RESET_TYPE_LUN; in fill_cmd()
3339 c->Request.CDB[4] = 0x00; in fill_cmd()
3340 c->Request.CDB[5] = 0x00; in fill_cmd()
3341 c->Request.CDB[6] = 0x00; in fill_cmd()
3342 c->Request.CDB[7] = 0x00; in fill_cmd()
3349 c->Request.CDBLen = 16; in fill_cmd()
3350 c->Request.Type.Type = TYPE_MSG; in fill_cmd()
3351 c->Request.Type.Attribute = ATTR_SIMPLE; in fill_cmd()
3352 c->Request.Type.Direction = XFER_WRITE; in fill_cmd()
3353 c->Request.Timeout = 0; /* Don't time out */ in fill_cmd()
3354 c->Request.CDB[0] = HPSA_TASK_MANAGEMENT; in fill_cmd()
3355 c->Request.CDB[1] = HPSA_TMF_ABORT_TASK; in fill_cmd()
3356 c->Request.CDB[2] = 0x00; /* reserved */ in fill_cmd()
3357 c->Request.CDB[3] = 0x00; /* reserved */ in fill_cmd()
3359 c->Request.CDB[4] = a->Header.Tag.lower & 0xFF; in fill_cmd()
3360 c->Request.CDB[5] = (a->Header.Tag.lower >> 8) & 0xFF; in fill_cmd()
3361 c->Request.CDB[6] = (a->Header.Tag.lower >> 16) & 0xFF; in fill_cmd()
3362 c->Request.CDB[7] = (a->Header.Tag.lower >> 24) & 0xFF; in fill_cmd()
3363 c->Request.CDB[8] = a->Header.Tag.upper & 0xFF; in fill_cmd()
3364 c->Request.CDB[9] = (a->Header.Tag.upper >> 8) & 0xFF; in fill_cmd()
3365 c->Request.CDB[10] = (a->Header.Tag.upper >> 16) & 0xFF; in fill_cmd()
3366 c->Request.CDB[11] = (a->Header.Tag.upper >> 24) & 0xFF; in fill_cmd()
3367 c->Request.CDB[12] = 0x00; /* reserved */ in fill_cmd()
3368 c->Request.CDB[13] = 0x00; /* reserved */ in fill_cmd()
3369 c->Request.CDB[14] = 0x00; /* reserved */ in fill_cmd()
3370 c->Request.CDB[15] = 0x00; /* reserved */ in fill_cmd()
3382 switch (c->Request.Type.Direction) { in fill_cmd()
3662 struct RequestBlock Request; in hpsa_message() member
3706 cmd->Request.CDBLen = 16; in hpsa_message()
3707 cmd->Request.Type.Type = TYPE_MSG; in hpsa_message()
3708 cmd->Request.Type.Attribute = ATTR_HEADOFQUEUE; in hpsa_message()
3709 cmd->Request.Type.Direction = XFER_NONE; in hpsa_message()
3710 cmd->Request.Timeout = 0; /* Don't time out */ in hpsa_message()
3711 cmd->Request.CDB[0] = opcode; in hpsa_message()
3712 cmd->Request.CDB[1] = type; in hpsa_message()
3713 memset(&cmd->Request.CDB[2], 0, 14); /* rest of the CDB is reserved */ in hpsa_message()