Home
last modified time | relevance | path

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

/drivers/scsi/mpt3sas/
Dmpt3sas_config.c101 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()
163 mpi_request->Header.PageNumber, mpi_request->Action, in _config_display_some_debug()
164 le32_to_cpu(mpi_request->PageAddress), smid); in _config_display_some_debug()
286 *mpi_request, Mpi2ConfigReply_t *mpi_reply, int timeout, in _config_request()
310 mpi_request->VF_ID = 0; /* TODO */ in _config_request()
311 mpi_request->VP_ID = 0; in _config_request()
314 mpi_request->Header.PageVersion = mpi_reply->Header.PageVersion; in _config_request()
[all …]
Dmpt3sas_debug.h162 _debug_dump_mf(void *mpi_request, int sz) in _debug_dump_mf() argument
165 __le32 *mfp = (__le32 *)mpi_request; in _debug_dump_mf()
181 _debug_dump_reply(void *mpi_request, int sz) in _debug_dump_reply() argument
184 __le32 *mfp = (__le32 *)mpi_request; in _debug_dump_reply()
200 _debug_dump_config(void *mpi_request, int sz) in _debug_dump_config() argument
203 __le32 *mfp = (__le32 *)mpi_request; in _debug_dump_config()
214 #define _debug_dump_mf(mpi_request, sz) argument
215 #define _debug_dump_reply(mpi_request, sz) argument
216 #define _debug_dump_config(mpi_request, sz) argument
Dmpt3sas_ctl.c122 Mpi2ConfigRequest_t *mpi_request; in _ctl_display_some_debug() local
128 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _ctl_display_some_debug()
129 switch (mpi_request->Function) { in _ctl_display_some_debug()
133 (Mpi2SCSIIORequest_t *)mpi_request; in _ctl_display_some_debug()
154 (Mpi2ConfigRequest_t *)mpi_request; in _ctl_display_some_debug()
185 (Mpi2SCSIIORequest_t *)mpi_request; in _ctl_display_some_debug()
226 if (mpi_request->Function == MPI2_FUNCTION_SCSI_IO_REQUEST || in _ctl_display_some_debug()
227 mpi_request->Function == in _ctl_display_some_debug()
614 MPI2RequestHeader_t *mpi_request = NULL, *request; in _ctl_do_mpt_command() local
662 mpi_request = kzalloc(ioc->request_sz, GFP_KERNEL); in _ctl_do_mpt_command()
[all …]
Dmpt3sas_transport.c295 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_expander_report_manufacture() local
357 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_expander_report_manufacture()
381 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_expander_report_manufacture()
382 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_expander_report_manufacture()
383 mpi_request->PhysicalPort = 0xFF; in _transport_expander_report_manufacture()
384 mpi_request->SASAddress = cpu_to_le64(sas_address); in _transport_expander_report_manufacture()
385 mpi_request->RequestDataLength = cpu_to_le16(data_out_sz); in _transport_expander_report_manufacture()
386 psge = &mpi_request->SGL; in _transport_expander_report_manufacture()
402 _debug_dump_mf(mpi_request, in _transport_expander_report_manufacture()
1077 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_get_expander_phy_error_log() local
[all …]
Dmpt3sas_base.c1312 Mpi2SCSIIORequest_t *mpi_request; in _base_build_sg_scmd_ieee() local
1325 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _base_build_sg_scmd_ieee()
1344 sg_local = &mpi_request->SGL; in _base_build_sg_scmd_ieee()
1350 mpi_request->ChainOffset = (sges_in_segment - 1 /* chain element */) + in _base_build_sg_scmd_ieee()
3417 Mpi2SasIoUnitControlRequest_t *mpi_request) in mpt3sas_base_sas_iounit_control() argument
3468 memcpy(request, mpi_request, sizeof(Mpi2SasIoUnitControlRequest_t)); in mpt3sas_base_sas_iounit_control()
3469 if (mpi_request->Operation == MPI2_SAS_OP_PHY_HARD_RESET || in mpt3sas_base_sas_iounit_control()
3470 mpi_request->Operation == MPI2_SAS_OP_PHY_LINK_RESET) in mpt3sas_base_sas_iounit_control()
3476 if ((mpi_request->Operation == MPI2_SAS_OP_PHY_HARD_RESET || in mpt3sas_base_sas_iounit_control()
3477 mpi_request->Operation == MPI2_SAS_OP_PHY_LINK_RESET) && in mpt3sas_base_sas_iounit_control()
[all …]
Dmpt3sas_scsih.c2048 Mpi2SCSITaskManagementRequest_t *mpi_request; in mpt3sas_scsih_issue_tm() local
2107 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in mpt3sas_scsih_issue_tm()
2109 memset(mpi_request, 0, sizeof(Mpi2SCSITaskManagementRequest_t)); in mpt3sas_scsih_issue_tm()
2111 mpi_request->Function = MPI2_FUNCTION_SCSI_TASK_MGMT; in mpt3sas_scsih_issue_tm()
2112 mpi_request->DevHandle = cpu_to_le16(handle); in mpt3sas_scsih_issue_tm()
2113 mpi_request->TaskType = type; in mpt3sas_scsih_issue_tm()
2114 mpi_request->TaskMID = cpu_to_le16(smid_task); in mpt3sas_scsih_issue_tm()
2115 int_to_scsilun(lun, (struct scsi_lun *)mpi_request->LUN); in mpt3sas_scsih_issue_tm()
2123 _debug_dump_mf(mpi_request, in mpt3sas_scsih_issue_tm()
2146 _debug_dump_mf(mpi_request, in mpt3sas_scsih_issue_tm()
[all …]
Dmpt3sas_base.h1007 Mpi2SasIoUnitControlRequest_t *mpi_request);
1009 Mpi2SepReply_t *mpi_reply, Mpi2SepRequest_t *mpi_request);
/drivers/scsi/mpt2sas/
Dmpt2sas_config.c102 Mpi2ConfigRequest_t *mpi_request; in _config_display_some_debug() local
108 mpi_request = mpt2sas_base_get_msg_frame(ioc, smid); in _config_display_some_debug()
109 switch (mpi_request->Header.PageType & MPI2_CONFIG_PAGETYPE_MASK) { in _config_display_some_debug()
129 switch (mpi_request->ExtPageType) { in _config_display_some_debug()
163 mpi_request->Header.PageNumber, mpi_request->Action, in _config_display_some_debug()
164 le32_to_cpu(mpi_request->PageAddress), smid); in _config_display_some_debug()
286 *mpi_request, Mpi2ConfigReply_t *mpi_reply, int timeout, in _config_request()
309 mpi_request->VF_ID = 0; /* TODO */ in _config_request()
310 mpi_request->VP_ID = 0; in _config_request()
313 mpi_request->Header.PageVersion = mpi_reply->Header.PageVersion; in _config_request()
[all …]
Dmpt2sas_transport.c291 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_expander_report_manufacture() local
352 mpi_request = mpt2sas_base_get_msg_frame(ioc, smid); in _transport_expander_report_manufacture()
372 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_expander_report_manufacture()
373 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_expander_report_manufacture()
374 mpi_request->PhysicalPort = 0xFF; in _transport_expander_report_manufacture()
375 mpi_request->VF_ID = 0; /* TODO */ in _transport_expander_report_manufacture()
376 mpi_request->VP_ID = 0; in _transport_expander_report_manufacture()
377 mpi_request->SASAddress = cpu_to_le64(sas_address); in _transport_expander_report_manufacture()
378 mpi_request->RequestDataLength = in _transport_expander_report_manufacture()
380 psge = &mpi_request->SGL; in _transport_expander_report_manufacture()
[all …]
Dmpt2sas_ctl.c125 Mpi2ConfigRequest_t *mpi_request; in _ctl_display_some_debug() local
131 mpi_request = mpt2sas_base_get_msg_frame(ioc, smid); in _ctl_display_some_debug()
132 switch (mpi_request->Function) { in _ctl_display_some_debug()
136 (Mpi2SCSIIORequest_t *)mpi_request; in _ctl_display_some_debug()
157 (Mpi2ConfigRequest_t *)mpi_request; in _ctl_display_some_debug()
188 (Mpi2SCSIIORequest_t *)mpi_request; in _ctl_display_some_debug()
229 if (mpi_request->Function == MPI2_FUNCTION_SCSI_IO_REQUEST || in _ctl_display_some_debug()
230 mpi_request->Function == in _ctl_display_some_debug()
619 MPI2RequestHeader_t *mpi_request = NULL, *request; in _ctl_do_mpt_command() local
667 mpi_request = kzalloc(ioc->request_sz, GFP_KERNEL); in _ctl_do_mpt_command()
[all …]
Dmpt2sas_scsih.c1055 Mpi2SCSIIORequest_t *mpi_request; in _scsih_build_scatter_gather() local
1069 mpi_request = mpt2sas_base_get_msg_frame(ioc, smid); in _scsih_build_scatter_gather()
1090 sg_local = &mpi_request->SGL; in _scsih_build_scatter_gather()
1095 mpi_request->ChainOffset = (offsetof(Mpi2SCSIIORequest_t, SGL) + in _scsih_build_scatter_gather()
2389 Mpi2SCSITaskManagementRequest_t *mpi_request; in mpt2sas_scsih_issue_tm() local
2448 mpi_request = mpt2sas_base_get_msg_frame(ioc, smid); in mpt2sas_scsih_issue_tm()
2450 memset(mpi_request, 0, sizeof(Mpi2SCSITaskManagementRequest_t)); in mpt2sas_scsih_issue_tm()
2452 mpi_request->Function = MPI2_FUNCTION_SCSI_TASK_MGMT; in mpt2sas_scsih_issue_tm()
2453 mpi_request->DevHandle = cpu_to_le16(handle); in mpt2sas_scsih_issue_tm()
2454 mpi_request->TaskType = type; in mpt2sas_scsih_issue_tm()
[all …]
Dmpt2sas_base.c3234 Mpi2SasIoUnitControlRequest_t *mpi_request) in mpt2sas_base_sas_iounit_control() argument
3285 memcpy(request, mpi_request, sizeof(Mpi2SasIoUnitControlRequest_t)); in mpt2sas_base_sas_iounit_control()
3286 if (mpi_request->Operation == MPI2_SAS_OP_PHY_HARD_RESET || in mpt2sas_base_sas_iounit_control()
3287 mpi_request->Operation == MPI2_SAS_OP_PHY_LINK_RESET) in mpt2sas_base_sas_iounit_control()
3293 if ((mpi_request->Operation == MPI2_SAS_OP_PHY_HARD_RESET || in mpt2sas_base_sas_iounit_control()
3294 mpi_request->Operation == MPI2_SAS_OP_PHY_LINK_RESET) && in mpt2sas_base_sas_iounit_control()
3300 _debug_dump_mf(mpi_request, in mpt2sas_base_sas_iounit_control()
3339 Mpi2SepReply_t *mpi_reply, Mpi2SepRequest_t *mpi_request) in mpt2sas_base_scsi_enclosure_processor() argument
3390 memcpy(request, mpi_request, sizeof(Mpi2SepReply_t)); in mpt2sas_base_scsi_enclosure_processor()
3398 _debug_dump_mf(mpi_request, in mpt2sas_base_scsi_enclosure_processor()
[all …]
Dmpt2sas_debug.h164 _debug_dump_mf(void *mpi_request, int sz) in _debug_dump_mf() argument
167 __le32 *mfp = (__le32 *)mpi_request; in _debug_dump_mf()
178 #define _debug_dump_mf(mpi_request, sz) argument
Dmpt2sas_base.h1065 *mpi_request);
1067 Mpi2SepReply_t *mpi_reply, Mpi2SepRequest_t *mpi_request);