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()
1079 Mpi2SmpPassthroughReply_t *mpi_reply; in _transport_get_expander_phy_error_log() local
1199 mpi_reply = ioc->transport_cmds.reply; in _transport_get_expander_phy_error_log()
1203 ioc->name, le16_to_cpu(mpi_reply->ResponseDataLength))); in _transport_get_expander_phy_error_log()
1205 if (le16_to_cpu(mpi_reply->ResponseDataLength) != in _transport_get_expander_phy_error_log()
1254 Mpi2ConfigReply_t mpi_reply; in _transport_get_linkerrors() local
1269 if ((mpt3sas_config_get_phy_pg1(ioc, &mpi_reply, &phy_pg1, in _transport_get_linkerrors()
1276 if (mpi_reply.IOCStatus || mpi_reply.IOCLogInfo) in _transport_get_linkerrors()
1280 le16_to_cpu(mpi_reply.IOCStatus), in _transport_get_linkerrors()
1281 le32_to_cpu(mpi_reply.IOCLogInfo)); in _transport_get_linkerrors()
1389 Mpi2SmpPassthroughReply_t *mpi_reply; in _transport_expander_phy_control() local
1529 mpi_reply = ioc->transport_cmds.reply; in _transport_expander_phy_control()
1533 ioc->name, le16_to_cpu(mpi_reply->ResponseDataLength))); in _transport_expander_phy_control()
1535 if (le16_to_cpu(mpi_reply->ResponseDataLength) != in _transport_expander_phy_control()
1575 Mpi2SasIoUnitControlReply_t mpi_reply; in _transport_phy_reset() local
1600 if ((mpt3sas_base_sas_iounit_control(ioc, &mpi_reply, &mpi_request))) { in _transport_phy_reset()
1606 if (mpi_reply.IOCStatus || mpi_reply.IOCLogInfo) in _transport_phy_reset()
1609 ioc->name, phy->number, le16_to_cpu(mpi_reply.IOCStatus), in _transport_phy_reset()
1610 le32_to_cpu(mpi_reply.IOCLogInfo)); in _transport_phy_reset()
1629 Mpi2ConfigReply_t mpi_reply; in _transport_phy_enable() local
1662 if ((mpt3sas_config_get_sas_iounit_pg0(ioc, &mpi_reply, in _transport_phy_enable()
1669 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_phy_enable()
1705 if ((mpt3sas_config_get_sas_iounit_pg1(ioc, &mpi_reply, in _transport_phy_enable()
1712 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_phy_enable()
1741 mpt3sas_config_set_sas_iounit_pg1(ioc, &mpi_reply, sas_iounit_pg1, sz); in _transport_phy_enable()
1767 Mpi2ConfigReply_t mpi_reply; in _transport_phy_speed() local
1812 if ((mpt3sas_config_get_sas_iounit_pg1(ioc, &mpi_reply, in _transport_phy_speed()
1819 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_phy_speed()
1840 if (mpt3sas_config_set_sas_iounit_pg1(ioc, &mpi_reply, sas_iounit_pg1, in _transport_phy_speed()
1852 if (!mpt3sas_config_get_phy_pg0(ioc, &mpi_reply, &phy_pg0, in _transport_phy_speed()
1884 Mpi2SmpPassthroughReply_t *mpi_reply; in _transport_smp_handler() local
2050 mpi_reply = ioc->transport_cmds.reply; in _transport_smp_handler()
2055 le16_to_cpu(mpi_reply->ResponseDataLength))); in _transport_smp_handler()
2057 memcpy(req->sense, mpi_reply, sizeof(*mpi_reply)); in _transport_smp_handler()
2058 req->sense_len = sizeof(*mpi_reply); in _transport_smp_handler()
2061 le16_to_cpu(mpi_reply->ResponseDataLength); in _transport_smp_handler()
2068 le16_to_cpu(mpi_reply->ResponseDataLength); in _transport_smp_handler()