Lines Matching refs:mpi_reply
94 char *calling_function_name, MPI2DefaultReply_t *mpi_reply) in _ctl_display_some_debug() argument
190 if (!mpi_reply) in _ctl_display_some_debug()
193 if (mpi_reply->IOCStatus || mpi_reply->IOCLogInfo) in _ctl_display_some_debug()
195 le16_to_cpu(mpi_reply->IOCStatus), in _ctl_display_some_debug()
196 le32_to_cpu(mpi_reply->IOCLogInfo)); in _ctl_display_some_debug()
202 (Mpi2SCSIIOReply_t *)mpi_reply; in _ctl_display_some_debug()
255 MPI2DefaultReply_t *mpi_reply; in mpt3sas_ctl_done() local
266 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_ctl_done()
267 if (mpi_reply) { in mpt3sas_ctl_done()
268 memcpy(ioc->ctl_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt3sas_ctl_done()
271 if (mpi_reply->Function == MPI2_FUNCTION_SCSI_IO_REQUEST || in mpt3sas_ctl_done()
272 mpi_reply->Function == in mpt3sas_ctl_done()
274 scsiio_reply = (Mpi2SCSIIOReply_t *)mpi_reply; in mpt3sas_ctl_done()
288 if (mpi_reply->Function == MPI2_FUNCTION_NVME_ENCAPSULATED) { in mpt3sas_ctl_done()
290 (Mpi26NVMeEncapsulatedErrorReply_t *)mpi_reply; in mpt3sas_ctl_done()
298 _ctl_display_some_debug(ioc, smid, "ctl_done", mpi_reply); in mpt3sas_ctl_done()
337 Mpi2EventNotificationReply_t *mpi_reply) in mpt3sas_ctl_add_to_event_log() argument
348 event = le16_to_cpu(mpi_reply->Event); in mpt3sas_ctl_add_to_event_log()
358 event_data_sz = le16_to_cpu(mpi_reply->EventDataLength)*4; in mpt3sas_ctl_add_to_event_log()
361 memcpy(event_log[i].data, mpi_reply->EventData, sz); in mpt3sas_ctl_add_to_event_log()
395 Mpi2EventNotificationReply_t *mpi_reply; in mpt3sas_ctl_event_callback() local
397 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_ctl_event_callback()
398 if (mpi_reply) in mpt3sas_ctl_event_callback()
399 mpt3sas_ctl_add_to_event_log(ioc, mpi_reply); in mpt3sas_ctl_event_callback()
649 MPI2DefaultReply_t *mpi_reply; in _ctl_do_mpt_command() local
1012 mpi_reply = ioc->ctl_cmds.reply; in _ctl_do_mpt_command()
1014 if (mpi_reply->Function == MPI2_FUNCTION_SCSI_TASK_MGMT && in _ctl_do_mpt_command()
1017 (Mpi2SCSITaskManagementReply_t *)mpi_reply; in _ctl_do_mpt_command()
1503 Mpi2DiagBufferPostReply_t *mpi_reply; in _ctl_diag_register_2() local
1632 mpi_reply = ioc->ctl_cmds.reply; in _ctl_diag_register_2()
1633 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) & MPI2_IOCSTATUS_MASK; in _ctl_diag_register_2()
1642 ioc_status, le32_to_cpu(mpi_reply->IOCLogInfo)); in _ctl_diag_register_2()
1891 Mpi2DiagReleaseReply_t *mpi_reply; in mpt3sas_send_diag_release() local
1959 mpi_reply = ioc->ctl_cmds.reply; in mpt3sas_send_diag_release()
1960 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) & MPI2_IOCSTATUS_MASK; in mpt3sas_send_diag_release()
1969 ioc_status, le32_to_cpu(mpi_reply->IOCLogInfo)); in mpt3sas_send_diag_release()
2072 Mpi2DiagBufferPostReply_t *mpi_reply; in _ctl_diag_read_buffer() local
2207 mpi_reply = ioc->ctl_cmds.reply; in _ctl_diag_read_buffer()
2208 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) & MPI2_IOCSTATUS_MASK; in _ctl_diag_read_buffer()
2217 le32_to_cpu(mpi_reply->IOCLogInfo)); in _ctl_diag_read_buffer()
2902 Mpi2ConfigReply_t mpi_reply; in BRM_status_show() local
2929 if (mpt3sas_config_get_iounit_pg3(ioc, &mpi_reply, io_unit_pg3, sz) != in BRM_status_show()
2936 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK; in BRM_status_show()