Lines Matching refs:mpi_request

292 	Mpi2SmpPassthroughRequest_t *mpi_request;  in _transport_expander_report_manufacture()  local
353 mpi_request = mpt2sas_base_get_msg_frame(ioc, smid); in _transport_expander_report_manufacture()
373 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_expander_report_manufacture()
374 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_expander_report_manufacture()
375 mpi_request->PhysicalPort = 0xFF; in _transport_expander_report_manufacture()
376 mpi_request->VF_ID = 0; /* TODO */ in _transport_expander_report_manufacture()
377 mpi_request->VP_ID = 0; in _transport_expander_report_manufacture()
378 mpi_request->SASAddress = cpu_to_le64(sas_address); in _transport_expander_report_manufacture()
379 mpi_request->RequestDataLength = in _transport_expander_report_manufacture()
381 psge = &mpi_request->SGL; in _transport_expander_report_manufacture()
413 _debug_dump_mf(mpi_request, in _transport_expander_report_manufacture()
1082 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_get_expander_phy_error_log() local
1142 mpi_request = mpt2sas_base_get_msg_frame(ioc, smid); in _transport_get_expander_phy_error_log()
1165 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_get_expander_phy_error_log()
1166 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_get_expander_phy_error_log()
1167 mpi_request->PhysicalPort = 0xFF; in _transport_get_expander_phy_error_log()
1168 mpi_request->VF_ID = 0; /* TODO */ in _transport_get_expander_phy_error_log()
1169 mpi_request->VP_ID = 0; in _transport_get_expander_phy_error_log()
1170 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_get_expander_phy_error_log()
1171 mpi_request->RequestDataLength = in _transport_get_expander_phy_error_log()
1173 psge = &mpi_request->SGL; in _transport_get_expander_phy_error_log()
1205 _debug_dump_mf(mpi_request, in _transport_get_expander_phy_error_log()
1405 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_expander_phy_control() local
1465 mpi_request = mpt2sas_base_get_msg_frame(ioc, smid); in _transport_expander_phy_control()
1493 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_expander_phy_control()
1494 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_expander_phy_control()
1495 mpi_request->PhysicalPort = 0xFF; in _transport_expander_phy_control()
1496 mpi_request->VF_ID = 0; /* TODO */ in _transport_expander_phy_control()
1497 mpi_request->VP_ID = 0; in _transport_expander_phy_control()
1498 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_expander_phy_control()
1499 mpi_request->RequestDataLength = in _transport_expander_phy_control()
1501 psge = &mpi_request->SGL; in _transport_expander_phy_control()
1535 _debug_dump_mf(mpi_request, in _transport_expander_phy_control()
1594 Mpi2SasIoUnitControlRequest_t mpi_request; in _transport_phy_reset() local
1612 memset(&mpi_request, 0, sizeof(Mpi2SasIoUnitControlReply_t)); in _transport_phy_reset()
1613 mpi_request.Function = MPI2_FUNCTION_SAS_IO_UNIT_CONTROL; in _transport_phy_reset()
1614 mpi_request.Operation = hard_reset ? in _transport_phy_reset()
1616 mpi_request.PhyNum = phy->number; in _transport_phy_reset()
1618 if ((mpt2sas_base_sas_iounit_control(ioc, &mpi_reply, &mpi_request))) { in _transport_phy_reset()
1900 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_smp_handler() local
2025 mpi_request = mpt2sas_base_get_msg_frame(ioc, smid); in _transport_smp_handler()
2028 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_smp_handler()
2029 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_smp_handler()
2030 mpi_request->PhysicalPort = 0xFF; in _transport_smp_handler()
2031 mpi_request->VF_ID = 0; /* TODO */ in _transport_smp_handler()
2032 mpi_request->VP_ID = 0; in _transport_smp_handler()
2033 mpi_request->SASAddress = (rphy) ? in _transport_smp_handler()
2036 mpi_request->RequestDataLength = cpu_to_le16(blk_rq_bytes(req) - 4); in _transport_smp_handler()
2037 psge = &mpi_request->SGL; in _transport_smp_handler()
2078 _debug_dump_mf(mpi_request, in _transport_smp_handler()