Lines Matching defs:mpi_reply

389 	Mpi2ConfigReply_t mpi_reply;
398 if ((mpt2sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0,
405 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK;
1475 Mpi2ConfigReply_t mpi_reply;
1481 if ((mpt2sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0,
1488 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
1538 Mpi2ConfigReply_t mpi_reply;
1550 if (mpt2sas_config_get_raid_volume_pg0(ioc, &mpi_reply, &vol_pg0,
1577 Mpi2ConfigReply_t mpi_reply;
1589 if (mpt2sas_config_get_raid_volume_pg0(ioc, &mpi_reply, &vol_pg0,
1662 Mpi2ConfigReply_t mpi_reply;
1685 if ((mpt2sas_config_get_raid_volume_pg0(ioc, &mpi_reply, vol_pg0,
1699 if (!(mpt2sas_config_get_phys_disk_pg0(ioc, &mpi_reply,
1702 if (!(mpt2sas_config_get_sas_device_pg0(ioc, &mpi_reply,
1721 Mpi2ConfigReply_t mpi_reply;
1727 while (!(mpt2sas_config_get_raid_volume_pg1(ioc, &mpi_reply,
1729 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
1750 Mpi2ConfigReply_t mpi_reply;
1756 while (!(mpt2sas_config_get_raid_volume_pg1(ioc, &mpi_reply,
1758 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
1780 Mpi2ConfigReply_t mpi_reply;
1817 if ((mpt2sas_config_get_raid_volume_pg0(ioc, &mpi_reply, vol_pg0,
1838 if (mpt2sas_config_get_phys_disk_pg0(ioc, &mpi_reply,
2242 MPI2DefaultReply_t *mpi_reply;
2250 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply);
2251 if (mpi_reply) {
2252 memcpy(ioc->tm_cmds.reply, mpi_reply, mpi_reply->MsgLength*4);
2343 Mpi2SCSITaskManagementReply_t *mpi_reply;
2430 mpi_reply = ioc->tm_cmds.reply;
2433 ioc->name, le16_to_cpu(mpi_reply->IOCStatus),
2434 le32_to_cpu(mpi_reply->IOCLogInfo),
2435 le32_to_cpu(mpi_reply->TerminationCount)));
2437 _scsih_response_code(ioc, mpi_reply->ResponseCode);
2438 if (mpi_reply->IOCStatus)
3178 Mpi2SasIoUnitControlReply_t *mpi_reply =
3184 ioc->name, le16_to_cpu(mpi_reply->DevHandle), smid,
3185 le16_to_cpu(mpi_reply->IOCStatus),
3186 le32_to_cpu(mpi_reply->IOCLogInfo)));
3256 Mpi2SCSITaskManagementReply_t *mpi_reply =
3268 if (handle != le16_to_cpu(mpi_reply->DevHandle)) {
3271 le16_to_cpu(mpi_reply->DevHandle), smid));
3278 handle, smid, le16_to_cpu(mpi_reply->IOCStatus),
3279 le32_to_cpu(mpi_reply->IOCLogInfo),
3280 le32_to_cpu(mpi_reply->TerminationCount)));
3307 Mpi2SCSITaskManagementReply_t *mpi_reply =
3331 if (handle != le16_to_cpu(mpi_reply->DevHandle)) {
3334 le16_to_cpu(mpi_reply->DevHandle), smid));
3341 handle, smid, le16_to_cpu(mpi_reply->IOCStatus),
3342 le32_to_cpu(mpi_reply->IOCLogInfo),
3343 le32_to_cpu(mpi_reply->TerminationCount)));
4070 * @mpi_reply: reply mf payload returned from firmware
4080 Mpi2SCSIIOReply_t *mpi_reply, u16 smid)
4084 u16 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) &
4086 u8 scsi_state = mpi_reply->SCSIState;
4087 u8 scsi_status = mpi_reply->SCSIStatus;
4091 u32 log_info = le32_to_cpu(mpi_reply->IOCLogInfo);
4241 "smid(%d)\n", ioc->name, le16_to_cpu(mpi_reply->DevHandle),
4247 "sc->result(0x%08x)\n", ioc->name, le16_to_cpu(mpi_reply->TaskTag),
4248 le32_to_cpu(mpi_reply->TransferCount), scmd->result);
4258 data.asc, data.ascq, le32_to_cpu(mpi_reply->SenseCount));
4262 response_info = le32_to_cpu(mpi_reply->ResponseInfo);
4280 Mpi2SepReply_t mpi_reply;
4290 if ((mpt2sas_base_scsi_enclosure_processor(ioc, &mpi_reply,
4297 if (mpi_reply.IOCStatus || mpi_reply.IOCLogInfo) {
4300 le16_to_cpu(mpi_reply.IOCStatus),
4301 le32_to_cpu(mpi_reply.IOCLogInfo)));
4410 Mpi2SCSIIOReply_t *mpi_reply;
4421 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply);
4428 if (mpi_reply == NULL) {
4439 ioc_status = le16_to_cpu(mpi_reply->IOCStatus);
4461 scsi_state = mpi_reply->SCSIState;
4464 le32_to_cpu(mpi_reply->ResponseInfo) & 0xFF;
4478 xfer_cnt = le32_to_cpu(mpi_reply->TransferCount);
4481 log_info = le32_to_cpu(mpi_reply->IOCLogInfo);
4485 scsi_status = mpi_reply->SCSIStatus;
4499 le32_to_cpu(mpi_reply->SenseCount));
4505 le16_to_cpu(mpi_reply->DevHandle));
4554 mpi_reply->SCSIState = MPI2_SCSI_STATE_AUTOSENSE_VALID;
4555 mpi_reply->SCSIStatus = SAM_STAT_CHECK_CONDITION;
4600 _scsih_scsi_ioc_info(ioc , scmd, mpi_reply, smid);
4626 Mpi2ConfigReply_t mpi_reply;
4644 if ((mpt2sas_config_get_sas_iounit_pg0(ioc, &mpi_reply,
4647 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK;
4679 Mpi2ConfigReply_t mpi_reply;
4705 if ((mpt2sas_config_get_sas_iounit_pg0(ioc, &mpi_reply,
4711 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
4728 if ((mpt2sas_config_get_sas_iounit_pg1(ioc, &mpi_reply,
4734 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
4762 if ((mpt2sas_config_get_phy_pg0(ioc, &mpi_reply, &phy_pg0,
4768 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
4784 if ((mpt2sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0,
4799 if (!(mpt2sas_config_get_enclosure_pg0(ioc, &mpi_reply,
4826 Mpi2ConfigReply_t mpi_reply;
4844 if ((mpt2sas_config_get_expander_pg0(ioc, &mpi_reply, &expander_pg0,
4851 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
4929 if ((mpt2sas_config_get_expander_pg1(ioc, &mpi_reply,
4950 if (!(mpt2sas_config_get_enclosure_pg0(ioc, &mpi_reply,
4986 MPI2DefaultReply_t *mpi_reply;
4988 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply);
4994 if (mpi_reply) {
4995 memcpy(ioc->scsih_cmds.reply, mpi_reply,
4996 mpi_reply->MsgLength*4);
5099 Mpi2ConfigReply_t mpi_reply;
5109 if ((mpt2sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0,
5113 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK;
5174 Mpi2ConfigReply_t mpi_reply;
5183 if ((mpt2sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0,
5190 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
5256 ioc, &mpi_reply, &enclosure_pg0, MPI2_SAS_ENCLOS_PGAD_FORM_HANDLE,
5765 Mpi2SCSITaskManagementReply_t *mpi_reply;
5781 mpi_reply = ioc->tm_cmds.reply;
5832 ioc_status = le16_to_cpu(mpi_reply->IOCStatus)
5843 if (mpi_reply->ResponseCode ==
5845 mpi_reply->ResponseCode ==
5879 termination_count += le32_to_cpu(mpi_reply->TerminationCount);
6162 Mpi2ConfigReply_t mpi_reply;
6176 if ((mpt2sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0,
6183 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
6445 Mpi2ConfigReply_t mpi_reply;
6482 if ((mpt2sas_config_get_sas_device_pg0(ioc, &mpi_reply,
6490 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
6690 Mpi2ConfigReply_t mpi_reply;
6703 while (!(mpt2sas_config_get_sas_device_pg0(ioc, &mpi_reply,
6706 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
6793 Mpi2ConfigReply_t mpi_reply;
6808 while (!(mpt2sas_config_get_raid_volume_pg1(ioc, &mpi_reply,
6810 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
6816 if (mpt2sas_config_get_raid_volume_pg0(ioc, &mpi_reply,
6832 while (!(mpt2sas_config_get_phys_disk_pg0(ioc, &mpi_reply,
6835 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
6901 Mpi2ConfigReply_t mpi_reply;
6912 while (!(mpt2sas_config_get_expander_pg0(ioc, &mpi_reply, &expander_pg0,
6915 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
7006 Mpi2ConfigReply_t mpi_reply;
7010 if ((mpt2sas_config_get_expander_pg1(ioc, &mpi_reply,
7038 Mpi2ConfigReply_t mpi_reply;
7053 while (!(mpt2sas_config_get_expander_pg0(ioc, &mpi_reply, &expander_pg0,
7055 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
7074 while (!(mpt2sas_config_get_phys_disk_pg0(ioc, &mpi_reply,
7077 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
7086 if (mpt2sas_config_get_sas_device_pg0(ioc, &mpi_reply,
7103 while (!(mpt2sas_config_get_raid_volume_pg1(ioc, &mpi_reply,
7105 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
7114 if (mpt2sas_config_get_raid_volume_pg0(ioc, &mpi_reply,
7132 while (!(mpt2sas_config_get_sas_device_pg0(ioc, &mpi_reply,
7135 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
7307 Mpi2EventNotificationReply_t *mpi_reply;
7315 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply);
7316 event = le16_to_cpu(mpi_reply->Event);
7324 mpi_reply->EventData;
7341 mpi_reply->EventData);
7346 mpi_reply->EventData);
7351 mpi_reply->EventData);
7362 mpi_reply->EventData;
7417 sz = le16_to_cpu(mpi_reply->EventDataLength) * 4;
7426 memcpy(fw_event->event_data, mpi_reply->EventData,
7429 fw_event->VF_ID = mpi_reply->VF_ID;
7430 fw_event->VP_ID = mpi_reply->VP_ID;
7525 Mpi2RaidActionReply_t *mpi_reply;
7573 mpi_reply = ioc->scsih_cmds.reply;
7578 ioc->name, le16_to_cpu(mpi_reply->IOCStatus),
7579 le32_to_cpu(mpi_reply->IOCLogInfo));