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()
1273 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_get_expander_phy_error_log() local
1310 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_get_expander_phy_error_log()
1334 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_get_expander_phy_error_log()
1335 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_get_expander_phy_error_log()
1336 mpi_request->PhysicalPort = _transport_get_port_id_by_sas_phy(phy); in _transport_get_expander_phy_error_log()
1337 mpi_request->VF_ID = 0; /* TODO */ in _transport_get_expander_phy_error_log()
1338 mpi_request->VP_ID = 0; in _transport_get_expander_phy_error_log()
1339 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_get_expander_phy_error_log()
1340 mpi_request->RequestDataLength = in _transport_get_expander_phy_error_log()
1342 psge = &mpi_request->SGL; in _transport_get_expander_phy_error_log()
1359 _debug_dump_mf(mpi_request, in _transport_get_expander_phy_error_log()
1564 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_expander_phy_control() local
1601 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_expander_phy_control()
1630 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_expander_phy_control()
1631 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_expander_phy_control()
1632 mpi_request->PhysicalPort = _transport_get_port_id_by_sas_phy(phy); in _transport_expander_phy_control()
1633 mpi_request->VF_ID = 0; /* TODO */ in _transport_expander_phy_control()
1634 mpi_request->VP_ID = 0; in _transport_expander_phy_control()
1635 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_expander_phy_control()
1636 mpi_request->RequestDataLength = in _transport_expander_phy_control()
1638 psge = &mpi_request->SGL; in _transport_expander_phy_control()
1655 _debug_dump_mf(mpi_request, in _transport_expander_phy_control()
1713 Mpi2SasIoUnitControlRequest_t mpi_request; in _transport_phy_reset() local
1734 memset(&mpi_request, 0, sizeof(Mpi2SasIoUnitControlRequest_t)); in _transport_phy_reset()
1735 mpi_request.Function = MPI2_FUNCTION_SAS_IO_UNIT_CONTROL; in _transport_phy_reset()
1736 mpi_request.Operation = hard_reset ? in _transport_phy_reset()
1738 mpi_request.PhyNum = phy->number; in _transport_phy_reset()
1740 if ((mpt3sas_base_sas_iounit_control(ioc, &mpi_reply, &mpi_request))) { in _transport_phy_reset()
2059 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_smp_handler() local
2117 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_smp_handler()
2120 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_smp_handler()
2121 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_smp_handler()
2122 mpi_request->PhysicalPort = _transport_get_port_id_by_rphy(ioc, rphy); in _transport_smp_handler()
2123 mpi_request->SASAddress = (rphy) ? in _transport_smp_handler()
2126 mpi_request->RequestDataLength = cpu_to_le16(dma_len_out - 4); in _transport_smp_handler()
2127 psge = &mpi_request->SGL; in _transport_smp_handler()
2141 _debug_dump_mf(mpi_request, in _transport_smp_handler()