Lines Matching refs:mpi_reply

99 	char *calling_function_name, MPI2DefaultReply_t *mpi_reply)  in _config_display_some_debug()  argument
183 if (!mpi_reply) in _config_display_some_debug()
186 if (mpi_reply->IOCStatus || mpi_reply->IOCLogInfo) in _config_display_some_debug()
188 le16_to_cpu(mpi_reply->IOCStatus), in _config_display_some_debug()
189 le32_to_cpu(mpi_reply->IOCLogInfo)); in _config_display_some_debug()
258 MPI2DefaultReply_t *mpi_reply; in mpt3sas_config_done() local
265 mpi_reply = mpt3sas_base_get_reply_virt_addr(ioc, reply); in mpt3sas_config_done()
266 if (mpi_reply) { in mpt3sas_config_done()
268 memcpy(ioc->config_cmds.reply, mpi_reply, in mpt3sas_config_done()
269 mpi_reply->MsgLength*4); in mpt3sas_config_done()
272 _config_display_some_debug(ioc, smid, "config_done", mpi_reply); in mpt3sas_config_done()
299 *mpi_request, Mpi2ConfigReply_t *mpi_reply, int timeout, in _config_request() argument
323 mpi_request->Header.PageVersion = mpi_reply->Header.PageVersion; in _config_request()
324 mpi_request->Header.PageNumber = mpi_reply->Header.PageNumber; in _config_request()
325 mpi_request->Header.PageType = mpi_reply->Header.PageType; in _config_request()
326 mpi_request->Header.PageLength = mpi_reply->Header.PageLength; in _config_request()
327 mpi_request->ExtPageLength = mpi_reply->ExtPageLength; in _config_request()
328 mpi_request->ExtPageType = mpi_reply->ExtPageType; in _config_request()
332 mem.sz = le16_to_cpu(mpi_reply->ExtPageLength) * 4; in _config_request()
376 memset(mpi_reply, 0, sizeof(Mpi2ConfigReply_t)); in _config_request()
401 memcpy(mpi_reply, ioc->config_cmds.reply, in _config_request()
406 (mpi_reply->Header.PageType & 0xF)) { in _config_request()
408 _debug_dump_reply(mpi_reply, ioc->request_sz/4); in _config_request()
412 mpi_reply->Header.PageType & 0xF); in _config_request()
417 mpi_request->ExtPageType != mpi_reply->ExtPageType) { in _config_request()
419 _debug_dump_reply(mpi_reply, ioc->request_sz/4); in _config_request()
423 mpi_reply->ExtPageType); in _config_request()
425 ioc_status = le16_to_cpu(mpi_reply->IOCStatus) in _config_request()
443 _debug_dump_reply(mpi_reply, ioc->request_sz/4); in _config_request()
456 _debug_dump_reply(mpi_reply, ioc->request_sz/4); in _config_request()
491 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage0_t *config_page) in mpt3sas_config_get_manufacturing_pg0() argument
503 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_manufacturing_pg0()
509 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_manufacturing_pg0()
528 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage7_t *config_page, in mpt3sas_config_get_manufacturing_pg7() argument
541 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_manufacturing_pg7()
547 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_manufacturing_pg7()
565 Mpi2ConfigReply_t *mpi_reply, in mpt3sas_config_get_manufacturing_pg10() argument
578 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_manufacturing_pg10()
584 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_manufacturing_pg10()
602 Mpi2ConfigReply_t *mpi_reply, in mpt3sas_config_get_manufacturing_pg11() argument
615 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_manufacturing_pg11()
621 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_manufacturing_pg11()
639 Mpi2ConfigReply_t *mpi_reply, in mpt3sas_config_set_manufacturing_pg11() argument
652 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_set_manufacturing_pg11()
658 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_set_manufacturing_pg11()
676 Mpi2ConfigReply_t *mpi_reply, Mpi2BiosPage2_t *config_page) in mpt3sas_config_get_bios_pg2() argument
688 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_bios_pg2()
694 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_bios_pg2()
712 *mpi_reply, Mpi2BiosPage3_t *config_page) in mpt3sas_config_get_bios_pg3()
724 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_bios_pg3()
730 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_bios_pg3()
748 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage0_t *config_page) in mpt3sas_config_get_iounit_pg0() argument
760 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_iounit_pg0()
766 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_iounit_pg0()
784 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage1_t *config_page) in mpt3sas_config_get_iounit_pg1() argument
796 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_iounit_pg1()
802 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_iounit_pg1()
820 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage1_t *config_page) in mpt3sas_config_set_iounit_pg1() argument
832 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_set_iounit_pg1()
838 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_set_iounit_pg1()
857 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage3_t *config_page, u16 sz) in mpt3sas_config_get_iounit_pg3() argument
869 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_iounit_pg3()
875 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_iounit_pg3()
892 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage8_t *config_page) in mpt3sas_config_get_iounit_pg8() argument
904 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_iounit_pg8()
910 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_iounit_pg8()
928 Mpi2ConfigReply_t *mpi_reply, Mpi2IOCPage8_t *config_page) in mpt3sas_config_get_ioc_pg8() argument
940 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_ioc_pg8()
946 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_ioc_pg8()
963 Mpi2ConfigReply_t *mpi_reply, Mpi2IOCPage1_t *config_page) in mpt3sas_config_get_ioc_pg1() argument
975 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_ioc_pg1()
981 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_ioc_pg1()
999 Mpi2ConfigReply_t *mpi_reply, Mpi2IOCPage1_t *config_page) in mpt3sas_config_set_ioc_pg1() argument
1011 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_set_ioc_pg1()
1017 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_set_ioc_pg1()
1037 Mpi2ConfigReply_t *mpi_reply, Mpi2SasDevicePage0_t *config_page, in mpt3sas_config_get_sas_device_pg0() argument
1051 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_sas_device_pg0()
1058 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_sas_device_pg0()
1078 Mpi2ConfigReply_t *mpi_reply, Mpi2SasDevicePage1_t *config_page, in mpt3sas_config_get_sas_device_pg1() argument
1092 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_sas_device_pg1()
1099 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_sas_device_pg1()
1119 Mpi2ConfigReply_t *mpi_reply, Mpi26PCIeDevicePage0_t *config_page, in mpt3sas_config_get_pcie_device_pg0() argument
1133 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_pcie_device_pg0()
1140 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_pcie_device_pg0()
1160 Mpi2ConfigReply_t *mpi_reply, Mpi26PCIeDevicePage2_t *config_page, in mpt3sas_config_get_pcie_device_pg2() argument
1174 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_pcie_device_pg2()
1181 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_pcie_device_pg2()
1202 Mpi2ConfigReply_t mpi_reply; in mpt3sas_config_get_number_hba_phys() local
1214 r = _config_request(ioc, &mpi_request, &mpi_reply, in mpt3sas_config_get_number_hba_phys()
1220 r = _config_request(ioc, &mpi_request, &mpi_reply, in mpt3sas_config_get_number_hba_phys()
1224 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in mpt3sas_config_get_number_hba_phys()
1248 Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage0_t *config_page, in mpt3sas_config_get_sas_iounit_pg0() argument
1262 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_sas_iounit_pg0()
1268 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_sas_iounit_pg0()
1289 Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage1_t *config_page, in mpt3sas_config_get_sas_iounit_pg1() argument
1303 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_sas_iounit_pg1()
1309 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_sas_iounit_pg1()
1330 Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage1_t *config_page, in mpt3sas_config_set_sas_iounit_pg1() argument
1344 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_set_sas_iounit_pg1()
1350 _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_set_sas_iounit_pg1()
1353 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_set_sas_iounit_pg1()
1372 *mpi_reply, Mpi2ExpanderPage0_t *config_page, u32 form, u32 handle) in mpt3sas_config_get_expander_pg0()
1385 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_expander_pg0()
1392 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_expander_pg0()
1412 *mpi_reply, Mpi2ExpanderPage1_t *config_page, u32 phy_number, in mpt3sas_config_get_expander_pg1()
1426 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_expander_pg1()
1435 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_expander_pg1()
1455 *mpi_reply, Mpi2SasEnclosurePage0_t *config_page, u32 form, u32 handle) in mpt3sas_config_get_enclosure_pg0()
1468 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_enclosure_pg0()
1475 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_enclosure_pg0()
1494 *mpi_reply, Mpi2SasPhyPage0_t *config_page, u32 phy_number) in mpt3sas_config_get_phy_pg0()
1507 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_phy_pg0()
1515 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_phy_pg0()
1534 *mpi_reply, Mpi2SasPhyPage1_t *config_page, u32 phy_number) in mpt3sas_config_get_phy_pg1()
1547 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_phy_pg1()
1555 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_phy_pg1()
1575 Mpi2ConfigReply_t *mpi_reply, Mpi2RaidVolPage1_t *config_page, u32 form, in mpt3sas_config_get_raid_volume_pg1() argument
1588 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_raid_volume_pg1()
1595 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_raid_volume_pg1()
1617 Mpi2ConfigReply_t mpi_reply; in mpt3sas_config_get_number_pds() local
1629 r = _config_request(ioc, &mpi_request, &mpi_reply, in mpt3sas_config_get_number_pds()
1637 r = _config_request(ioc, &mpi_request, &mpi_reply, in mpt3sas_config_get_number_pds()
1641 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in mpt3sas_config_get_number_pds()
1665 Mpi2ConfigReply_t *mpi_reply, Mpi2RaidVolPage0_t *config_page, u32 form, in mpt3sas_config_get_raid_volume_pg0() argument
1678 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_raid_volume_pg0()
1685 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_raid_volume_pg0()
1704 *mpi_reply, Mpi2RaidPhysDiskPage0_t *config_page, u32 form, in mpt3sas_config_get_phys_disk_pg0()
1717 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_phys_disk_pg0()
1724 r = _config_request(ioc, &mpi_request, mpi_reply, in mpt3sas_config_get_phys_disk_pg0()
1747 Mpi2ConfigReply_t mpi_reply; in mpt3sas_config_get_volume_handle() local
1763 r = _config_request(ioc, &mpi_request, &mpi_reply, in mpt3sas_config_get_volume_handle()
1769 config_page_sz = (le16_to_cpu(mpi_reply.ExtPageLength) * 4); in mpt3sas_config_get_volume_handle()
1780 r = _config_request(ioc, &mpi_request, &mpi_reply, in mpt3sas_config_get_volume_handle()
1786 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in mpt3sas_config_get_volume_handle()
1835 Mpi2ConfigReply_t mpi_reply; in mpt3sas_config_get_volume_wwid() local
1839 if (!(mpt3sas_config_get_raid_volume_pg1(ioc, &mpi_reply, in mpt3sas_config_get_volume_wwid()