Lines Matching refs:mpi_reply
91 * @mpi_reply: reply message frame
99 char *calling_function_name, MPI2DefaultReply_t *mpi_reply)
166 if (!mpi_reply)
169 if (mpi_reply->IOCStatus || mpi_reply->IOCLogInfo)
172 ioc->name, le16_to_cpu(mpi_reply->IOCStatus),
173 le32_to_cpu(mpi_reply->IOCLogInfo));
243 MPI2DefaultReply_t *mpi_reply;
250 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply);
251 if (mpi_reply) {
253 memcpy(ioc->config_cmds.reply, mpi_reply,
254 mpi_reply->MsgLength*4);
258 _config_display_some_debug(ioc, smid, "config_done", mpi_reply);
269 * @mpi_reply: reply mf payload returned from firmware
286 *mpi_request, Mpi2ConfigReply_t *mpi_reply, int timeout,
314 mpi_request->Header.PageVersion = mpi_reply->Header.PageVersion;
315 mpi_request->Header.PageNumber = mpi_reply->Header.PageNumber;
316 mpi_request->Header.PageType = mpi_reply->Header.PageType;
317 mpi_request->Header.PageLength = mpi_reply->Header.PageLength;
318 mpi_request->ExtPageLength = mpi_reply->ExtPageLength;
319 mpi_request->ExtPageType = mpi_reply->ExtPageType;
323 mem.sz = le16_to_cpu(mpi_reply->ExtPageLength) * 4;
384 memset(mpi_reply, 0, sizeof(Mpi2ConfigReply_t));
413 memcpy(mpi_reply, ioc->config_cmds.reply,
418 (mpi_reply->Header.PageType & 0xF)) {
420 _debug_dump_reply(mpi_reply, ioc->request_sz/4);
422 " mpi_reply mismatch: Requested PageType(0x%02x)" \
426 (mpi_reply->Header.PageType & 0xF));
431 mpi_request->ExtPageType != mpi_reply->ExtPageType) {
433 _debug_dump_reply(mpi_reply, ioc->request_sz/4);
435 " mpi_reply mismatch: Requested ExtPageType(0x%02x)"
438 mpi_reply->ExtPageType);
440 ioc_status = le16_to_cpu(mpi_reply->IOCStatus)
458 _debug_dump_reply(mpi_reply, ioc->request_sz/4);
475 _debug_dump_reply(mpi_reply, ioc->request_sz/4);
507 * @mpi_reply: reply mf payload returned from firmware
515 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage0_t *config_page)
527 r = _config_request(ioc, &mpi_request, mpi_reply,
533 r = _config_request(ioc, &mpi_request, mpi_reply,
543 * @mpi_reply: reply mf payload returned from firmware
552 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage7_t *config_page,
565 r = _config_request(ioc, &mpi_request, mpi_reply,
571 r = _config_request(ioc, &mpi_request, mpi_reply,
581 * @mpi_reply: reply mf payload returned from firmware
589 Mpi2ConfigReply_t *mpi_reply,
602 r = _config_request(ioc, &mpi_request, mpi_reply,
608 r = _config_request(ioc, &mpi_request, mpi_reply,
618 * @mpi_reply: reply mf payload returned from firmware
626 Mpi2ConfigReply_t *mpi_reply,
639 r = _config_request(ioc, &mpi_request, mpi_reply,
645 r = _config_request(ioc, &mpi_request, mpi_reply,
655 * @mpi_reply: reply mf payload returned from firmware
663 Mpi2ConfigReply_t *mpi_reply,
676 r = _config_request(ioc, &mpi_request, mpi_reply,
682 r = _config_request(ioc, &mpi_request, mpi_reply,
686 r = _config_request(ioc, &mpi_request, mpi_reply,
696 * @mpi_reply: reply mf payload returned from firmware
704 Mpi2ConfigReply_t *mpi_reply, Mpi2BiosPage2_t *config_page)
716 r = _config_request(ioc, &mpi_request, mpi_reply,
722 r = _config_request(ioc, &mpi_request, mpi_reply,
732 * @mpi_reply: reply mf payload returned from firmware
740 *mpi_reply, Mpi2BiosPage3_t *config_page)
752 r = _config_request(ioc, &mpi_request, mpi_reply,
758 r = _config_request(ioc, &mpi_request, mpi_reply,
768 * @mpi_reply: reply mf payload returned from firmware
776 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage0_t *config_page)
788 r = _config_request(ioc, &mpi_request, mpi_reply,
794 r = _config_request(ioc, &mpi_request, mpi_reply,
804 * @mpi_reply: reply mf payload returned from firmware
812 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage1_t *config_page)
824 r = _config_request(ioc, &mpi_request, mpi_reply,
830 r = _config_request(ioc, &mpi_request, mpi_reply,
840 * @mpi_reply: reply mf payload returned from firmware
848 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage1_t *config_page)
860 r = _config_request(ioc, &mpi_request, mpi_reply,
866 r = _config_request(ioc, &mpi_request, mpi_reply,
876 * @mpi_reply: reply mf payload returned from firmware
884 Mpi2ConfigReply_t *mpi_reply, Mpi2IOCPage8_t *config_page)
896 r = _config_request(ioc, &mpi_request, mpi_reply,
902 r = _config_request(ioc, &mpi_request, mpi_reply,
912 * @mpi_reply: reply mf payload returned from firmware
922 Mpi2ConfigReply_t *mpi_reply, Mpi2SasDevicePage0_t *config_page,
936 r = _config_request(ioc, &mpi_request, mpi_reply,
943 r = _config_request(ioc, &mpi_request, mpi_reply,
953 * @mpi_reply: reply mf payload returned from firmware
963 Mpi2ConfigReply_t *mpi_reply, Mpi2SasDevicePage1_t *config_page,
977 r = _config_request(ioc, &mpi_request, mpi_reply,
984 r = _config_request(ioc, &mpi_request, mpi_reply,
1005 Mpi2ConfigReply_t mpi_reply;
1017 r = _config_request(ioc, &mpi_request, &mpi_reply,
1023 r = _config_request(ioc, &mpi_request, &mpi_reply,
1027 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
1039 * @mpi_reply: reply mf payload returned from firmware
1051 Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage0_t *config_page,
1065 r = _config_request(ioc, &mpi_request, mpi_reply,
1071 r = _config_request(ioc, &mpi_request, mpi_reply,
1080 * @mpi_reply: reply mf payload returned from firmware
1092 Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage1_t *config_page,
1106 r = _config_request(ioc, &mpi_request, mpi_reply,
1112 r = _config_request(ioc, &mpi_request, mpi_reply,
1121 * @mpi_reply: reply mf payload returned from firmware
1133 Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage1_t *config_page,
1147 r = _config_request(ioc, &mpi_request, mpi_reply,
1153 _config_request(ioc, &mpi_request, mpi_reply,
1156 r = _config_request(ioc, &mpi_request, mpi_reply,
1165 * @mpi_reply: reply mf payload returned from firmware
1175 *mpi_reply, Mpi2ExpanderPage0_t *config_page, u32 form, u32 handle)
1188 r = _config_request(ioc, &mpi_request, mpi_reply,
1195 r = _config_request(ioc, &mpi_request, mpi_reply,
1205 * @mpi_reply: reply mf payload returned from firmware
1215 *mpi_reply, Mpi2ExpanderPage1_t *config_page, u32 phy_number,
1229 r = _config_request(ioc, &mpi_request, mpi_reply,
1238 r = _config_request(ioc, &mpi_request, mpi_reply,
1248 * @mpi_reply: reply mf payload returned from firmware
1258 *mpi_reply, Mpi2SasEnclosurePage0_t *config_page, u32 form, u32 handle)
1271 r = _config_request(ioc, &mpi_request, mpi_reply,
1278 r = _config_request(ioc, &mpi_request, mpi_reply,
1288 * @mpi_reply: reply mf payload returned from firmware
1297 *mpi_reply, Mpi2SasPhyPage0_t *config_page, u32 phy_number)
1310 r = _config_request(ioc, &mpi_request, mpi_reply,
1318 r = _config_request(ioc, &mpi_request, mpi_reply,
1328 * @mpi_reply: reply mf payload returned from firmware
1337 *mpi_reply, Mpi2SasPhyPage1_t *config_page, u32 phy_number)
1350 r = _config_request(ioc, &mpi_request, mpi_reply,
1358 r = _config_request(ioc, &mpi_request, mpi_reply,
1368 * @mpi_reply: reply mf payload returned from firmware
1378 Mpi2ConfigReply_t *mpi_reply, Mpi2RaidVolPage1_t *config_page, u32 form,
1391 r = _config_request(ioc, &mpi_request, mpi_reply,
1398 r = _config_request(ioc, &mpi_request, mpi_reply,
1420 Mpi2ConfigReply_t mpi_reply;
1432 r = _config_request(ioc, &mpi_request, &mpi_reply,
1440 r = _config_request(ioc, &mpi_request, &mpi_reply,
1444 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
1457 * @mpi_reply: reply mf payload returned from firmware
1468 Mpi2ConfigReply_t *mpi_reply, Mpi2RaidVolPage0_t *config_page, u32 form,
1481 r = _config_request(ioc, &mpi_request, mpi_reply,
1488 r = _config_request(ioc, &mpi_request, mpi_reply,
1497 * @mpi_reply: reply mf payload returned from firmware
1507 *mpi_reply, Mpi2RaidPhysDiskPage0_t *config_page, u32 form,
1520 r = _config_request(ioc, &mpi_request, mpi_reply,
1527 r = _config_request(ioc, &mpi_request, mpi_reply,
1550 Mpi2ConfigReply_t mpi_reply;
1566 r = _config_request(ioc, &mpi_request, &mpi_reply,
1572 config_page_sz = (le16_to_cpu(mpi_reply.ExtPageLength) * 4);
1583 r = _config_request(ioc, &mpi_request, &mpi_reply,
1589 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) &
1638 Mpi2ConfigReply_t mpi_reply;
1642 if (!(mpt3sas_config_get_raid_volume_pg1(ioc, &mpi_reply,