Lines Matching refs:mpi_request
296 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_expander_report_manufacture() local
358 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_expander_report_manufacture()
382 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_expander_report_manufacture()
383 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_expander_report_manufacture()
384 mpi_request->PhysicalPort = 0xFF; in _transport_expander_report_manufacture()
385 mpi_request->SASAddress = cpu_to_le64(sas_address); in _transport_expander_report_manufacture()
386 mpi_request->RequestDataLength = cpu_to_le16(data_out_sz); in _transport_expander_report_manufacture()
387 psge = &mpi_request->SGL; in _transport_expander_report_manufacture()
403 _debug_dump_mf(mpi_request, in _transport_expander_report_manufacture()
1078 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_get_expander_phy_error_log() local
1137 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_get_expander_phy_error_log()
1160 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_get_expander_phy_error_log()
1161 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_get_expander_phy_error_log()
1162 mpi_request->PhysicalPort = 0xFF; in _transport_get_expander_phy_error_log()
1163 mpi_request->VF_ID = 0; /* TODO */ in _transport_get_expander_phy_error_log()
1164 mpi_request->VP_ID = 0; in _transport_get_expander_phy_error_log()
1165 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_get_expander_phy_error_log()
1166 mpi_request->RequestDataLength = in _transport_get_expander_phy_error_log()
1168 psge = &mpi_request->SGL; in _transport_get_expander_phy_error_log()
1187 _debug_dump_mf(mpi_request, in _transport_get_expander_phy_error_log()
1388 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_expander_phy_control() local
1448 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_expander_phy_control()
1476 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_expander_phy_control()
1477 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_expander_phy_control()
1478 mpi_request->PhysicalPort = 0xFF; in _transport_expander_phy_control()
1479 mpi_request->VF_ID = 0; /* TODO */ in _transport_expander_phy_control()
1480 mpi_request->VP_ID = 0; in _transport_expander_phy_control()
1481 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_expander_phy_control()
1482 mpi_request->RequestDataLength = in _transport_expander_phy_control()
1484 psge = &mpi_request->SGL; in _transport_expander_phy_control()
1517 _debug_dump_mf(mpi_request, in _transport_expander_phy_control()
1576 Mpi2SasIoUnitControlRequest_t mpi_request; in _transport_phy_reset() local
1594 memset(&mpi_request, 0, sizeof(Mpi2SasIoUnitControlReply_t)); in _transport_phy_reset()
1595 mpi_request.Function = MPI2_FUNCTION_SAS_IO_UNIT_CONTROL; in _transport_phy_reset()
1596 mpi_request.Operation = hard_reset ? in _transport_phy_reset()
1598 mpi_request.PhyNum = phy->number; in _transport_phy_reset()
1600 if ((mpt3sas_base_sas_iounit_control(ioc, &mpi_reply, &mpi_request))) { in _transport_phy_reset()
1883 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_smp_handler() local
2008 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_smp_handler()
2011 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_smp_handler()
2012 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_smp_handler()
2013 mpi_request->PhysicalPort = 0xFF; in _transport_smp_handler()
2014 mpi_request->SASAddress = (rphy) ? in _transport_smp_handler()
2017 mpi_request->RequestDataLength = cpu_to_le16(blk_rq_bytes(req) - 4); in _transport_smp_handler()
2018 psge = &mpi_request->SGL; in _transport_smp_handler()
2038 _debug_dump_mf(mpi_request, in _transport_smp_handler()