Home
last modified time | relevance | path

Searched refs:mpi_request (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/scsi/mpt3sas/
Dmpt3sas_config.c101 Mpi2ConfigRequest_t *mpi_request; in _config_display_some_debug() local
104 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _config_display_some_debug()
105 switch (mpi_request->Header.PageType & MPI2_CONFIG_PAGETYPE_MASK) { in _config_display_some_debug()
125 switch (mpi_request->ExtPageType) { in _config_display_some_debug()
177 mpi_request->Header.PageNumber, mpi_request->Action, in _config_display_some_debug()
178 le32_to_cpu(mpi_request->PageAddress), smid); in _config_display_some_debug()
297 *mpi_request, Mpi2ConfigReply_t *mpi_reply, int timeout, in _config_request()
317 mpi_request->VF_ID = 0; /* TODO */ in _config_request()
318 mpi_request->VP_ID = 0; in _config_request()
321 mpi_request->Header.PageVersion = mpi_reply->Header.PageVersion; in _config_request()
[all …]
Dmpt3sas_debug.h154 _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()
Dmpt3sas_transport.c356 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_expander_report_manufacture() local
396 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_expander_report_manufacture()
419 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_expander_report_manufacture()
420 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_expander_report_manufacture()
421 mpi_request->PhysicalPort = port_id; in _transport_expander_report_manufacture()
422 mpi_request->SASAddress = cpu_to_le64(sas_address); in _transport_expander_report_manufacture()
423 mpi_request->RequestDataLength = cpu_to_le16(data_out_sz); in _transport_expander_report_manufacture()
424 psge = &mpi_request->SGL; in _transport_expander_report_manufacture()
438 _debug_dump_mf(mpi_request, in _transport_expander_report_manufacture()
1263 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_get_expander_phy_error_log() local
[all …]
Dmpt3sas_ctl.c96 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()
204 if (mpi_request->Function == MPI2_FUNCTION_SCSI_IO_REQUEST || in _ctl_display_some_debug()
205 mpi_request->Function == in _ctl_display_some_debug()
665 MPI2RequestHeader_t *mpi_request = NULL, *request; in _ctl_do_mpt_command() local
695 mpi_request = kzalloc(ioc->request_sz, GFP_KERNEL); in _ctl_do_mpt_command()
[all …]
Dmpt3sas_warpdrive.c257 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()
Dmpt3sas_base.c156 u8 status, void *mpi_request, int sz) in mpt3sas_base_check_cmd_timeout() argument
165 _debug_dump_mf(mpi_request, sz); in mpt3sas_base_check_cmd_timeout()
418 void *mpi_request, u16 smid) in _clone_sg_entries() argument
436 request_hdr = (MPI2RequestHeader_t *) mpi_request; in _clone_sg_entries()
440 (Mpi25SCSIIORequest_t *)mpi_request; in _clone_sg_entries()
445 (Mpi2ConfigRequest_t *)mpi_request; in _clone_sg_entries()
615 Mpi26IoUnitControlRequest_t *mpi_request; in _base_sync_drv_fw_timestamp() local
634 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _base_sync_drv_fw_timestamp()
636 memset(mpi_request, 0, sizeof(Mpi26IoUnitControlRequest_t)); in _base_sync_drv_fw_timestamp()
637 mpi_request->Function = MPI2_FUNCTION_IO_UNIT_CONTROL; in _base_sync_drv_fw_timestamp()
[all …]
Dmpt3sas_scsih.c1753 Mpi25SCSIIORequest_t *mpi_request; in mpt3sas_scsih_scsi_lookup_get() local
1761 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in mpt3sas_scsih_scsi_lookup_get()
1769 if (!mpi_request->DevHandle) in mpt3sas_scsih_scsi_lookup_get()
3050 Mpi2SCSITaskManagementRequest_t *mpi_request; in mpt3sas_scsih_issue_tm() local
3101 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in mpt3sas_scsih_issue_tm()
3103 memset(mpi_request, 0, sizeof(Mpi2SCSITaskManagementRequest_t)); in mpt3sas_scsih_issue_tm()
3105 mpi_request->Function = MPI2_FUNCTION_SCSI_TASK_MGMT; in mpt3sas_scsih_issue_tm()
3106 mpi_request->DevHandle = cpu_to_le16(handle); in mpt3sas_scsih_issue_tm()
3107 mpi_request->TaskType = type; in mpt3sas_scsih_issue_tm()
3110 mpi_request->MsgFlags = tr_method; in mpt3sas_scsih_issue_tm()
[all …]
Dmpt3sas_base.h1760 Mpi2SasIoUnitControlRequest_t *mpi_request);
1762 Mpi2SepReply_t *mpi_reply, Mpi2SepRequest_t *mpi_request);
1781 u8 status, void *mpi_request, int sz);
1782 #define mpt3sas_check_cmd_timeout(ioc, status, mpi_request, sz, issue_reset) \ argument
1785 status, mpi_request, sz); } while (0)
2045 struct _raid_device *raid_device, Mpi25SCSIIORequest_t *mpi_request);
/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr_transport.c133 struct mpi3_smp_passthrough_request mpi_request; in mpi3mr_report_manufacture() local
173 memset(&mpi_request, 0, request_sz); in mpi3mr_report_manufacture()
175 mpi_request.host_tag = cpu_to_le16(MPI3MR_HOSTTAG_TRANSPORT_CMDS); in mpi3mr_report_manufacture()
176 mpi_request.function = MPI3_FUNCTION_SMP_PASSTHROUGH; in mpi3mr_report_manufacture()
177 mpi_request.io_unit_port = (u8) port_id; in mpi3mr_report_manufacture()
178 mpi_request.sas_address = cpu_to_le64(sas_address); in mpi3mr_report_manufacture()
180 psge = &mpi_request.request_sge; in mpi3mr_report_manufacture()
183 psge = &mpi_request.response_sge; in mpi3mr_report_manufacture()
190 rc = mpi3mr_post_transport_req(mrioc, &mpi_request, request_sz, in mpi3mr_report_manufacture()
2516 struct mpi3_smp_passthrough_request mpi_request; in mpi3mr_get_expander_phy_error_log() local
[all …]
/linux-6.1.9/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c4528 struct MPI2_SCSI_TASK_MANAGE_REQUEST *mpi_request; in megasas_issue_tm() local
4563 mpi_request = (struct MPI2_SCSI_TASK_MANAGE_REQUEST *) &mr_request->TmRequest; in megasas_issue_tm()
4564 mpi_request->Function = MPI2_FUNCTION_SCSI_TASK_MGMT; in megasas_issue_tm()
4565 mpi_request->DevHandle = cpu_to_le16(device_handle); in megasas_issue_tm()
4566 mpi_request->TaskType = type; in megasas_issue_tm()
4567 mpi_request->TaskMID = cpu_to_le16(smid_task); in megasas_issue_tm()
4568 mpi_request->LUN[1] = 0; in megasas_issue_tm()