Lines Matching refs:config_page

216 		mem->page = ioc->config_page;  in _config_alloc_config_dma_memory()
300 void *config_page, u16 config_page_sz) in _config_request() argument
322 if (config_page) { in _config_request()
343 memcpy(mem.page, config_page, min_t(u16, mem.sz, in _config_request()
346 memset(config_page, 0, config_page_sz); in _config_request()
434 config_page && mpi_request->Action == in _config_request()
464 memcpy(config_page, mem.page, min_t(u16, mem.sz, in _config_request()
469 if (config_page) in _config_request()
491 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage0_t *config_page) in mpt3sas_config_get_manufacturing_pg0() argument
510 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_manufacturing_pg0()
511 sizeof(*config_page)); in mpt3sas_config_get_manufacturing_pg0()
528 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage7_t *config_page, in mpt3sas_config_get_manufacturing_pg7() argument
548 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_manufacturing_pg7()
566 struct Mpi2ManufacturingPage10_t *config_page) in mpt3sas_config_get_manufacturing_pg10() argument
585 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_manufacturing_pg10()
586 sizeof(*config_page)); in mpt3sas_config_get_manufacturing_pg10()
603 struct Mpi2ManufacturingPage11_t *config_page) in mpt3sas_config_get_manufacturing_pg11() argument
622 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_manufacturing_pg11()
623 sizeof(*config_page)); in mpt3sas_config_get_manufacturing_pg11()
640 struct Mpi2ManufacturingPage11_t *config_page) in mpt3sas_config_set_manufacturing_pg11() argument
659 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_set_manufacturing_pg11()
660 sizeof(*config_page)); in mpt3sas_config_set_manufacturing_pg11()
676 Mpi2ConfigReply_t *mpi_reply, Mpi2BiosPage2_t *config_page) in mpt3sas_config_get_bios_pg2() argument
695 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_bios_pg2()
696 sizeof(*config_page)); in mpt3sas_config_get_bios_pg2()
712 *mpi_reply, Mpi2BiosPage3_t *config_page) in mpt3sas_config_get_bios_pg3() argument
731 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_bios_pg3()
732 sizeof(*config_page)); in mpt3sas_config_get_bios_pg3()
748 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage0_t *config_page) in mpt3sas_config_get_iounit_pg0() argument
767 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_iounit_pg0()
768 sizeof(*config_page)); in mpt3sas_config_get_iounit_pg0()
784 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage1_t *config_page) in mpt3sas_config_get_iounit_pg1() argument
803 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_iounit_pg1()
804 sizeof(*config_page)); in mpt3sas_config_get_iounit_pg1()
820 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage1_t *config_page) in mpt3sas_config_set_iounit_pg1() argument
839 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_set_iounit_pg1()
840 sizeof(*config_page)); in mpt3sas_config_set_iounit_pg1()
857 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage3_t *config_page, u16 sz) in mpt3sas_config_get_iounit_pg3() argument
876 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz); in mpt3sas_config_get_iounit_pg3()
892 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage8_t *config_page) in mpt3sas_config_get_iounit_pg8() argument
911 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_iounit_pg8()
912 sizeof(*config_page)); in mpt3sas_config_get_iounit_pg8()
928 Mpi2ConfigReply_t *mpi_reply, Mpi2IOCPage8_t *config_page) in mpt3sas_config_get_ioc_pg8() argument
947 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_ioc_pg8()
948 sizeof(*config_page)); in mpt3sas_config_get_ioc_pg8()
963 Mpi2ConfigReply_t *mpi_reply, Mpi2IOCPage1_t *config_page) in mpt3sas_config_get_ioc_pg1() argument
982 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_ioc_pg1()
983 sizeof(*config_page)); in mpt3sas_config_get_ioc_pg1()
999 Mpi2ConfigReply_t *mpi_reply, Mpi2IOCPage1_t *config_page) in mpt3sas_config_set_ioc_pg1() argument
1018 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_set_ioc_pg1()
1019 sizeof(*config_page)); in mpt3sas_config_set_ioc_pg1()
1037 Mpi2ConfigReply_t *mpi_reply, Mpi2SasDevicePage0_t *config_page, in mpt3sas_config_get_sas_device_pg0() argument
1059 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_sas_device_pg0()
1060 sizeof(*config_page)); in mpt3sas_config_get_sas_device_pg0()
1078 Mpi2ConfigReply_t *mpi_reply, Mpi2SasDevicePage1_t *config_page, in mpt3sas_config_get_sas_device_pg1() argument
1100 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_sas_device_pg1()
1101 sizeof(*config_page)); in mpt3sas_config_get_sas_device_pg1()
1119 Mpi2ConfigReply_t *mpi_reply, Mpi26PCIeDevicePage0_t *config_page, in mpt3sas_config_get_pcie_device_pg0() argument
1141 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_pcie_device_pg0()
1142 sizeof(*config_page)); in mpt3sas_config_get_pcie_device_pg0()
1160 Mpi2ConfigReply_t *mpi_reply, Mpi26PCIeDevicePage2_t *config_page, in mpt3sas_config_get_pcie_device_pg2() argument
1182 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_pcie_device_pg2()
1183 sizeof(*config_page)); in mpt3sas_config_get_pcie_device_pg2()
1203 Mpi2SasIOUnitPage0_t config_page; in mpt3sas_config_get_number_hba_phys() local
1221 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, &config_page, in mpt3sas_config_get_number_hba_phys()
1227 *num_phys = config_page.NumPhys; in mpt3sas_config_get_number_hba_phys()
1248 Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage0_t *config_page, in mpt3sas_config_get_sas_iounit_pg0() argument
1269 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz); in mpt3sas_config_get_sas_iounit_pg0()
1289 Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage1_t *config_page, in mpt3sas_config_get_sas_iounit_pg1() argument
1310 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz); in mpt3sas_config_get_sas_iounit_pg1()
1330 Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage1_t *config_page, in mpt3sas_config_set_sas_iounit_pg1() argument
1351 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz); in mpt3sas_config_set_sas_iounit_pg1()
1354 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz); in mpt3sas_config_set_sas_iounit_pg1()
1372 *mpi_reply, Mpi2ExpanderPage0_t *config_page, u32 form, u32 handle) in mpt3sas_config_get_expander_pg0() argument
1393 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_expander_pg0()
1394 sizeof(*config_page)); in mpt3sas_config_get_expander_pg0()
1412 *mpi_reply, Mpi2ExpanderPage1_t *config_page, u32 phy_number, in mpt3sas_config_get_expander_pg1() argument
1436 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_expander_pg1()
1437 sizeof(*config_page)); in mpt3sas_config_get_expander_pg1()
1455 *mpi_reply, Mpi2SasEnclosurePage0_t *config_page, u32 form, u32 handle) in mpt3sas_config_get_enclosure_pg0() argument
1476 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_enclosure_pg0()
1477 sizeof(*config_page)); in mpt3sas_config_get_enclosure_pg0()
1494 *mpi_reply, Mpi2SasPhyPage0_t *config_page, u32 phy_number) in mpt3sas_config_get_phy_pg0() argument
1516 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_phy_pg0()
1517 sizeof(*config_page)); in mpt3sas_config_get_phy_pg0()
1534 *mpi_reply, Mpi2SasPhyPage1_t *config_page, u32 phy_number) in mpt3sas_config_get_phy_pg1() argument
1556 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_phy_pg1()
1557 sizeof(*config_page)); 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
1596 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_raid_volume_pg1()
1597 sizeof(*config_page)); in mpt3sas_config_get_raid_volume_pg1()
1616 Mpi2RaidVolPage0_t config_page; in mpt3sas_config_get_number_pds() local
1638 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, &config_page, in mpt3sas_config_get_number_pds()
1644 *num_pds = config_page.NumPhysDisks; 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
1686 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz); in mpt3sas_config_get_raid_volume_pg0()
1704 *mpi_reply, Mpi2RaidPhysDiskPage0_t *config_page, u32 form, in mpt3sas_config_get_phys_disk_pg0() argument
1725 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_phys_disk_pg0()
1726 sizeof(*config_page)); in mpt3sas_config_get_phys_disk_pg0()
1745 Mpi2RaidConfigurationPage0_t *config_page = NULL; in mpt3sas_config_get_volume_handle() local
1770 config_page = kmalloc(config_page_sz, GFP_KERNEL); in mpt3sas_config_get_volume_handle()
1771 if (!config_page) { in mpt3sas_config_get_volume_handle()
1781 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_volume_handle()
1790 for (i = 0; i < config_page->NumElements; i++) { in mpt3sas_config_get_volume_handle()
1791 element_type = le16_to_cpu(config_page-> in mpt3sas_config_get_volume_handle()
1799 le16_to_cpu(config_page->ConfigElement[i]. in mpt3sas_config_get_volume_handle()
1803 le16_to_cpu(config_page-> in mpt3sas_config_get_volume_handle()
1815 config_num = config_page->ConfigNum; in mpt3sas_config_get_volume_handle()
1818 kfree(config_page); in mpt3sas_config_get_volume_handle()