/openbmc/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_config.c | 99 char *calling_function_name, MPI2DefaultReply_t *mpi_reply) in _config_display_some_debug() argument 180 if (!mpi_reply) in _config_display_some_debug() 183 if (mpi_reply->IOCStatus || mpi_reply->IOCLogInfo) in _config_display_some_debug() 185 le16_to_cpu(mpi_reply->IOCStatus), in _config_display_some_debug() 186 le32_to_cpu(mpi_reply->IOCLogInfo)); in _config_display_some_debug() 255 MPI2DefaultReply_t *mpi_reply; in mpt3sas_config_done() local 262 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_config_done() 263 if (mpi_reply) { in mpt3sas_config_done() 265 memcpy(ioc->config_cmds.reply, mpi_reply, in mpt3sas_config_done() 266 mpi_reply->MsgLength*4); in mpt3sas_config_done() [all …]
|
H A D | mpt3sas_base.h | 1760 Mpi2SasIoUnitControlReply_t *mpi_reply, 1763 Mpi2SepReply_t *mpi_reply, Mpi2SepRequest_t *mpi_request); 1857 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage0_t *config_page); 1859 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage1_t *config_page); 1862 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage7_t *config_page, 1865 Mpi2ConfigReply_t *mpi_reply, 1869 Mpi2ConfigReply_t *mpi_reply, 1872 Mpi2ConfigReply_t *mpi_reply, 1876 *mpi_reply, Mpi2BiosPage2_t *config_page); 1878 *mpi_reply, Mpi2BiosPage3_t *config_page); [all …]
|
H A D | mpt3sas_warpdrive.c | 57 Mpi2ConfigReply_t mpi_reply; in _warpdrive_disable_ddio() local 64 while (!(mpt3sas_config_get_raid_volume_pg1(ioc, &mpi_reply, in _warpdrive_disable_ddio() 66 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _warpdrive_disable_ddio() 89 Mpi2ConfigReply_t mpi_reply; in mpt3sas_get_num_volumes() local 95 while (!(mpt3sas_config_get_raid_volume_pg1(ioc, &mpi_reply, in mpt3sas_get_num_volumes() 97 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in mpt3sas_get_num_volumes() 119 Mpi2ConfigReply_t mpi_reply; in mpt3sas_init_warpdrive_properties() local 152 if ((mpt3sas_config_get_raid_volume_pg0(ioc, &mpi_reply, vol_pg0, in mpt3sas_init_warpdrive_properties() 170 if (mpt3sas_config_get_phys_disk_pg0(ioc, &mpi_reply, in mpt3sas_init_warpdrive_properties()
|
H A D | mpt3sas_transport.c | 206 Mpi2ConfigReply_t mpi_reply; in _transport_set_identify() local 215 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _transport_set_identify() 222 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_set_identify() 295 MPI2DefaultReply_t *mpi_reply; in mpt3sas_transport_done() local 297 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_transport_done() 303 if (mpi_reply) { in mpt3sas_transport_done() 304 memcpy(ioc->transport_cmds.reply, mpi_reply, in mpt3sas_transport_done() 305 mpi_reply->MsgLength*4); in mpt3sas_transport_done() 357 Mpi2SmpPassthroughReply_t *mpi_reply; in _transport_expander_report_manufacture() local 450 mpi_reply = ioc->transport_cmds.reply; in _transport_expander_report_manufacture() [all …]
|
H A D | mpt3sas_scsih.c | 513 Mpi2ConfigReply_t mpi_reply; in _scsih_get_sas_address() local 518 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_get_sas_address() 525 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK; in _scsih_get_sas_address() 2173 Mpi2ConfigReply_t mpi_reply; in _scsih_display_sata_capabilities() local 2179 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_display_sata_capabilities() 2186 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_display_sata_capabilities() 2251 Mpi2ConfigReply_t mpi_reply; in scsih_get_resync() local 2273 if (mpt3sas_config_get_raid_volume_pg0(ioc, &mpi_reply, &vol_pg0, in scsih_get_resync() 2312 Mpi2ConfigReply_t mpi_reply; in scsih_get_state() local 2327 if (mpt3sas_config_get_raid_volume_pg0(ioc, &mpi_reply, &vol_pg0, in scsih_get_state() [all …]
|
H A D | mpt3sas_base.c | 632 Mpi26IoUnitControlReply_t *mpi_reply; in _base_sync_drv_fw_timestamp() local 674 mpi_reply = ioc->scsih_cmds.reply; in _base_sync_drv_fw_timestamp() 677 le16_to_cpu(mpi_reply->IOCStatus), in _base_sync_drv_fw_timestamp() 678 le32_to_cpu(mpi_reply->IOCLogInfo))); in _base_sync_drv_fw_timestamp() 987 _base_sas_ioc_info(struct MPT3SAS_ADAPTER *ioc, MPI2DefaultReply_t *mpi_reply, in _base_sas_ioc_info() argument 990 u16 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) & in _base_sas_ioc_info() 1224 Mpi2EventNotificationReply_t *mpi_reply) in _base_display_event_data() argument 1232 event = le16_to_cpu(mpi_reply->Event); in _base_display_event_data() 1257 (Mpi2EventDataSasDiscovery_t *)mpi_reply->EventData; in _base_display_event_data() 1313 (Mpi26EventDataPCIeEnumeration_t *)mpi_reply->EventData; in _base_display_event_data() [all …]
|
H A D | mpt3sas_trigger_diag.c | 71 Mpi2EventNotificationReply_t *mpi_reply; in _mpt3sas_raise_sigio() local 79 mpi_reply = kzalloc(sz, GFP_KERNEL); in _mpt3sas_raise_sigio() 80 if (!mpi_reply) in _mpt3sas_raise_sigio() 82 mpi_reply->Event = cpu_to_le16(MPI3_EVENT_DIAGNOSTIC_TRIGGER_FIRED); in _mpt3sas_raise_sigio() 84 mpi_reply->EventDataLength = cpu_to_le16(event_data_sz); in _mpt3sas_raise_sigio() 85 memcpy(&mpi_reply->EventData, event_data, in _mpt3sas_raise_sigio() 90 mpt3sas_ctl_add_to_event_log(ioc, mpi_reply); in _mpt3sas_raise_sigio() 91 kfree(mpi_reply); in _mpt3sas_raise_sigio()
|
H A D | mpt3sas_ctl.c | 94 char *calling_function_name, MPI2DefaultReply_t *mpi_reply) in _ctl_display_some_debug() argument 196 if (!mpi_reply) in _ctl_display_some_debug() 199 if (mpi_reply->IOCStatus || mpi_reply->IOCLogInfo) in _ctl_display_some_debug() 201 le16_to_cpu(mpi_reply->IOCStatus), in _ctl_display_some_debug() 202 le32_to_cpu(mpi_reply->IOCLogInfo)); in _ctl_display_some_debug() 208 (Mpi2SCSIIOReply_t *)mpi_reply; in _ctl_display_some_debug() 261 MPI2DefaultReply_t *mpi_reply; in mpt3sas_ctl_done() local 272 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_ctl_done() 273 if (mpi_reply) { in mpt3sas_ctl_done() 274 memcpy(ioc->ctl_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt3sas_ctl_done() [all …]
|
/openbmc/linux/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_transport.c | 131 struct mpi3_smp_passthrough_reply mpi_reply; in mpi3mr_report_manufacture() local 171 memset(&mpi_reply, 0, reply_sz); in mpi3mr_report_manufacture() 188 &mpi_reply, reply_sz, in mpi3mr_report_manufacture() 204 le16_to_cpu(mpi_reply.response_data_length)); in mpi3mr_report_manufacture() 206 if (le16_to_cpu(mpi_reply.response_data_length) != in mpi3mr_report_manufacture() 2527 struct mpi3_smp_passthrough_reply mpi_reply; in mpi3mr_get_expander_phy_error_log() local 2568 memset(&mpi_reply, 0, reply_sz); in mpi3mr_get_expander_phy_error_log() 2585 &mpi_reply, reply_sz, MPI3MR_INTADMCMD_TIMEOUT, &ioc_status)) in mpi3mr_get_expander_phy_error_log() 2595 le16_to_cpu(mpi_reply.response_data_length)); in mpi3mr_get_expander_phy_error_log() 2597 if (le16_to_cpu(mpi_reply.response_data_length) != in mpi3mr_get_expander_phy_error_log() [all …]
|
/openbmc/linux/drivers/scsi/megaraid/ |
H A D | megaraid_sas_fusion.c | 4466 struct MPI2_SCSI_TASK_MANAGE_REPLY *mpi_reply) in megasas_tm_response_code() argument 4470 switch (mpi_reply->ResponseCode) { in megasas_tm_response_code() 4500 mpi_reply->ResponseCode, desc); in megasas_tm_response_code() 4504 mpi_reply->TerminationCount, mpi_reply->DevHandle, in megasas_tm_response_code() 4505 mpi_reply->Function, mpi_reply->TaskType, in megasas_tm_response_code() 4506 mpi_reply->IOCStatus, mpi_reply->IOCLogInfo); in megasas_tm_response_code() 4540 struct MPI2_SCSI_TASK_MANAGE_REPLY *mpi_reply; in megasas_issue_tm() local 4611 mpi_reply = (struct MPI2_SCSI_TASK_MANAGE_REPLY *) &mr_request->TMReply; in megasas_issue_tm() 4612 megasas_tm_response_code(instance, mpi_reply); in megasas_issue_tm()
|