Home
last modified time | relevance | path

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

/drivers/scsi/mpt3sas/
Dmpt3sas_config.c99 char *calling_function_name, MPI2DefaultReply_t *mpi_reply) in _config_display_some_debug() argument
166 if (!mpi_reply) in _config_display_some_debug()
169 if (mpi_reply->IOCStatus || mpi_reply->IOCLogInfo) in _config_display_some_debug()
172 ioc->name, le16_to_cpu(mpi_reply->IOCStatus), in _config_display_some_debug()
173 le32_to_cpu(mpi_reply->IOCLogInfo)); in _config_display_some_debug()
243 MPI2DefaultReply_t *mpi_reply; in mpt3sas_config_done() local
250 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_config_done()
251 if (mpi_reply) { in mpt3sas_config_done()
253 memcpy(ioc->config_cmds.reply, mpi_reply, in mpt3sas_config_done()
254 mpi_reply->MsgLength*4); in mpt3sas_config_done()
[all …]
Dmpt3sas_base.h973 Mpi2SasIoUnitControlReply_t *mpi_reply,
976 Mpi2SepReply_t *mpi_reply, Mpi2SepRequest_t *mpi_request);
1018 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage0_t *config_page);
1020 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage7_t *config_page,
1023 Mpi2ConfigReply_t *mpi_reply,
1027 Mpi2ConfigReply_t *mpi_reply,
1030 Mpi2ConfigReply_t *mpi_reply,
1034 *mpi_reply, Mpi2BiosPage2_t *config_page);
1036 *mpi_reply, Mpi2BiosPage3_t *config_page);
1038 *mpi_reply, Mpi2IOUnitPage0_t *config_page);
[all …]
Dmpt3sas_scsih.c393 Mpi2ConfigReply_t mpi_reply; in _scsih_get_sas_address() local
403 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_get_sas_address()
410 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK; in _scsih_get_sas_address()
1356 Mpi2ConfigReply_t mpi_reply; in _scsih_display_sata_capabilities() local
1362 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_display_sata_capabilities()
1369 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_display_sata_capabilities()
1423 Mpi2ConfigReply_t mpi_reply; in _scsih_get_resync() local
1442 if (mpt3sas_config_get_raid_volume_pg0(ioc, &mpi_reply, &vol_pg0, in _scsih_get_resync()
1472 Mpi2ConfigReply_t mpi_reply; in _scsih_get_state() local
1487 if (mpt3sas_config_get_raid_volume_pg0(ioc, &mpi_reply, &vol_pg0, in _scsih_get_state()
[all …]
Dmpt3sas_transport.c143 Mpi2ConfigReply_t mpi_reply; in _transport_set_identify() local
153 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _transport_set_identify()
160 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_set_identify()
235 MPI2DefaultReply_t *mpi_reply; in mpt3sas_transport_done() local
237 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_transport_done()
243 if (mpi_reply) { in mpt3sas_transport_done()
244 memcpy(ioc->transport_cmds.reply, mpi_reply, in mpt3sas_transport_done()
245 mpi_reply->MsgLength*4); in mpt3sas_transport_done()
296 Mpi2SmpPassthroughReply_t *mpi_reply; in _transport_expander_report_manufacture() local
415 mpi_reply = ioc->transport_cmds.reply; in _transport_expander_report_manufacture()
[all …]
Dmpt3sas_base.c330 _base_sas_ioc_info(struct MPT3SAS_ADAPTER *ioc, MPI2DefaultReply_t *mpi_reply, in _base_sas_ioc_info() argument
333 u16 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) & in _base_sas_ioc_info()
547 Mpi2EventNotificationReply_t *mpi_reply) in _base_display_event_data() argument
555 event = le16_to_cpu(mpi_reply->Event); in _base_display_event_data()
579 (Mpi2EventDataSasDiscovery_t *)mpi_reply->EventData; in _base_display_event_data()
692 MPI2DefaultReply_t *mpi_reply; in _base_display_reply_info() local
696 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in _base_display_reply_info()
697 if (unlikely(!mpi_reply)) { in _base_display_reply_info()
702 ioc_status = le16_to_cpu(mpi_reply->IOCStatus); in _base_display_reply_info()
706 _base_sas_ioc_info(ioc , mpi_reply, in _base_display_reply_info()
[all …]
Dmpt3sas_trigger_diag.c70 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()
Dmpt3sas_ctl.c120 char *calling_function_name, MPI2DefaultReply_t *mpi_reply) in _ctl_display_some_debug() argument
217 if (!mpi_reply) in _ctl_display_some_debug()
220 if (mpi_reply->IOCStatus || mpi_reply->IOCLogInfo) in _ctl_display_some_debug()
223 ioc->name, le16_to_cpu(mpi_reply->IOCStatus), in _ctl_display_some_debug()
224 le32_to_cpu(mpi_reply->IOCLogInfo)); in _ctl_display_some_debug()
230 (Mpi2SCSIIOReply_t *)mpi_reply; in _ctl_display_some_debug()
275 MPI2DefaultReply_t *mpi_reply; in mpt3sas_ctl_done() local
285 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_ctl_done()
286 if (mpi_reply) { in mpt3sas_ctl_done()
287 memcpy(ioc->ctl_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt3sas_ctl_done()
[all …]
/drivers/scsi/mpt2sas/
Dmpt2sas_config.c100 char *calling_function_name, MPI2DefaultReply_t *mpi_reply) in _config_display_some_debug() argument
166 if (!mpi_reply) in _config_display_some_debug()
169 if (mpi_reply->IOCStatus || mpi_reply->IOCLogInfo) in _config_display_some_debug()
172 ioc->name, le16_to_cpu(mpi_reply->IOCStatus), in _config_display_some_debug()
173 le32_to_cpu(mpi_reply->IOCLogInfo)); in _config_display_some_debug()
243 MPI2DefaultReply_t *mpi_reply; in mpt2sas_config_done() local
250 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply); in mpt2sas_config_done()
251 if (mpi_reply) { in mpt2sas_config_done()
253 memcpy(ioc->config_cmds.reply, mpi_reply, in mpt2sas_config_done()
254 mpi_reply->MsgLength*4); in mpt2sas_config_done()
[all …]
Dmpt2sas_base.h1050 Mpi2SasIoUnitControlReply_t *mpi_reply, Mpi2SasIoUnitControlRequest_t
1053 Mpi2SepReply_t *mpi_reply, Mpi2SepRequest_t *mpi_request);
1087 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage0_t *config_page);
1089 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage10_t *config_page);
1091 *mpi_reply, Mpi2BiosPage2_t *config_page);
1093 *mpi_reply, Mpi2BiosPage3_t *config_page);
1095 *mpi_reply, Mpi2IOUnitPage0_t *config_page);
1097 *mpi_reply, Mpi2SasDevicePage0_t *config_page, u32 form, u32 handle);
1099 *mpi_reply, Mpi2SasDevicePage1_t *config_page, u32 form, u32 handle);
1101 *mpi_reply, Mpi2SasIOUnitPage0_t *config_page, u16 sz);
[all …]
Dmpt2sas_scsih.c398 Mpi2ConfigReply_t mpi_reply; in _scsih_get_sas_address() local
407 if ((mpt2sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_get_sas_address()
414 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK; in _scsih_get_sas_address()
1481 Mpi2ConfigReply_t mpi_reply; in _scsih_display_sata_capabilities() local
1487 if ((mpt2sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_display_sata_capabilities()
1494 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_display_sata_capabilities()
1544 Mpi2ConfigReply_t mpi_reply; in _scsih_get_resync() local
1566 if (mpt2sas_config_get_raid_volume_pg0(ioc, &mpi_reply, &vol_pg0, in _scsih_get_resync()
1596 Mpi2ConfigReply_t mpi_reply; in _scsih_get_state() local
1611 if (mpt2sas_config_get_raid_volume_pg0(ioc, &mpi_reply, &vol_pg0, in _scsih_get_state()
[all …]
Dmpt2sas_transport.c139 Mpi2ConfigReply_t mpi_reply; in _transport_set_identify() local
149 if ((mpt2sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _transport_set_identify()
157 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_set_identify()
231 MPI2DefaultReply_t *mpi_reply; in mpt2sas_transport_done() local
233 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply); in mpt2sas_transport_done()
239 if (mpi_reply) { in mpt2sas_transport_done()
240 memcpy(ioc->transport_cmds.reply, mpi_reply, in mpt2sas_transport_done()
241 mpi_reply->MsgLength*4); in mpt2sas_transport_done()
292 Mpi2SmpPassthroughReply_t *mpi_reply; in _transport_expander_report_manufacture() local
425 mpi_reply = ioc->transport_cmds.reply; in _transport_expander_report_manufacture()
[all …]
Dmpt2sas_base.c345 _base_sas_ioc_info(struct MPT2SAS_ADAPTER *ioc, MPI2DefaultReply_t *mpi_reply, in _base_sas_ioc_info() argument
348 u16 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) & in _base_sas_ioc_info()
562 Mpi2EventNotificationReply_t *mpi_reply) in _base_display_event_data() argument
570 event = le16_to_cpu(mpi_reply->Event); in _base_display_event_data()
595 (Mpi2EventDataSasDiscovery_t *)mpi_reply->EventData; in _base_display_event_data()
714 MPI2DefaultReply_t *mpi_reply; in _base_display_reply_info() local
717 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply); in _base_display_reply_info()
718 if (unlikely(!mpi_reply)) { in _base_display_reply_info()
723 ioc_status = le16_to_cpu(mpi_reply->IOCStatus); in _base_display_reply_info()
727 _base_sas_ioc_info(ioc , mpi_reply, in _base_display_reply_info()
[all …]
Dmpt2sas_ctl.c123 char *calling_function_name, MPI2DefaultReply_t *mpi_reply) in _ctl_display_some_debug() argument
220 if (!mpi_reply) in _ctl_display_some_debug()
223 if (mpi_reply->IOCStatus || mpi_reply->IOCLogInfo) in _ctl_display_some_debug()
226 ioc->name, le16_to_cpu(mpi_reply->IOCStatus), in _ctl_display_some_debug()
227 le32_to_cpu(mpi_reply->IOCLogInfo)); in _ctl_display_some_debug()
233 (Mpi2SCSIIOReply_t *)mpi_reply; in _ctl_display_some_debug()
277 MPI2DefaultReply_t *mpi_reply; in mpt2sas_ctl_done() local
287 mpi_reply = mpt2sas_base_get_reply_virt_addr(ioc, reply); in mpt2sas_ctl_done()
288 if (mpi_reply) { in mpt2sas_ctl_done()
289 memcpy(ioc->ctl_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt2sas_ctl_done()
[all …]