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()
1261 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_get_expander_phy_error_log() local
1298 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_get_expander_phy_error_log()
1322 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_get_expander_phy_error_log()
1323 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_get_expander_phy_error_log()
1324 mpi_request->PhysicalPort = _transport_get_port_id_by_sas_phy(phy); in _transport_get_expander_phy_error_log()
1325 mpi_request->VF_ID = 0; /* TODO */ in _transport_get_expander_phy_error_log()
1326 mpi_request->VP_ID = 0; in _transport_get_expander_phy_error_log()
1327 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_get_expander_phy_error_log()
1328 mpi_request->RequestDataLength = in _transport_get_expander_phy_error_log()
1330 psge = &mpi_request->SGL; in _transport_get_expander_phy_error_log()
1347 _debug_dump_mf(mpi_request, in _transport_get_expander_phy_error_log()
1552 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_expander_phy_control() local
1589 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_expander_phy_control()
1618 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_expander_phy_control()
1619 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_expander_phy_control()
1620 mpi_request->PhysicalPort = _transport_get_port_id_by_sas_phy(phy); in _transport_expander_phy_control()
1621 mpi_request->VF_ID = 0; /* TODO */ in _transport_expander_phy_control()
1622 mpi_request->VP_ID = 0; in _transport_expander_phy_control()
1623 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_expander_phy_control()
1624 mpi_request->RequestDataLength = in _transport_expander_phy_control()
1626 psge = &mpi_request->SGL; in _transport_expander_phy_control()
1643 _debug_dump_mf(mpi_request, in _transport_expander_phy_control()
1701 Mpi2SasIoUnitControlRequest_t mpi_request; in _transport_phy_reset() local
1722 memset(&mpi_request, 0, sizeof(Mpi2SasIoUnitControlRequest_t)); in _transport_phy_reset()
1723 mpi_request.Function = MPI2_FUNCTION_SAS_IO_UNIT_CONTROL; in _transport_phy_reset()
1724 mpi_request.Operation = hard_reset ? in _transport_phy_reset()
1726 mpi_request.PhyNum = phy->number; in _transport_phy_reset()
1728 if ((mpt3sas_base_sas_iounit_control(ioc, &mpi_reply, &mpi_request))) { in _transport_phy_reset()
2047 Mpi2SmpPassthroughRequest_t *mpi_request; in _transport_smp_handler() local
2105 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_smp_handler()
2108 memset(mpi_request, 0, sizeof(Mpi2SmpPassthroughRequest_t)); in _transport_smp_handler()
2109 mpi_request->Function = MPI2_FUNCTION_SMP_PASSTHROUGH; in _transport_smp_handler()
2110 mpi_request->PhysicalPort = _transport_get_port_id_by_rphy(ioc, rphy); in _transport_smp_handler()
2111 mpi_request->SASAddress = (rphy) ? in _transport_smp_handler()
2114 mpi_request->RequestDataLength = cpu_to_le16(dma_len_out - 4); in _transport_smp_handler()
2115 psge = &mpi_request->SGL; in _transport_smp_handler()
2129 _debug_dump_mf(mpi_request, in _transport_smp_handler()