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()
1098 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_get_expander_phy_error_log() local
1157 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_get_expander_phy_error_log()
1180 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_get_expander_phy_error_log()
1181 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_get_expander_phy_error_log()
1182 mpi_request->PhysicalPort = 0xFF; in _transport_get_expander_phy_error_log()
1183 mpi_request->VF_ID = 0; /* TODO */ in _transport_get_expander_phy_error_log()
1184 mpi_request->VP_ID = 0; in _transport_get_expander_phy_error_log()
1185 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_get_expander_phy_error_log()
1186 mpi_request->RequestDataLength = in _transport_get_expander_phy_error_log()
1188 psge = &mpi_request->SGL; in _transport_get_expander_phy_error_log()
1207 _debug_dump_mf(mpi_request, in _transport_get_expander_phy_error_log()
1412 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_expander_phy_control() local
1472 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_expander_phy_control()
1500 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_expander_phy_control()
1501 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_expander_phy_control()
1502 mpi_request->PhysicalPort = 0xFF; in _transport_expander_phy_control()
1503 mpi_request->VF_ID = 0; /* TODO */ in _transport_expander_phy_control()
1504 mpi_request->VP_ID = 0; in _transport_expander_phy_control()
1505 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_expander_phy_control()
1506 mpi_request->RequestDataLength = in _transport_expander_phy_control()
1508 psge = &mpi_request->SGL; in _transport_expander_phy_control()
1541 _debug_dump_mf(mpi_request, in _transport_expander_phy_control()
1600 Mpi2SasIoUnitControlRequest_t mpi_request; in _transport_phy_reset() local
1618 memset(&mpi_request, 0, sizeof(Mpi2SasIoUnitControlReply_t)); in _transport_phy_reset()
1619 mpi_request.Function = MPI2_FUNCTION_SAS_IO_UNIT_CONTROL; in _transport_phy_reset()
1620 mpi_request.Operation = hard_reset ? in _transport_phy_reset()
1622 mpi_request.PhyNum = phy->number; in _transport_phy_reset()
1624 if ((mpt3sas_base_sas_iounit_control(ioc, &mpi_reply, &mpi_request))) { in _transport_phy_reset()
1907 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_smp_handler() local
2032 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_smp_handler()
2035 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_smp_handler()
2036 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_smp_handler()
2037 mpi_request->PhysicalPort = 0xFF; in _transport_smp_handler()
2038 mpi_request->SASAddress = (rphy) ? in _transport_smp_handler()
2041 mpi_request->RequestDataLength = cpu_to_le16(blk_rq_bytes(req) - 4); in _transport_smp_handler()
2042 psge = &mpi_request->SGL; in _transport_smp_handler()
2062 _debug_dump_mf(mpi_request, in _transport_smp_handler()