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()
2516 struct mpi3_smp_passthrough_request mpi_request; in mpi3mr_get_expander_phy_error_log() local
2557 memset(&mpi_request, 0, request_sz); in mpi3mr_get_expander_phy_error_log()
2559 mpi_request.host_tag = cpu_to_le16(MPI3MR_HOSTTAG_TRANSPORT_CMDS); in mpi3mr_get_expander_phy_error_log()
2560 mpi_request.function = MPI3_FUNCTION_SMP_PASSTHROUGH; in mpi3mr_get_expander_phy_error_log()
2561 mpi_request.io_unit_port = (u8) mpi3mr_get_port_id_by_sas_phy(phy); in mpi3mr_get_expander_phy_error_log()
2562 mpi_request.sas_address = cpu_to_le64(phy->identify.sas_address); in mpi3mr_get_expander_phy_error_log()
2564 psge = &mpi_request.request_sge; in mpi3mr_get_expander_phy_error_log()
2567 psge = &mpi_request.response_sge; in mpi3mr_get_expander_phy_error_log()
2574 if (mpi3mr_post_transport_req(mrioc, &mpi_request, request_sz, in mpi3mr_get_expander_phy_error_log()
2772 struct mpi3_smp_passthrough_request mpi_request; in mpi3mr_expander_phy_control() local
2822 memset(&mpi_request, 0, request_sz); in mpi3mr_expander_phy_control()
2824 mpi_request.host_tag = cpu_to_le16(MPI3MR_HOSTTAG_TRANSPORT_CMDS); in mpi3mr_expander_phy_control()
2825 mpi_request.function = MPI3_FUNCTION_SMP_PASSTHROUGH; in mpi3mr_expander_phy_control()
2826 mpi_request.io_unit_port = (u8) mpi3mr_get_port_id_by_sas_phy(phy); in mpi3mr_expander_phy_control()
2827 mpi_request.sas_address = cpu_to_le64(phy->identify.sas_address); in mpi3mr_expander_phy_control()
2829 psge = &mpi_request.request_sge; in mpi3mr_expander_phy_control()
2832 psge = &mpi_request.response_sge; in mpi3mr_expander_phy_control()
2840 if (mpi3mr_post_transport_req(mrioc, &mpi_request, request_sz, in mpi3mr_expander_phy_control()
2880 struct mpi3_iounit_control_request mpi_request; in mpi3mr_transport_phy_reset() local
2898 memset(&mpi_request, 0, request_sz); in mpi3mr_transport_phy_reset()
2899 mpi_request.host_tag = cpu_to_le16(MPI3MR_HOSTTAG_TRANSPORT_CMDS); in mpi3mr_transport_phy_reset()
2900 mpi_request.function = MPI3_FUNCTION_IO_UNIT_CONTROL; in mpi3mr_transport_phy_reset()
2901 mpi_request.operation = MPI3_CTRL_OP_SAS_PHY_CONTROL; in mpi3mr_transport_phy_reset()
2902 mpi_request.param8[MPI3_CTRL_OP_SAS_PHY_CONTROL_PARAM8_ACTION_INDEX] = in mpi3mr_transport_phy_reset()
2905 mpi_request.param8[MPI3_CTRL_OP_SAS_PHY_CONTROL_PARAM8_PHY_INDEX] = in mpi3mr_transport_phy_reset()
2913 if (mpi3mr_post_transport_req(mrioc, &mpi_request, request_sz, in mpi3mr_transport_phy_reset()
3195 struct mpi3_smp_passthrough_request mpi_request; in mpi3mr_transport_smp_handler() local
3232 memset(&mpi_request, 0, request_sz); in mpi3mr_transport_smp_handler()
3234 mpi_request.host_tag = cpu_to_le16(MPI3MR_HOSTTAG_TRANSPORT_CMDS); in mpi3mr_transport_smp_handler()
3235 mpi_request.function = MPI3_FUNCTION_SMP_PASSTHROUGH; in mpi3mr_transport_smp_handler()
3236 mpi_request.io_unit_port = (u8) mpi3mr_get_port_id_by_rphy(mrioc, rphy); in mpi3mr_transport_smp_handler()
3237 mpi_request.sas_address = ((rphy) ? in mpi3mr_transport_smp_handler()
3240 psge = &mpi_request.request_sge; in mpi3mr_transport_smp_handler()
3243 psge = &mpi_request.response_sge; in mpi3mr_transport_smp_handler()
3248 rc = mpi3mr_post_transport_req(mrioc, &mpi_request, request_sz, in mpi3mr_transport_smp_handler()