/Linux-v5.4/drivers/scsi/mpt3sas/ |
D | mpt3sas_config.c | 99 char *calling_function_name, MPI2DefaultReply_t *mpi_reply) in _config_display_some_debug() argument 183 if (!mpi_reply) in _config_display_some_debug() 186 if (mpi_reply->IOCStatus || mpi_reply->IOCLogInfo) in _config_display_some_debug() 188 le16_to_cpu(mpi_reply->IOCStatus), in _config_display_some_debug() 189 le32_to_cpu(mpi_reply->IOCLogInfo)); in _config_display_some_debug() 258 MPI2DefaultReply_t *mpi_reply; in mpt3sas_config_done() local 265 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_config_done() 266 if (mpi_reply) { in mpt3sas_config_done() 268 memcpy(ioc->config_cmds.reply, mpi_reply, in mpt3sas_config_done() 269 mpi_reply->MsgLength*4); in mpt3sas_config_done() [all …]
|
D | mpt3sas_base.h | 1530 Mpi2SasIoUnitControlReply_t *mpi_reply, 1533 Mpi2SepReply_t *mpi_reply, Mpi2SepRequest_t *mpi_request); 1599 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage0_t *config_page); 1601 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage7_t *config_page, 1604 Mpi2ConfigReply_t *mpi_reply, 1608 Mpi2ConfigReply_t *mpi_reply, 1611 Mpi2ConfigReply_t *mpi_reply, 1615 *mpi_reply, Mpi2BiosPage2_t *config_page); 1617 *mpi_reply, Mpi2BiosPage3_t *config_page); 1619 *mpi_reply, Mpi2IOUnitPage0_t *config_page); [all …]
|
D | mpt3sas_transport.c | 144 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() 233 MPI2DefaultReply_t *mpi_reply; in mpt3sas_transport_done() local 235 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_transport_done() 241 if (mpi_reply) { in mpt3sas_transport_done() 242 memcpy(ioc->transport_cmds.reply, mpi_reply, in mpt3sas_transport_done() 243 mpi_reply->MsgLength*4); in mpt3sas_transport_done() 294 Mpi2SmpPassthroughReply_t *mpi_reply; in _transport_expander_report_manufacture() local 387 mpi_reply = ioc->transport_cmds.reply; in _transport_expander_report_manufacture() [all …]
|
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()
|
D | mpt3sas_scsih.c | 417 Mpi2ConfigReply_t mpi_reply; in _scsih_get_sas_address() local 422 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_get_sas_address() 429 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK; in _scsih_get_sas_address() 1890 Mpi2ConfigReply_t mpi_reply; in _scsih_display_sata_capabilities() local 1896 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _scsih_display_sata_capabilities() 1903 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_display_sata_capabilities() 1968 Mpi2ConfigReply_t mpi_reply; in scsih_get_resync() local 1990 if (mpt3sas_config_get_raid_volume_pg0(ioc, &mpi_reply, &vol_pg0, in scsih_get_resync() 2029 Mpi2ConfigReply_t mpi_reply; in scsih_get_state() local 2044 if (mpt3sas_config_get_raid_volume_pg0(ioc, &mpi_reply, &vol_pg0, in scsih_get_state() [all …]
|
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()
|
D | mpt3sas_base.c | 792 _base_sas_ioc_info(struct MPT3SAS_ADAPTER *ioc, MPI2DefaultReply_t *mpi_reply, in _base_sas_ioc_info() argument 795 u16 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) & in _base_sas_ioc_info() 1015 Mpi2EventNotificationReply_t *mpi_reply) in _base_display_event_data() argument 1023 event = le16_to_cpu(mpi_reply->Event); in _base_display_event_data() 1048 (Mpi2EventDataSasDiscovery_t *)mpi_reply->EventData; in _base_display_event_data() 1104 (Mpi26EventDataPCIeEnumeration_t *)mpi_reply->EventData; in _base_display_event_data() 1189 MPI2DefaultReply_t *mpi_reply; in _base_display_reply_info() local 1193 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in _base_display_reply_info() 1194 if (unlikely(!mpi_reply)) { in _base_display_reply_info() 1199 ioc_status = le16_to_cpu(mpi_reply->IOCStatus); in _base_display_reply_info() [all …]
|
D | mpt3sas_ctl.c | 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() [all …]
|
/Linux-v5.4/drivers/scsi/megaraid/ |
D | megaraid_sas_fusion.c | 4344 struct MPI2_SCSI_TASK_MANAGE_REPLY *mpi_reply) in megasas_tm_response_code() argument 4348 switch (mpi_reply->ResponseCode) { in megasas_tm_response_code() 4378 mpi_reply->ResponseCode, desc); in megasas_tm_response_code() 4382 mpi_reply->TerminationCount, mpi_reply->DevHandle, in megasas_tm_response_code() 4383 mpi_reply->Function, mpi_reply->TaskType, in megasas_tm_response_code() 4384 mpi_reply->IOCStatus, mpi_reply->IOCLogInfo); in megasas_tm_response_code() 4418 struct MPI2_SCSI_TASK_MANAGE_REPLY *mpi_reply; in megasas_issue_tm() local 4490 mpi_reply = (struct MPI2_SCSI_TASK_MANAGE_REPLY *) &mr_request->TMReply; in megasas_issue_tm() 4491 megasas_tm_response_code(instance, mpi_reply); in megasas_issue_tm()
|