Lines Matching defs:mpi_reply
115 * @mpi_reply: reply message frame
123 char *calling_function_name, MPI2DefaultReply_t *mpi_reply)
220 if (!mpi_reply)
223 if (mpi_reply->IOCStatus || mpi_reply->IOCLogInfo)
226 ioc->name, le16_to_cpu(mpi_reply->IOCStatus),
227 le32_to_cpu(mpi_reply->IOCLogInfo));
233 (Mpi2SCSIIOReply_t *)mpi_reply;
277 MPI2DefaultReply_t *mpi_reply;
287 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply);
288 if (mpi_reply) {
289 memcpy(ioc->ctl_cmds.reply, mpi_reply, mpi_reply->MsgLength*4);
292 if (mpi_reply->Function == MPI2_FUNCTION_SCSI_IO_REQUEST ||
293 mpi_reply->Function ==
295 scsiio_reply = (Mpi2SCSIIOReply_t *)mpi_reply;
307 _ctl_display_some_debug(ioc, smid, "ctl_done", mpi_reply);
343 * @mpi_reply: reply message frame
349 Mpi2EventNotificationReply_t *mpi_reply)
360 event = le16_to_cpu(mpi_reply->Event);
370 event_data_sz = le16_to_cpu(mpi_reply->EventDataLength)*4;
373 memcpy(event_log[i].data, mpi_reply->EventData, sz);
407 Mpi2EventNotificationReply_t *mpi_reply;
409 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply);
410 mpt2sas_ctl_add_to_event_log(ioc, mpi_reply);
630 MPI2DefaultReply_t *mpi_reply;
929 mpi_reply = ioc->ctl_cmds.reply;
930 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
933 if (mpi_reply->Function == MPI2_FUNCTION_SCSI_TASK_MGMT &&
936 (Mpi2SCSITaskManagementReply_t *)mpi_reply;
1374 Mpi2DiagBufferPostReply_t *mpi_reply;
1501 mpi_reply = ioc->ctl_cmds.reply;
1502 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
1512 ioc_status, le32_to_cpu(mpi_reply->IOCLogInfo));
1775 Mpi2DiagReleaseReply_t *mpi_reply;
1846 mpi_reply = ioc->ctl_cmds.reply;
1847 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
1857 ioc_status, le32_to_cpu(mpi_reply->IOCLogInfo));
1973 Mpi2DiagBufferPostReply_t *mpi_reply;
2119 mpi_reply = ioc->ctl_cmds.reply;
2120 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
2130 ioc_status, le32_to_cpu(mpi_reply->IOCLogInfo));