Lines Matching refs:mpi_reply

144 	Mpi2ConfigReply_t mpi_reply;  in _transport_set_identify()  local
154 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _transport_set_identify()
161 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_set_identify()
236 MPI2DefaultReply_t *mpi_reply; in mpt3sas_transport_done() local
238 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_transport_done()
244 if (mpi_reply) { in mpt3sas_transport_done()
245 memcpy(ioc->transport_cmds.reply, mpi_reply, in mpt3sas_transport_done()
246 mpi_reply->MsgLength*4); in mpt3sas_transport_done()
297 Mpi2SmpPassthroughReply_t *mpi_reply; in _transport_expander_report_manufacture() local
416 mpi_reply = ioc->transport_cmds.reply; in _transport_expander_report_manufacture()
420 ioc->name, le16_to_cpu(mpi_reply->ResponseDataLength))); in _transport_expander_report_manufacture()
422 if (le16_to_cpu(mpi_reply->ResponseDataLength) != in _transport_expander_report_manufacture()
1099 Mpi2SmpPassthroughReply_t *mpi_reply; in _transport_get_expander_phy_error_log() local
1219 mpi_reply = ioc->transport_cmds.reply; in _transport_get_expander_phy_error_log()
1223 ioc->name, le16_to_cpu(mpi_reply->ResponseDataLength))); in _transport_get_expander_phy_error_log()
1225 if (le16_to_cpu(mpi_reply->ResponseDataLength) != in _transport_get_expander_phy_error_log()
1274 Mpi2ConfigReply_t mpi_reply; in _transport_get_linkerrors() local
1289 if ((mpt3sas_config_get_phy_pg1(ioc, &mpi_reply, &phy_pg1, in _transport_get_linkerrors()
1296 if (mpi_reply.IOCStatus || mpi_reply.IOCLogInfo) in _transport_get_linkerrors()
1300 le16_to_cpu(mpi_reply.IOCStatus), in _transport_get_linkerrors()
1301 le32_to_cpu(mpi_reply.IOCLogInfo)); in _transport_get_linkerrors()
1413 Mpi2SmpPassthroughReply_t *mpi_reply; in _transport_expander_phy_control() local
1553 mpi_reply = ioc->transport_cmds.reply; in _transport_expander_phy_control()
1557 ioc->name, le16_to_cpu(mpi_reply->ResponseDataLength))); in _transport_expander_phy_control()
1559 if (le16_to_cpu(mpi_reply->ResponseDataLength) != in _transport_expander_phy_control()
1599 Mpi2SasIoUnitControlReply_t mpi_reply; in _transport_phy_reset() local
1624 if ((mpt3sas_base_sas_iounit_control(ioc, &mpi_reply, &mpi_request))) { in _transport_phy_reset()
1630 if (mpi_reply.IOCStatus || mpi_reply.IOCLogInfo) in _transport_phy_reset()
1633 ioc->name, phy->number, le16_to_cpu(mpi_reply.IOCStatus), in _transport_phy_reset()
1634 le32_to_cpu(mpi_reply.IOCLogInfo)); in _transport_phy_reset()
1653 Mpi2ConfigReply_t mpi_reply; in _transport_phy_enable() local
1686 if ((mpt3sas_config_get_sas_iounit_pg0(ioc, &mpi_reply, in _transport_phy_enable()
1693 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_phy_enable()
1729 if ((mpt3sas_config_get_sas_iounit_pg1(ioc, &mpi_reply, in _transport_phy_enable()
1736 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_phy_enable()
1765 mpt3sas_config_set_sas_iounit_pg1(ioc, &mpi_reply, sas_iounit_pg1, sz); in _transport_phy_enable()
1791 Mpi2ConfigReply_t mpi_reply; in _transport_phy_speed() local
1836 if ((mpt3sas_config_get_sas_iounit_pg1(ioc, &mpi_reply, in _transport_phy_speed()
1843 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_phy_speed()
1864 if (mpt3sas_config_set_sas_iounit_pg1(ioc, &mpi_reply, sas_iounit_pg1, in _transport_phy_speed()
1876 if (!mpt3sas_config_get_phy_pg0(ioc, &mpi_reply, &phy_pg0, in _transport_phy_speed()
1908 Mpi2SmpPassthroughReply_t *mpi_reply; in _transport_smp_handler() local
2074 mpi_reply = ioc->transport_cmds.reply; in _transport_smp_handler()
2079 le16_to_cpu(mpi_reply->ResponseDataLength))); in _transport_smp_handler()
2081 memcpy(req->sense, mpi_reply, sizeof(*mpi_reply)); in _transport_smp_handler()
2082 req->sense_len = sizeof(*mpi_reply); in _transport_smp_handler()
2085 le16_to_cpu(mpi_reply->ResponseDataLength); in _transport_smp_handler()
2092 le16_to_cpu(mpi_reply->ResponseDataLength); in _transport_smp_handler()