Lines Matching refs:mpi_reply

206 	Mpi2ConfigReply_t mpi_reply;  in _transport_set_identify()  local
215 if ((mpt3sas_config_get_sas_device_pg0(ioc, &mpi_reply, &sas_device_pg0, in _transport_set_identify()
222 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_set_identify()
295 MPI2DefaultReply_t *mpi_reply; in mpt3sas_transport_done() local
297 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_transport_done()
303 if (mpi_reply) { in mpt3sas_transport_done()
304 memcpy(ioc->transport_cmds.reply, mpi_reply, in mpt3sas_transport_done()
305 mpi_reply->MsgLength*4); in mpt3sas_transport_done()
357 Mpi2SmpPassthroughReply_t *mpi_reply; in _transport_expander_report_manufacture() local
450 mpi_reply = ioc->transport_cmds.reply; in _transport_expander_report_manufacture()
454 le16_to_cpu(mpi_reply->ResponseDataLength))); in _transport_expander_report_manufacture()
456 if (le16_to_cpu(mpi_reply->ResponseDataLength) != in _transport_expander_report_manufacture()
1274 Mpi2SmpPassthroughReply_t *mpi_reply; in _transport_get_expander_phy_error_log() local
1370 mpi_reply = ioc->transport_cmds.reply; in _transport_get_expander_phy_error_log()
1374 le16_to_cpu(mpi_reply->ResponseDataLength))); in _transport_get_expander_phy_error_log()
1376 if (le16_to_cpu(mpi_reply->ResponseDataLength) != in _transport_get_expander_phy_error_log()
1424 Mpi2ConfigReply_t mpi_reply; in _transport_get_linkerrors() local
1442 if ((mpt3sas_config_get_phy_pg1(ioc, &mpi_reply, &phy_pg1, in _transport_get_linkerrors()
1449 if (mpi_reply.IOCStatus || mpi_reply.IOCLogInfo) in _transport_get_linkerrors()
1452 le16_to_cpu(mpi_reply.IOCStatus), in _transport_get_linkerrors()
1453 le32_to_cpu(mpi_reply.IOCLogInfo)); in _transport_get_linkerrors()
1565 Mpi2SmpPassthroughReply_t *mpi_reply; in _transport_expander_phy_control() local
1666 mpi_reply = ioc->transport_cmds.reply; in _transport_expander_phy_control()
1670 le16_to_cpu(mpi_reply->ResponseDataLength))); in _transport_expander_phy_control()
1672 if (le16_to_cpu(mpi_reply->ResponseDataLength) != in _transport_expander_phy_control()
1712 Mpi2SasIoUnitControlReply_t mpi_reply; in _transport_phy_reset() local
1740 if ((mpt3sas_base_sas_iounit_control(ioc, &mpi_reply, &mpi_request))) { in _transport_phy_reset()
1746 if (mpi_reply.IOCStatus || mpi_reply.IOCLogInfo) in _transport_phy_reset()
1748 phy->number, le16_to_cpu(mpi_reply.IOCStatus), in _transport_phy_reset()
1749 le32_to_cpu(mpi_reply.IOCLogInfo)); in _transport_phy_reset()
1768 Mpi2ConfigReply_t mpi_reply; in _transport_phy_enable() local
1804 if ((mpt3sas_config_get_sas_iounit_pg0(ioc, &mpi_reply, in _transport_phy_enable()
1811 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_phy_enable()
1845 if ((mpt3sas_config_get_sas_iounit_pg1(ioc, &mpi_reply, in _transport_phy_enable()
1852 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_phy_enable()
1881 mpt3sas_config_set_sas_iounit_pg1(ioc, &mpi_reply, sas_iounit_pg1, sz); in _transport_phy_enable()
1908 Mpi2ConfigReply_t mpi_reply; in _transport_phy_speed() local
1956 if ((mpt3sas_config_get_sas_iounit_pg1(ioc, &mpi_reply, in _transport_phy_speed()
1963 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _transport_phy_speed()
1984 if (mpt3sas_config_set_sas_iounit_pg1(ioc, &mpi_reply, sas_iounit_pg1, in _transport_phy_speed()
1996 if (!mpt3sas_config_get_phy_pg0(ioc, &mpi_reply, &phy_pg0, in _transport_phy_speed()
2060 Mpi2SmpPassthroughReply_t *mpi_reply; in _transport_smp_handler() local
2159 mpi_reply = ioc->transport_cmds.reply; in _transport_smp_handler()
2164 le16_to_cpu(mpi_reply->ResponseDataLength))); in _transport_smp_handler()
2166 memcpy(job->reply, mpi_reply, sizeof(*mpi_reply)); in _transport_smp_handler()
2167 job->reply_len = sizeof(*mpi_reply); in _transport_smp_handler()
2168 reslen = le16_to_cpu(mpi_reply->ResponseDataLength); in _transport_smp_handler()