/Linux-v5.4/drivers/scsi/mpt3sas/ |
D | mpt3sas_config.c | 101 Mpi2ConfigRequest_t *mpi_request; in _config_display_some_debug() local 107 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _config_display_some_debug() 108 switch (mpi_request->Header.PageType & MPI2_CONFIG_PAGETYPE_MASK) { in _config_display_some_debug() 128 switch (mpi_request->ExtPageType) { in _config_display_some_debug() 180 mpi_request->Header.PageNumber, mpi_request->Action, in _config_display_some_debug() 181 le32_to_cpu(mpi_request->PageAddress), smid); in _config_display_some_debug() 299 *mpi_request, Mpi2ConfigReply_t *mpi_reply, int timeout, in _config_request() 319 mpi_request->VF_ID = 0; /* TODO */ in _config_request() 320 mpi_request->VP_ID = 0; in _config_request() 323 mpi_request->Header.PageVersion = mpi_reply->Header.PageVersion; in _config_request() [all …]
|
D | mpt3sas_transport.c | 293 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_expander_report_manufacture() local 333 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_expander_report_manufacture() 356 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_expander_report_manufacture() 357 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_expander_report_manufacture() 358 mpi_request->PhysicalPort = 0xFF; in _transport_expander_report_manufacture() 359 mpi_request->SASAddress = cpu_to_le64(sas_address); in _transport_expander_report_manufacture() 360 mpi_request->RequestDataLength = cpu_to_le16(data_out_sz); in _transport_expander_report_manufacture() 361 psge = &mpi_request->SGL; in _transport_expander_report_manufacture() 375 _debug_dump_mf(mpi_request, in _transport_expander_report_manufacture() 1061 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_get_expander_phy_error_log() local [all …]
|
D | mpt3sas_debug.h | 154 _debug_dump_mf(void *mpi_request, int sz) in _debug_dump_mf() argument 157 __le32 *mfp = (__le32 *)mpi_request; in _debug_dump_mf() 173 _debug_dump_reply(void *mpi_request, int sz) in _debug_dump_reply() argument 176 __le32 *mfp = (__le32 *)mpi_request; in _debug_dump_reply() 192 _debug_dump_config(void *mpi_request, int sz) in _debug_dump_config() argument 195 __le32 *mfp = (__le32 *)mpi_request; in _debug_dump_config()
|
D | mpt3sas_ctl.c | 96 Mpi2ConfigRequest_t *mpi_request; in _ctl_display_some_debug() local 102 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _ctl_display_some_debug() 103 switch (mpi_request->Function) { in _ctl_display_some_debug() 107 (Mpi2SCSIIORequest_t *)mpi_request; in _ctl_display_some_debug() 128 (Mpi2ConfigRequest_t *)mpi_request; in _ctl_display_some_debug() 159 (Mpi2SCSIIORequest_t *)mpi_request; in _ctl_display_some_debug() 198 if (mpi_request->Function == MPI2_FUNCTION_SCSI_IO_REQUEST || in _ctl_display_some_debug() 199 mpi_request->Function == in _ctl_display_some_debug() 648 MPI2RequestHeader_t *mpi_request = NULL, *request; in _ctl_do_mpt_command() local 678 mpi_request = kzalloc(ioc->request_sz, GFP_KERNEL); in _ctl_do_mpt_command() [all …]
|
D | mpt3sas_warpdrive.c | 257 struct _raid_device *raid_device, Mpi25SCSIIORequest_t *mpi_request) in mpt3sas_setup_direct_io() argument 269 v_lba = get_unaligned_be32(&mpi_request->CDB.CDB32[2]); in mpt3sas_setup_direct_io() 271 v_lba = get_unaligned_be64(&mpi_request->CDB.CDB32[2]); in mpt3sas_setup_direct_io() 290 mpi_request->DevHandle = cpu_to_le16(raid_device->pd_handle[column]); in mpt3sas_setup_direct_io() 294 &mpi_request->CDB.CDB32[2]); in mpt3sas_setup_direct_io() 296 put_unaligned_be64(p_lba, &mpi_request->CDB.CDB32[2]); in mpt3sas_setup_direct_io()
|
D | mpt3sas_base.c | 143 u8 status, void *mpi_request, int sz) in mpt3sas_base_check_cmd_timeout() argument 152 _debug_dump_mf(mpi_request, sz); in mpt3sas_base_check_cmd_timeout() 405 void *mpi_request, u16 smid) in _clone_sg_entries() argument 423 request_hdr = (MPI2RequestHeader_t *) mpi_request; in _clone_sg_entries() 427 (Mpi25SCSIIORequest_t *)mpi_request; in _clone_sg_entries() 432 (Mpi2ConfigRequest_t *)mpi_request; in _clone_sg_entries() 2131 Mpi25SCSIIORequest_t *mpi_request, in base_make_prp_nvme() argument 2169 main_chain_element = (pMpi25IeeeSgeChain64_t)&mpi_request->SGL; in base_make_prp_nvme() 2193 ptr_first_sgl = (pMpi25IeeeSgeChain64_t)&mpi_request->SGL; in base_make_prp_nvme() 2295 Mpi25SCSIIORequest_t *mpi_request, u16 smid, struct scsi_cmnd *scmd, in _base_check_pcie_native_sgl() argument [all …]
|
D | mpt3sas_scsih.c | 1478 Mpi25SCSIIORequest_t *mpi_request; in mpt3sas_scsih_scsi_lookup_get() local 1484 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in mpt3sas_scsih_scsi_lookup_get() 1492 if (!mpi_request->DevHandle) in mpt3sas_scsih_scsi_lookup_get() 2671 Mpi2SCSITaskManagementRequest_t *mpi_request; in mpt3sas_scsih_issue_tm() local 2714 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in mpt3sas_scsih_issue_tm() 2716 memset(mpi_request, 0, sizeof(Mpi2SCSITaskManagementRequest_t)); in mpt3sas_scsih_issue_tm() 2718 mpi_request->Function = MPI2_FUNCTION_SCSI_TASK_MGMT; in mpt3sas_scsih_issue_tm() 2719 mpi_request->DevHandle = cpu_to_le16(handle); in mpt3sas_scsih_issue_tm() 2720 mpi_request->TaskType = type; in mpt3sas_scsih_issue_tm() 2721 mpi_request->MsgFlags = tr_method; in mpt3sas_scsih_issue_tm() [all …]
|
D | mpt3sas_base.h | 1531 Mpi2SasIoUnitControlRequest_t *mpi_request); 1533 Mpi2SepReply_t *mpi_reply, Mpi2SepRequest_t *mpi_request); 1549 u8 status, void *mpi_request, int sz); 1741 struct _raid_device *raid_device, Mpi25SCSIIORequest_t *mpi_request);
|
/Linux-v5.4/drivers/scsi/megaraid/ |
D | megaraid_sas_fusion.c | 4409 struct MPI2_SCSI_TASK_MANAGE_REQUEST *mpi_request; in megasas_issue_tm() local 4444 mpi_request = (struct MPI2_SCSI_TASK_MANAGE_REQUEST *) &mr_request->TmRequest; in megasas_issue_tm() 4445 mpi_request->Function = MPI2_FUNCTION_SCSI_TASK_MGMT; in megasas_issue_tm() 4446 mpi_request->DevHandle = cpu_to_le16(device_handle); in megasas_issue_tm() 4447 mpi_request->TaskType = type; in megasas_issue_tm() 4448 mpi_request->TaskMID = cpu_to_le16(smid_task); in megasas_issue_tm() 4449 mpi_request->LUN[1] = 0; in megasas_issue_tm()
|