Lines Matching refs:mpi_request

133 	struct mpi3_smp_passthrough_request mpi_request;  in mpi3mr_report_manufacture()  local
173 memset(&mpi_request, 0, request_sz); in mpi3mr_report_manufacture()
175 mpi_request.host_tag = cpu_to_le16(MPI3MR_HOSTTAG_TRANSPORT_CMDS); in mpi3mr_report_manufacture()
176 mpi_request.function = MPI3_FUNCTION_SMP_PASSTHROUGH; in mpi3mr_report_manufacture()
177 mpi_request.io_unit_port = (u8) port_id; in mpi3mr_report_manufacture()
178 mpi_request.sas_address = cpu_to_le64(sas_address); in mpi3mr_report_manufacture()
180 psge = &mpi_request.request_sge; in mpi3mr_report_manufacture()
183 psge = &mpi_request.response_sge; in mpi3mr_report_manufacture()
190 rc = mpi3mr_post_transport_req(mrioc, &mpi_request, request_sz, in mpi3mr_report_manufacture()
2519 struct mpi3_smp_passthrough_request mpi_request; in mpi3mr_get_expander_phy_error_log() local
2560 memset(&mpi_request, 0, request_sz); in mpi3mr_get_expander_phy_error_log()
2562 mpi_request.host_tag = cpu_to_le16(MPI3MR_HOSTTAG_TRANSPORT_CMDS); in mpi3mr_get_expander_phy_error_log()
2563 mpi_request.function = MPI3_FUNCTION_SMP_PASSTHROUGH; in mpi3mr_get_expander_phy_error_log()
2564 mpi_request.io_unit_port = (u8) mpi3mr_get_port_id_by_sas_phy(phy); in mpi3mr_get_expander_phy_error_log()
2565 mpi_request.sas_address = cpu_to_le64(phy->identify.sas_address); in mpi3mr_get_expander_phy_error_log()
2567 psge = &mpi_request.request_sge; in mpi3mr_get_expander_phy_error_log()
2570 psge = &mpi_request.response_sge; in mpi3mr_get_expander_phy_error_log()
2577 if (mpi3mr_post_transport_req(mrioc, &mpi_request, request_sz, in mpi3mr_get_expander_phy_error_log()
2775 struct mpi3_smp_passthrough_request mpi_request; in mpi3mr_expander_phy_control() local
2825 memset(&mpi_request, 0, request_sz); in mpi3mr_expander_phy_control()
2827 mpi_request.host_tag = cpu_to_le16(MPI3MR_HOSTTAG_TRANSPORT_CMDS); in mpi3mr_expander_phy_control()
2828 mpi_request.function = MPI3_FUNCTION_SMP_PASSTHROUGH; in mpi3mr_expander_phy_control()
2829 mpi_request.io_unit_port = (u8) mpi3mr_get_port_id_by_sas_phy(phy); in mpi3mr_expander_phy_control()
2830 mpi_request.sas_address = cpu_to_le64(phy->identify.sas_address); in mpi3mr_expander_phy_control()
2832 psge = &mpi_request.request_sge; in mpi3mr_expander_phy_control()
2835 psge = &mpi_request.response_sge; in mpi3mr_expander_phy_control()
2843 if (mpi3mr_post_transport_req(mrioc, &mpi_request, request_sz, in mpi3mr_expander_phy_control()
2883 struct mpi3_iounit_control_request mpi_request; in mpi3mr_transport_phy_reset() local
2901 memset(&mpi_request, 0, request_sz); in mpi3mr_transport_phy_reset()
2902 mpi_request.host_tag = cpu_to_le16(MPI3MR_HOSTTAG_TRANSPORT_CMDS); in mpi3mr_transport_phy_reset()
2903 mpi_request.function = MPI3_FUNCTION_IO_UNIT_CONTROL; in mpi3mr_transport_phy_reset()
2904 mpi_request.operation = MPI3_CTRL_OP_SAS_PHY_CONTROL; in mpi3mr_transport_phy_reset()
2905 mpi_request.param8[MPI3_CTRL_OP_SAS_PHY_CONTROL_PARAM8_ACTION_INDEX] = in mpi3mr_transport_phy_reset()
2908 mpi_request.param8[MPI3_CTRL_OP_SAS_PHY_CONTROL_PARAM8_PHY_INDEX] = in mpi3mr_transport_phy_reset()
2916 if (mpi3mr_post_transport_req(mrioc, &mpi_request, request_sz, in mpi3mr_transport_phy_reset()
3198 struct mpi3_smp_passthrough_request mpi_request; in mpi3mr_transport_smp_handler() local
3235 memset(&mpi_request, 0, request_sz); in mpi3mr_transport_smp_handler()
3237 mpi_request.host_tag = cpu_to_le16(MPI3MR_HOSTTAG_TRANSPORT_CMDS); in mpi3mr_transport_smp_handler()
3238 mpi_request.function = MPI3_FUNCTION_SMP_PASSTHROUGH; in mpi3mr_transport_smp_handler()
3239 mpi_request.io_unit_port = (u8) mpi3mr_get_port_id_by_rphy(mrioc, rphy); in mpi3mr_transport_smp_handler()
3240 mpi_request.sas_address = ((rphy) ? in mpi3mr_transport_smp_handler()
3243 psge = &mpi_request.request_sge; in mpi3mr_transport_smp_handler()
3246 psge = &mpi_request.response_sge; in mpi3mr_transport_smp_handler()
3251 rc = mpi3mr_post_transport_req(mrioc, &mpi_request, request_sz, in mpi3mr_transport_smp_handler()