Lines Matching refs:ioarcb
596 trace_entry->op_code = ipr_cmd->ioarcb.cmd_pkt.cdb[0]; in ipr_trc_hook()
601 trace_entry->ata_op_code = ipr_cmd->ioarcb.u.add_data.u.regs.command; in ipr_trc_hook()
603 trace_entry->res_handle = ipr_cmd->ioarcb.res_handle; in ipr_trc_hook()
637 struct ipr_ioarcb *ioarcb = &ipr_cmd->ioarcb; in ipr_reinit_ipr_cmnd() local
643 hrrq_id = ioarcb->cmd_pkt.hrrq_id; in ipr_reinit_ipr_cmnd()
644 memset(&ioarcb->cmd_pkt, 0, sizeof(struct ipr_cmd_pkt)); in ipr_reinit_ipr_cmnd()
645 ioarcb->cmd_pkt.hrrq_id = hrrq_id; in ipr_reinit_ipr_cmnd()
646 ioarcb->data_transfer_length = 0; in ipr_reinit_ipr_cmnd()
647 ioarcb->read_data_transfer_length = 0; in ipr_reinit_ipr_cmnd()
648 ioarcb->ioadl_len = 0; in ipr_reinit_ipr_cmnd()
649 ioarcb->read_ioadl_len = 0; in ipr_reinit_ipr_cmnd()
652 ioarcb->u.sis64_addr_data.data_ioadl_addr = in ipr_reinit_ipr_cmnd()
656 ioarcb->write_ioadl_addr = in ipr_reinit_ipr_cmnd()
658 ioarcb->read_ioadl_addr = ioarcb->write_ioadl_addr; in ipr_reinit_ipr_cmnd()
1040 ipr_cmd->ioarcb.ioadl_len = in ipr_init_ioadl()
1042 ipr_cmd->ioarcb.data_transfer_length = cpu_to_be32(len); in ipr_init_ioadl()
1048 ipr_cmd->ioarcb.read_ioadl_len = in ipr_init_ioadl()
1050 ipr_cmd->ioarcb.read_data_transfer_length = cpu_to_be32(len); in ipr_init_ioadl()
1052 ipr_cmd->ioarcb.ioadl_len = in ipr_init_ioadl()
1054 ipr_cmd->ioarcb.data_transfer_length = cpu_to_be32(len); in ipr_init_ioadl()
1112 struct ipr_ioarcb *ioarcb; in ipr_send_hcam() local
1120 ioarcb = &ipr_cmd->ioarcb; in ipr_send_hcam()
1122 ioarcb->res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); in ipr_send_hcam()
1123 ioarcb->cmd_pkt.request_type = IPR_RQTYPE_HCAM; in ipr_send_hcam()
1124 ioarcb->cmd_pkt.cdb[0] = IPR_HOST_CONTROLLED_ASYNC; in ipr_send_hcam()
1125 ioarcb->cmd_pkt.cdb[1] = type; in ipr_send_hcam()
1126 ioarcb->cmd_pkt.cdb[7] = (sizeof(hostrcb->hcam) >> 8) & 0xff; in ipr_send_hcam()
1127 ioarcb->cmd_pkt.cdb[8] = sizeof(hostrcb->hcam) & 0xff; in ipr_send_hcam()
3964 struct ipr_ioarcb *ioarcb = &ipr_cmd->ioarcb; in ipr_build_ucode_ioadl64() local
3971 ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_WRITE_NOT_READ; in ipr_build_ucode_ioadl64()
3972 ioarcb->data_transfer_length = cpu_to_be32(sglist->buffer_len); in ipr_build_ucode_ioadl64()
3974 ioarcb->ioadl_len = in ipr_build_ucode_ioadl64()
3996 struct ipr_ioarcb *ioarcb = &ipr_cmd->ioarcb; in ipr_build_ucode_ioadl() local
4003 ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_WRITE_NOT_READ; in ipr_build_ucode_ioadl()
4004 ioarcb->data_transfer_length = cpu_to_be32(sglist->buffer_len); in ipr_build_ucode_ioadl()
4006 ioarcb->ioadl_len = in ipr_build_ucode_ioadl()
5111 if (res && ipr_cmd->ioarcb.res_handle == res->res_handle) in ipr_match_res()
5238 struct ipr_ioarcb *ioarcb; in ipr_device_reset() local
5245 ioarcb = &ipr_cmd->ioarcb; in ipr_device_reset()
5246 cmd_pkt = &ioarcb->cmd_pkt; in ipr_device_reset()
5250 ioarcb->add_cmd_parms_offset = cpu_to_be16(sizeof(*ioarcb)); in ipr_device_reset()
5252 regs = &ioarcb->u.add_data.u.regs; in ipr_device_reset()
5254 ioarcb->res_handle = res->res_handle; in ipr_device_reset()
5259 ioarcb->add_cmd_parms_len = cpu_to_be16(sizeof(regs->flags)); in ipr_device_reset()
5367 if (ipr_cmd->ioarcb.res_handle == res->res_handle) { in __ipr_eh_dev_reset()
5442 if (res->res_handle == ipr_cmd->ioarcb.res_handle) { in ipr_bus_reset_done()
5491 reset_cmd->ioarcb.res_handle = ipr_cmd->ioarcb.res_handle; in ipr_abort_timeout()
5492 cmd_pkt = &reset_cmd->ioarcb.cmd_pkt; in ipr_abort_timeout()
5562 ipr_cmd->ioarcb.res_handle = res->res_handle; in ipr_cancel_op()
5563 cmd_pkt = &ipr_cmd->ioarcb.cmd_pkt; in ipr_cancel_op()
5945 struct ipr_ioarcb *ioarcb = &ipr_cmd->ioarcb; in ipr_build_ioadl64() local
5961 ioarcb->data_transfer_length = cpu_to_be32(length); in ipr_build_ioadl64()
5962 ioarcb->ioadl_len = in ipr_build_ioadl64()
5967 ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_WRITE_NOT_READ; in ipr_build_ioadl64()
5997 struct ipr_ioarcb *ioarcb = &ipr_cmd->ioarcb; in ipr_build_ioadl() local
6014 ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_WRITE_NOT_READ; in ipr_build_ioadl()
6015 ioarcb->data_transfer_length = cpu_to_be32(length); in ipr_build_ioadl()
6016 ioarcb->ioadl_len = in ipr_build_ioadl()
6020 ioarcb->read_data_transfer_length = cpu_to_be32(length); in ipr_build_ioadl()
6021 ioarcb->read_ioadl_len = in ipr_build_ioadl()
6025 if (ipr_cmd->dma_use_sg <= ARRAY_SIZE(ioarcb->u.add_data.u.ioadl)) { in ipr_build_ioadl()
6026 ioadl = ioarcb->u.add_data.u.ioadl; in ipr_build_ioadl()
6027 ioarcb->write_ioadl_addr = cpu_to_be32((ipr_cmd->dma_addr) + in ipr_build_ioadl()
6029 ioarcb->read_ioadl_addr = ioarcb->write_ioadl_addr; in ipr_build_ioadl()
6108 struct ipr_ioarcb *ioarcb = &ipr_cmd->ioarcb; in ipr_reinit_ipr_cmnd_for_erp() local
6112 memset(&ioarcb->cmd_pkt, 0, sizeof(struct ipr_cmd_pkt)); in ipr_reinit_ipr_cmnd_for_erp()
6113 ioarcb->data_transfer_length = 0; in ipr_reinit_ipr_cmnd_for_erp()
6114 ioarcb->read_data_transfer_length = 0; in ipr_reinit_ipr_cmnd_for_erp()
6115 ioarcb->ioadl_len = 0; in ipr_reinit_ipr_cmnd_for_erp()
6116 ioarcb->read_ioadl_len = 0; in ipr_reinit_ipr_cmnd_for_erp()
6121 ioarcb->u.sis64_addr_data.data_ioadl_addr = in ipr_reinit_ipr_cmnd_for_erp()
6124 ioarcb->write_ioadl_addr = in ipr_reinit_ipr_cmnd_for_erp()
6126 ioarcb->read_ioadl_addr = ioarcb->write_ioadl_addr; in ipr_reinit_ipr_cmnd_for_erp()
6142 struct ipr_cmd_pkt *cmd_pkt = &ipr_cmd->ioarcb.cmd_pkt; in __ipr_erp_request_sense()
6213 cmd_pkt = &ipr_cmd->ioarcb.cmd_pkt; in ipr_erp_cancel_all()
6570 struct ipr_ioarcb *ioarcb; in ipr_queuecommand() local
6620 ioarcb = &ipr_cmd->ioarcb; in ipr_queuecommand()
6622 memcpy(ioarcb->cmd_pkt.cdb, scsi_cmd->cmnd, scsi_cmd->cmd_len); in ipr_queuecommand()
6628 ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_NO_ULEN_CHK; in ipr_queuecommand()
6632 ioarcb->cmd_pkt.flags_lo |= IPR_FLAGS_LO_DELAY_AFTER_RST; in ipr_queuecommand()
6637 ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_NO_LINK_DESC; in ipr_queuecommand()
6639 ioarcb->cmd_pkt.flags_lo |= IPR_FLAGS_LO_ALIGNED_BFR; in ipr_queuecommand()
6641 ioarcb->cmd_pkt.flags_lo |= IPR_FLAGS_LO_SIMPLE_TASK; in ipr_queuecommand()
6643 ioarcb->cmd_pkt.flags_lo |= IPR_FLAGS_LO_UNTAGGED_TASK; in ipr_queuecommand()
6648 ioarcb->cmd_pkt.request_type = IPR_RQTYPE_IOACMD; in ipr_queuecommand()
6651 ioarcb->cmd_pkt.request_type = IPR_RQTYPE_PIPE; in ipr_queuecommand()
6654 ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_NO_ULEN_CHK; in ipr_queuecommand()
6678 ioarcb->res_handle = res->res_handle; in ipr_queuecommand()
6680 ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_SYNC_COMPLETE; in ipr_queuecommand()
6925 struct ipr_ioarcb *ioarcb = &ipr_cmd->ioarcb; in ipr_build_ata_ioadl64() local
6938 ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_WRITE_NOT_READ; in ipr_build_ata_ioadl64()
6942 ioarcb->data_transfer_length = cpu_to_be32(len); in ipr_build_ata_ioadl64()
6943 ioarcb->ioadl_len = in ipr_build_ata_ioadl64()
6945 ioarcb->u.sis64_addr_data.data_ioadl_addr = in ipr_build_ata_ioadl64()
6971 struct ipr_ioarcb *ioarcb = &ipr_cmd->ioarcb; in ipr_build_ata_ioadl() local
6983 ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_WRITE_NOT_READ; in ipr_build_ata_ioadl()
6984 ioarcb->data_transfer_length = cpu_to_be32(len); in ipr_build_ata_ioadl()
6985 ioarcb->ioadl_len = in ipr_build_ata_ioadl()
6989 ioarcb->read_data_transfer_length = cpu_to_be32(len); in ipr_build_ata_ioadl()
6990 ioarcb->read_ioadl_len = in ipr_build_ata_ioadl()
7062 struct ipr_ioarcb *ioarcb; in ipr_qc_issue() local
7082 ioarcb = &ipr_cmd->ioarcb; in ipr_qc_issue()
7086 ioarcb->add_cmd_parms_offset = cpu_to_be16(sizeof(*ioarcb)); in ipr_qc_issue()
7088 regs = &ioarcb->u.add_data.u.regs; in ipr_qc_issue()
7091 ioarcb->add_cmd_parms_len = cpu_to_be16(sizeof(*regs)); in ipr_qc_issue()
7096 ipr_cmd->ioarcb.res_handle = res->res_handle; in ipr_qc_issue()
7097 ioarcb->cmd_pkt.request_type = IPR_RQTYPE_ATA_PASSTHRU; in ipr_qc_issue()
7098 ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_NO_LINK_DESC; in ipr_qc_issue()
7099 ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_NO_ULEN_CHK; in ipr_qc_issue()
7109 memcpy(ioarcb->cmd_pkt.cdb, qc->cdb, IPR_MAX_CDB_LEN); in ipr_qc_issue()
7362 struct ipr_ioarcb *ioarcb = &ipr_cmd->ioarcb; in ipr_set_supported_devs() local
7374 ioarcb->res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); in ipr_set_supported_devs()
7375 ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_WRITE_NOT_READ; in ipr_set_supported_devs()
7376 ioarcb->cmd_pkt.request_type = IPR_RQTYPE_IOACMD; in ipr_set_supported_devs()
7378 ioarcb->cmd_pkt.cdb[0] = IPR_SET_SUPPORTED_DEVICES; in ipr_set_supported_devs()
7379 ioarcb->cmd_pkt.cdb[1] = IPR_SET_ALL_SUPPORTED_DEVICES; in ipr_set_supported_devs()
7380 ioarcb->cmd_pkt.cdb[7] = (sizeof(struct ipr_supported_device) >> 8) & 0xff; in ipr_set_supported_devs()
7381 ioarcb->cmd_pkt.cdb[8] = sizeof(struct ipr_supported_device) & 0xff; in ipr_set_supported_devs()
7563 struct ipr_ioarcb *ioarcb = &ipr_cmd->ioarcb; in ipr_build_mode_select() local
7565 ioarcb->res_handle = res_handle; in ipr_build_mode_select()
7566 ioarcb->cmd_pkt.request_type = IPR_RQTYPE_SCSICDB; in ipr_build_mode_select()
7567 ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_WRITE_NOT_READ; in ipr_build_mode_select()
7568 ioarcb->cmd_pkt.cdb[0] = MODE_SELECT; in ipr_build_mode_select()
7569 ioarcb->cmd_pkt.cdb[1] = parm; in ipr_build_mode_select()
7570 ioarcb->cmd_pkt.cdb[4] = xfer_len; in ipr_build_mode_select()
7626 struct ipr_ioarcb *ioarcb = &ipr_cmd->ioarcb; in ipr_build_mode_sense() local
7628 ioarcb->res_handle = res_handle; in ipr_build_mode_sense()
7629 ioarcb->cmd_pkt.cdb[0] = MODE_SENSE; in ipr_build_mode_sense()
7630 ioarcb->cmd_pkt.cdb[2] = parm; in ipr_build_mode_sense()
7631 ioarcb->cmd_pkt.cdb[4] = xfer_len; in ipr_build_mode_sense()
7632 ioarcb->cmd_pkt.request_type = IPR_RQTYPE_SCSICDB; in ipr_build_mode_sense()
7653 ipr_cmd->ioarcb.cmd_pkt.cdb[0], ioasc); in ipr_reset_cmd_failed()
7908 struct ipr_ioarcb *ioarcb = &ipr_cmd->ioarcb; in ipr_ioafp_query_ioa_cfg() local
7918 ioarcb->cmd_pkt.request_type = IPR_RQTYPE_IOACMD; in ipr_ioafp_query_ioa_cfg()
7919 ioarcb->res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); in ipr_ioafp_query_ioa_cfg()
7921 ioarcb->cmd_pkt.cdb[0] = IPR_QUERY_IOA_CONFIG; in ipr_ioafp_query_ioa_cfg()
7922 ioarcb->cmd_pkt.cdb[6] = (ioa_cfg->cfg_table_size >> 16) & 0xff; in ipr_ioafp_query_ioa_cfg()
7923 ioarcb->cmd_pkt.cdb[7] = (ioa_cfg->cfg_table_size >> 8) & 0xff; in ipr_ioafp_query_ioa_cfg()
7924 ioarcb->cmd_pkt.cdb[8] = ioa_cfg->cfg_table_size & 0xff; in ipr_ioafp_query_ioa_cfg()
7950 struct ipr_ioarcb *ioarcb = &ipr_cmd->ioarcb; in ipr_build_ioa_service_action() local
7952 ioarcb->res_handle = res_handle; in ipr_build_ioa_service_action()
7953 ioarcb->cmd_pkt.cdb[0] = IPR_IOA_SERVICE_ACTION; in ipr_build_ioa_service_action()
7954 ioarcb->cmd_pkt.cdb[1] = sa_code; in ipr_build_ioa_service_action()
7955 ioarcb->cmd_pkt.request_type = IPR_RQTYPE_IOACMD; in ipr_build_ioa_service_action()
7968 struct ipr_ioarcb *ioarcb = &ipr_cmd->ioarcb; in ipr_ioafp_set_caching_parameters() local
7981 ioarcb->cmd_pkt.cdb[2] = 0x40; in ipr_ioafp_set_caching_parameters()
8011 struct ipr_ioarcb *ioarcb = &ipr_cmd->ioarcb; in ipr_ioafp_inquiry() local
8014 ioarcb->cmd_pkt.request_type = IPR_RQTYPE_SCSICDB; in ipr_ioafp_inquiry()
8015 ioarcb->res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); in ipr_ioafp_inquiry()
8017 ioarcb->cmd_pkt.cdb[0] = INQUIRY; in ipr_ioafp_inquiry()
8018 ioarcb->cmd_pkt.cdb[1] = flags; in ipr_ioafp_inquiry()
8019 ioarcb->cmd_pkt.cdb[2] = page; in ipr_ioafp_inquiry()
8020 ioarcb->cmd_pkt.cdb[4] = xfer_len; in ipr_ioafp_inquiry()
8221 struct ipr_ioarcb *ioarcb = &ipr_cmd->ioarcb; in ipr_ioafp_identify_hrrq() local
8232 ioarcb->cmd_pkt.cdb[0] = IPR_ID_HOST_RR_Q; in ipr_ioafp_identify_hrrq()
8233 ioarcb->res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); in ipr_ioafp_identify_hrrq()
8235 ioarcb->cmd_pkt.request_type = IPR_RQTYPE_IOACMD; in ipr_ioafp_identify_hrrq()
8237 ioarcb->cmd_pkt.cdb[1] = 0x1; in ipr_ioafp_identify_hrrq()
8240 ioarcb->cmd_pkt.cdb[1] &= ~IPR_ID_HRRQ_SELE_ENABLE; in ipr_ioafp_identify_hrrq()
8242 ioarcb->cmd_pkt.cdb[1] |= IPR_ID_HRRQ_SELE_ENABLE; in ipr_ioafp_identify_hrrq()
8244 ioarcb->cmd_pkt.cdb[2] = in ipr_ioafp_identify_hrrq()
8246 ioarcb->cmd_pkt.cdb[3] = in ipr_ioafp_identify_hrrq()
8248 ioarcb->cmd_pkt.cdb[4] = in ipr_ioafp_identify_hrrq()
8250 ioarcb->cmd_pkt.cdb[5] = in ipr_ioafp_identify_hrrq()
8252 ioarcb->cmd_pkt.cdb[7] = in ipr_ioafp_identify_hrrq()
8254 ioarcb->cmd_pkt.cdb[8] = in ipr_ioafp_identify_hrrq()
8257 if (ioarcb->cmd_pkt.cdb[1] & IPR_ID_HRRQ_SELE_ENABLE) in ipr_ioafp_identify_hrrq()
8258 ioarcb->cmd_pkt.cdb[9] = in ipr_ioafp_identify_hrrq()
8262 ioarcb->cmd_pkt.cdb[10] = in ipr_ioafp_identify_hrrq()
8264 ioarcb->cmd_pkt.cdb[11] = in ipr_ioafp_identify_hrrq()
8266 ioarcb->cmd_pkt.cdb[12] = in ipr_ioafp_identify_hrrq()
8268 ioarcb->cmd_pkt.cdb[13] = in ipr_ioafp_identify_hrrq()
8272 if (ioarcb->cmd_pkt.cdb[1] & IPR_ID_HRRQ_SELE_ENABLE) in ipr_ioafp_identify_hrrq()
8273 ioarcb->cmd_pkt.cdb[14] = in ipr_ioafp_identify_hrrq()
9070 if (hcam_cmd->ioarcb.cmd_pkt.cdb[0] != IPR_HOST_CONTROLLED_ASYNC) in ipr_reset_cancel_hcam()
9073 ipr_cmd->ioarcb.res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); in ipr_reset_cancel_hcam()
9074 ipr_cmd->ioarcb.cmd_pkt.request_type = IPR_RQTYPE_IOACMD; in ipr_reset_cancel_hcam()
9075 cmd_pkt = &ipr_cmd->ioarcb.cmd_pkt; in ipr_reset_cancel_hcam()
9145 ipr_cmd->ioarcb.res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); in ipr_reset_ucode_download()
9146 ipr_cmd->ioarcb.cmd_pkt.request_type = IPR_RQTYPE_SCSICDB; in ipr_reset_ucode_download()
9147 ipr_cmd->ioarcb.cmd_pkt.cdb[0] = WRITE_BUFFER; in ipr_reset_ucode_download()
9148 ipr_cmd->ioarcb.cmd_pkt.cdb[1] = IPR_WR_BUF_DOWNLOAD_AND_SAVE; in ipr_reset_ucode_download()
9149 ipr_cmd->ioarcb.cmd_pkt.cdb[6] = (sglist->buffer_len & 0xff0000) >> 16; in ipr_reset_ucode_download()
9150 ipr_cmd->ioarcb.cmd_pkt.cdb[7] = (sglist->buffer_len & 0x00ff00) >> 8; in ipr_reset_ucode_download()
9151 ipr_cmd->ioarcb.cmd_pkt.cdb[8] = sglist->buffer_len & 0x0000ff; in ipr_reset_ucode_download()
9189 ipr_cmd->ioarcb.res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); in ipr_reset_shutdown_ioa()
9190 ipr_cmd->ioarcb.cmd_pkt.request_type = IPR_RQTYPE_IOACMD; in ipr_reset_shutdown_ioa()
9191 ipr_cmd->ioarcb.cmd_pkt.cdb[0] = IPR_IOA_SHUTDOWN; in ipr_reset_shutdown_ioa()
9192 ipr_cmd->ioarcb.cmd_pkt.cdb[1] = shutdown_type; in ipr_reset_shutdown_ioa()
9655 struct ipr_ioarcb *ioarcb; in ipr_alloc_cmd_blks() local
9720 ioarcb = &ipr_cmd->ioarcb; in ipr_alloc_cmd_blks()
9723 ioarcb->a.ioarcb_host_pci_addr64 = cpu_to_be64(dma_addr); in ipr_alloc_cmd_blks()
9725 ioarcb->a.ioarcb_host_pci_addr = cpu_to_be32(dma_addr); in ipr_alloc_cmd_blks()
9727 ioarcb->host_response_handle = cpu_to_be32(i << 2); in ipr_alloc_cmd_blks()
9729 ioarcb->u.sis64_addr_data.data_ioadl_addr = in ipr_alloc_cmd_blks()
9731 ioarcb->u.sis64_addr_data.ioasa_host_pci_addr = in ipr_alloc_cmd_blks()
9734 ioarcb->write_ioadl_addr = in ipr_alloc_cmd_blks()
9736 ioarcb->read_ioadl_addr = ioarcb->write_ioadl_addr; in ipr_alloc_cmd_blks()
9737 ioarcb->ioasa_host_pci_addr = in ipr_alloc_cmd_blks()
9740 ioarcb->ioasa_len = cpu_to_be16(sizeof(struct ipr_ioasa)); in ipr_alloc_cmd_blks()
9746 ipr_cmd->ioarcb.cmd_pkt.hrrq_id = hrrq_id; in ipr_alloc_cmd_blks()
10851 ipr_cmd->ioarcb.res_handle = cpu_to_be32(IPR_IOA_RES_HANDLE); in ipr_halt()
10852 ipr_cmd->ioarcb.cmd_pkt.request_type = IPR_RQTYPE_IOACMD; in ipr_halt()
10853 ipr_cmd->ioarcb.cmd_pkt.cdb[0] = IPR_IOA_SHUTDOWN; in ipr_halt()
10854 ipr_cmd->ioarcb.cmd_pkt.cdb[1] = IPR_SHUTDOWN_PREPARE_FOR_NORMAL; in ipr_halt()