Home
last modified time | relevance | path

Searched refs:mpi_reply (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/scsi/mpt3sas/
Dmpt3sas_config.c99 char *calling_function_name, MPI2DefaultReply_t *mpi_reply) in _config_display_some_debug() argument
184 if (!mpi_reply) in _config_display_some_debug()
187 if (mpi_reply->IOCStatus || mpi_reply->IOCLogInfo) in _config_display_some_debug()
190 ioc->name, le16_to_cpu(mpi_reply->IOCStatus), in _config_display_some_debug()
191 le32_to_cpu(mpi_reply->IOCLogInfo)); in _config_display_some_debug()
261 MPI2DefaultReply_t *mpi_reply; in mpt3sas_config_done() local
268 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_config_done()
269 if (mpi_reply) { in mpt3sas_config_done()
271 memcpy(ioc->config_cmds.reply, mpi_reply, in mpt3sas_config_done()
272 mpi_reply->MsgLength*4); in mpt3sas_config_done()
[all …]
Dmpt3sas_base.h1463 Mpi2SasIoUnitControlReply_t *mpi_reply,
1466 Mpi2SepReply_t *mpi_reply, Mpi2SepRequest_t *mpi_request);
1530 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage0_t *config_page);
1532 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage7_t *config_page,
1535 Mpi2ConfigReply_t *mpi_reply,
1539 Mpi2ConfigReply_t *mpi_reply,
1542 Mpi2ConfigReply_t *mpi_reply,
1546 *mpi_reply, Mpi2BiosPage2_t *config_page);
1548 *mpi_reply, Mpi2BiosPage3_t *config_page);
1550 *mpi_reply, Mpi2IOUnitPage0_t *config_page);
[all …]
Dmpt3sas_warpdrive.c57 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
156 if ((mpt3sas_config_get_raid_volume_pg0(ioc, &mpi_reply, vol_pg0, in mpt3sas_init_warpdrive_properties()
177 if (mpt3sas_config_get_phys_disk_pg0(ioc, &mpi_reply, in mpt3sas_init_warpdrive_properties()
Dmpt3sas_transport.c144 Mpi2ConfigReply_t mpi_reply; in _transport_set_identify() local
154 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _transport_set_identify()
161 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_set_identify()
236 MPI2DefaultReply_t *mpi_reply; in mpt3sas_transport_done() local
238 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_transport_done()
244 if (mpi_reply) { in mpt3sas_transport_done()
245 memcpy(ioc->transport_cmds.reply, mpi_reply, in mpt3sas_transport_done()
246 mpi_reply->MsgLength*4); in mpt3sas_transport_done()
297 Mpi2SmpPassthroughReply_t *mpi_reply; in _transport_expander_report_manufacture() local
414 mpi_reply = ioc->transport_cmds.reply; in _transport_expander_report_manufacture()
[all …]
Dmpt3sas_scsih.c414 Mpi2ConfigReply_t mpi_reply; in _scsih_get_sas_address() local
419 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_get_sas_address()
426 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK; in _scsih_get_sas_address()
1852 Mpi2ConfigReply_t mpi_reply; in _scsih_display_sata_capabilities() local
1858 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_display_sata_capabilities()
1865 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_display_sata_capabilities()
1930 Mpi2ConfigReply_t mpi_reply; in scsih_get_resync() local
1952 if (mpt3sas_config_get_raid_volume_pg0(ioc, &mpi_reply, &vol_pg0, in scsih_get_resync()
1991 Mpi2ConfigReply_t mpi_reply; in scsih_get_state() local
2006 if (mpt3sas_config_get_raid_volume_pg0(ioc, &mpi_reply, &vol_pg0, in scsih_get_state()
[all …]
Dmpt3sas_base.c749 _base_sas_ioc_info(struct MPT3SAS_ADAPTER *ioc, MPI2DefaultReply_t *mpi_reply, in _base_sas_ioc_info() argument
752 u16 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) & in _base_sas_ioc_info()
972 Mpi2EventNotificationReply_t *mpi_reply) in _base_display_event_data() argument
980 event = le16_to_cpu(mpi_reply->Event); in _base_display_event_data()
1005 (Mpi2EventDataSasDiscovery_t *)mpi_reply->EventData; in _base_display_event_data()
1061 (Mpi26EventDataPCIeEnumeration_t *)mpi_reply->EventData; in _base_display_event_data()
1149 MPI2DefaultReply_t *mpi_reply; in _base_display_reply_info() local
1153 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in _base_display_reply_info()
1154 if (unlikely(!mpi_reply)) { in _base_display_reply_info()
1159 ioc_status = le16_to_cpu(mpi_reply->IOCStatus); in _base_display_reply_info()
[all …]
Dmpt3sas_trigger_diag.c71 Mpi2EventNotificationReply_t *mpi_reply; in _mpt3sas_raise_sigio() local
80 mpi_reply = kzalloc(sz, GFP_KERNEL); in _mpt3sas_raise_sigio()
81 if (!mpi_reply) in _mpt3sas_raise_sigio()
83 mpi_reply->Event = cpu_to_le16(MPI3_EVENT_DIAGNOSTIC_TRIGGER_FIRED); in _mpt3sas_raise_sigio()
85 mpi_reply->EventDataLength = cpu_to_le16(event_data_sz); in _mpt3sas_raise_sigio()
86 memcpy(&mpi_reply->EventData, event_data, in _mpt3sas_raise_sigio()
91 mpt3sas_ctl_add_to_event_log(ioc, mpi_reply); in _mpt3sas_raise_sigio()
92 kfree(mpi_reply); in _mpt3sas_raise_sigio()
Dmpt3sas_ctl.c94 char *calling_function_name, MPI2DefaultReply_t *mpi_reply) in _ctl_display_some_debug() argument
191 if (!mpi_reply) in _ctl_display_some_debug()
194 if (mpi_reply->IOCStatus || mpi_reply->IOCLogInfo) in _ctl_display_some_debug()
197 ioc->name, le16_to_cpu(mpi_reply->IOCStatus), in _ctl_display_some_debug()
198 le32_to_cpu(mpi_reply->IOCLogInfo)); in _ctl_display_some_debug()
204 (Mpi2SCSIIOReply_t *)mpi_reply; in _ctl_display_some_debug()
263 MPI2DefaultReply_t *mpi_reply; in mpt3sas_ctl_done() local
274 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_ctl_done()
275 if (mpi_reply) { in mpt3sas_ctl_done()
276 memcpy(ioc->ctl_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt3sas_ctl_done()
[all …]
/Linux-v4.19/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c4050 struct MPI2_SCSI_TASK_MANAGE_REPLY *mpi_reply) in megasas_tm_response_code() argument
4054 switch (mpi_reply->ResponseCode) { in megasas_tm_response_code()
4084 mpi_reply->ResponseCode, desc); in megasas_tm_response_code()
4088 mpi_reply->TerminationCount, mpi_reply->DevHandle, in megasas_tm_response_code()
4089 mpi_reply->Function, mpi_reply->TaskType, in megasas_tm_response_code()
4090 mpi_reply->IOCStatus, mpi_reply->IOCLogInfo); in megasas_tm_response_code()
4124 struct MPI2_SCSI_TASK_MANAGE_REPLY *mpi_reply; in megasas_issue_tm() local
4196 mpi_reply = (struct MPI2_SCSI_TASK_MANAGE_REPLY *) &mr_request->TMReply; in megasas_issue_tm()
4197 megasas_tm_response_code(instance, mpi_reply); in megasas_issue_tm()