Home
last modified time | relevance | path

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

/linux/drivers/scsi/mpt3sas/
H A 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 …]
H A 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()
H A 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()
1269 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_get_expander_phy_error_log() local
[all …]
H A Dmpt3sas_warpdrive.c256 struct _raid_device *raid_device, Mpi25SCSIIORequest_t *mpi_request) in mpt3sas_setup_direct_io() argument
268 v_lba = get_unaligned_be32(&mpi_request->CDB.CDB32[2]); in mpt3sas_setup_direct_io()
270 v_lba = get_unaligned_be64(&mpi_request->CDB.CDB32[2]); in mpt3sas_setup_direct_io()
289 mpi_request->DevHandle = cpu_to_le16(raid_device->pd_handle[column]); in mpt3sas_setup_direct_io()
293 &mpi_request->CDB.CDB32[2]); in mpt3sas_setup_direct_io()
295 put_unaligned_be64(p_lba, &mpi_request->CDB.CDB32[2]); in mpt3sas_setup_direct_io()
H A Dmpt3sas_base.c158 u8 status, void *mpi_request, int sz) in mpt3sas_base_check_cmd_timeout() argument
167 _debug_dump_mf(mpi_request, sz); in mpt3sas_base_check_cmd_timeout()
434 void *mpi_request, u16 smid) in _clone_sg_entries() argument
452 request_hdr = (MPI2RequestHeader_t *) mpi_request; in _clone_sg_entries()
456 (Mpi25SCSIIORequest_t *)mpi_request; in _clone_sg_entries()
461 (Mpi2ConfigRequest_t *)mpi_request; in _clone_sg_entries()
631 Mpi26IoUnitControlRequest_t *mpi_request; in _base_sync_drv_fw_timestamp() local
650 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _base_sync_drv_fw_timestamp()
652 memset(mpi_request, 0, sizeof(Mpi26IoUnitControlRequest_t)); in _base_sync_drv_fw_timestamp()
653 mpi_request->Function = MPI2_FUNCTION_IO_UNIT_CONTROL; in _base_sync_drv_fw_timestamp()
[all …]
H A Dmpt3sas_scsih.c1752 Mpi25SCSIIORequest_t *mpi_request; in mpt3sas_scsih_scsi_lookup_get() local
1760 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in mpt3sas_scsih_scsi_lookup_get()
1768 if (!mpi_request->DevHandle) in mpt3sas_scsih_scsi_lookup_get()
3040 Mpi2SCSITaskManagementRequest_t *mpi_request; in mpt3sas_scsih_issue_tm() local
3091 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in mpt3sas_scsih_issue_tm()
3093 memset(mpi_request, 0, sizeof(Mpi2SCSITaskManagementRequest_t)); in mpt3sas_scsih_issue_tm()
3095 mpi_request->Function = MPI2_FUNCTION_SCSI_TASK_MGMT; in mpt3sas_scsih_issue_tm()
3096 mpi_request->DevHandle = cpu_to_le16(handle); in mpt3sas_scsih_issue_tm()
3097 mpi_request->TaskType = type; in mpt3sas_scsih_issue_tm()
3100 mpi_request->MsgFlags = tr_method; in mpt3sas_scsih_issue_tm()
[all …]
H A Dmpt3sas_base.h1758 Mpi2SasIoUnitControlRequest_t *mpi_request);
1760 Mpi2SepReply_t *mpi_reply, Mpi2SepRequest_t *mpi_request);
1779 u8 status, void *mpi_request, int sz);
1780 #define mpt3sas_check_cmd_timeout(ioc, status, mpi_request, sz, issue_reset) \ argument
1783 status, mpi_request, sz); } while (0)
2047 struct _raid_device *raid_device, Mpi25SCSIIORequest_t *mpi_request);
/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c132 struct mpi3_smp_passthrough_request mpi_request; in mpi3mr_report_manufacture() local
177 memset(&mpi_request, 0, request_sz); in mpi3mr_report_manufacture()
179 mpi_request.host_tag = cpu_to_le16(MPI3MR_HOSTTAG_TRANSPORT_CMDS); in mpi3mr_report_manufacture()
180 mpi_request.function = MPI3_FUNCTION_SMP_PASSTHROUGH; in mpi3mr_report_manufacture()
181 mpi_request.io_unit_port = (u8) port_id; in mpi3mr_report_manufacture()
182 mpi_request.sas_address = cpu_to_le64(sas_address); in mpi3mr_report_manufacture()
184 psge = &mpi_request.request_sge; in mpi3mr_report_manufacture()
187 psge = &mpi_request.response_sge; in mpi3mr_report_manufacture()
194 rc = mpi3mr_post_transport_req(mrioc, &mpi_request, request_sz, in mpi3mr_report_manufacture()
2555 struct mpi3_smp_passthrough_request mpi_request; in mpi3mr_get_expander_phy_error_log() local
[all …]
/linux/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.c4534 struct MPI2_SCSI_TASK_MANAGE_REQUEST *mpi_request; in megasas_issue_tm() local
4569 mpi_request = (struct MPI2_SCSI_TASK_MANAGE_REQUEST *) &mr_request->TmRequest; in megasas_issue_tm()
4570 mpi_request->Function = MPI2_FUNCTION_SCSI_TASK_MGMT; in megasas_issue_tm()
4571 mpi_request->DevHandle = cpu_to_le16(device_handle); in megasas_issue_tm()
4572 mpi_request->TaskType = type; in megasas_issue_tm()
4573 mpi_request->TaskMID = cpu_to_le16(smid_task); in megasas_issue_tm()
4574 mpi_request->LUN[1] = 0; in megasas_issue_tm()