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()
1263 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_get_expander_phy_error_log() local
1300 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_get_expander_phy_error_log()
1324 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_get_expander_phy_error_log()
1325 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_get_expander_phy_error_log()
1326 mpi_request->PhysicalPort = _transport_get_port_id_by_sas_phy(phy); in _transport_get_expander_phy_error_log()
1327 mpi_request->VF_ID = 0; /* TODO */ in _transport_get_expander_phy_error_log()
1328 mpi_request->VP_ID = 0; in _transport_get_expander_phy_error_log()
1329 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_get_expander_phy_error_log()
1330 mpi_request->RequestDataLength = in _transport_get_expander_phy_error_log()
1332 psge = &mpi_request->SGL; in _transport_get_expander_phy_error_log()
1349 _debug_dump_mf(mpi_request, in _transport_get_expander_phy_error_log()
1554 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_expander_phy_control() local
1591 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_expander_phy_control()
1620 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_expander_phy_control()
1621 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_expander_phy_control()
1622 mpi_request->PhysicalPort = _transport_get_port_id_by_sas_phy(phy); in _transport_expander_phy_control()
1623 mpi_request->VF_ID = 0; /* TODO */ in _transport_expander_phy_control()
1624 mpi_request->VP_ID = 0; in _transport_expander_phy_control()
1625 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_expander_phy_control()
1626 mpi_request->RequestDataLength = in _transport_expander_phy_control()
1628 psge = &mpi_request->SGL; in _transport_expander_phy_control()
1645 _debug_dump_mf(mpi_request, in _transport_expander_phy_control()
1703 Mpi2SasIoUnitControlRequest_t mpi_request; in _transport_phy_reset() local
1724 memset(&mpi_request, 0, sizeof(Mpi2SasIoUnitControlRequest_t)); in _transport_phy_reset()
1725 mpi_request.Function = MPI2_FUNCTION_SAS_IO_UNIT_CONTROL; in _transport_phy_reset()
1726 mpi_request.Operation = hard_reset ? in _transport_phy_reset()
1728 mpi_request.PhyNum = phy->number; in _transport_phy_reset()
1730 if ((mpt3sas_base_sas_iounit_control(ioc, &mpi_reply, &mpi_request))) { in _transport_phy_reset()
2049 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_smp_handler() local
2107 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_smp_handler()
2110 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_smp_handler()
2111 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_smp_handler()
2112 mpi_request->PhysicalPort = _transport_get_port_id_by_rphy(ioc, rphy); in _transport_smp_handler()
2113 mpi_request->SASAddress = (rphy) ? in _transport_smp_handler()
2116 mpi_request->RequestDataLength = cpu_to_le16(dma_len_out - 4); in _transport_smp_handler()
2117 psge = &mpi_request->SGL; in _transport_smp_handler()
2131 _debug_dump_mf(mpi_request, in _transport_smp_handler()