Lines Matching refs:mpi_request

356 	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
1306 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_get_expander_phy_error_log()
1330 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_get_expander_phy_error_log()
1331 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_get_expander_phy_error_log()
1332 mpi_request->PhysicalPort = _transport_get_port_id_by_sas_phy(phy); in _transport_get_expander_phy_error_log()
1333 mpi_request->VF_ID = 0; /* TODO */ in _transport_get_expander_phy_error_log()
1334 mpi_request->VP_ID = 0; in _transport_get_expander_phy_error_log()
1335 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_get_expander_phy_error_log()
1336 mpi_request->RequestDataLength = in _transport_get_expander_phy_error_log()
1338 psge = &mpi_request->SGL; in _transport_get_expander_phy_error_log()
1355 _debug_dump_mf(mpi_request, in _transport_get_expander_phy_error_log()
1560 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_expander_phy_control() local
1597 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_expander_phy_control()
1626 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_expander_phy_control()
1627 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_expander_phy_control()
1628 mpi_request->PhysicalPort = _transport_get_port_id_by_sas_phy(phy); in _transport_expander_phy_control()
1629 mpi_request->VF_ID = 0; /* TODO */ in _transport_expander_phy_control()
1630 mpi_request->VP_ID = 0; in _transport_expander_phy_control()
1631 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_expander_phy_control()
1632 mpi_request->RequestDataLength = in _transport_expander_phy_control()
1634 psge = &mpi_request->SGL; in _transport_expander_phy_control()
1651 _debug_dump_mf(mpi_request, in _transport_expander_phy_control()
1709 Mpi2SasIoUnitControlRequest_t mpi_request; in _transport_phy_reset() local
1730 memset(&mpi_request, 0, sizeof(Mpi2SasIoUnitControlRequest_t)); in _transport_phy_reset()
1731 mpi_request.Function = MPI2_FUNCTION_SAS_IO_UNIT_CONTROL; in _transport_phy_reset()
1732 mpi_request.Operation = hard_reset ? in _transport_phy_reset()
1734 mpi_request.PhyNum = phy->number; in _transport_phy_reset()
1736 if ((mpt3sas_base_sas_iounit_control(ioc, &mpi_reply, &mpi_request))) { in _transport_phy_reset()
2052 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_smp_handler() local
2110 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_smp_handler()
2113 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_smp_handler()
2114 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_smp_handler()
2115 mpi_request->PhysicalPort = _transport_get_port_id_by_rphy(ioc, rphy); in _transport_smp_handler()
2116 mpi_request->SASAddress = (rphy) ? in _transport_smp_handler()
2119 mpi_request->RequestDataLength = cpu_to_le16(dma_len_out - 4); in _transport_smp_handler()
2120 psge = &mpi_request->SGL; in _transport_smp_handler()
2134 _debug_dump_mf(mpi_request, in _transport_smp_handler()