Lines Matching refs:config_page

213 		mem->page = ioc->config_page;  in _config_alloc_config_dma_memory()
298 void *config_page, u16 config_page_sz) in _config_request() argument
320 if (config_page) { in _config_request()
341 memcpy(mem.page, config_page, min_t(u16, mem.sz, in _config_request()
344 memset(config_page, 0, config_page_sz); in _config_request()
447 config_page && mpi_request->Action == in _config_request()
483 memcpy(config_page, mem.page, min_t(u16, mem.sz, in _config_request()
488 if (config_page) in _config_request()
518 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage0_t *config_page) in mpt3sas_config_get_manufacturing_pg0() argument
537 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_manufacturing_pg0()
538 sizeof(*config_page)); in mpt3sas_config_get_manufacturing_pg0()
554 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage1_t *config_page) in mpt3sas_config_get_manufacturing_pg1() argument
573 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_manufacturing_pg1()
574 sizeof(*config_page)); in mpt3sas_config_get_manufacturing_pg1()
591 Mpi2ConfigReply_t *mpi_reply, Mpi2ManufacturingPage7_t *config_page, in mpt3sas_config_get_manufacturing_pg7() argument
611 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_manufacturing_pg7()
629 struct Mpi2ManufacturingPage10_t *config_page) in mpt3sas_config_get_manufacturing_pg10() argument
648 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_manufacturing_pg10()
649 sizeof(*config_page)); in mpt3sas_config_get_manufacturing_pg10()
666 struct Mpi2ManufacturingPage11_t *config_page) in mpt3sas_config_get_manufacturing_pg11() argument
685 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_manufacturing_pg11()
686 sizeof(*config_page)); in mpt3sas_config_get_manufacturing_pg11()
703 struct Mpi2ManufacturingPage11_t *config_page) in mpt3sas_config_set_manufacturing_pg11() argument
722 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_set_manufacturing_pg11()
723 sizeof(*config_page)); in mpt3sas_config_set_manufacturing_pg11()
739 Mpi2ConfigReply_t *mpi_reply, Mpi2BiosPage2_t *config_page) in mpt3sas_config_get_bios_pg2() argument
758 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_bios_pg2()
759 sizeof(*config_page)); in mpt3sas_config_get_bios_pg2()
775 *mpi_reply, Mpi2BiosPage3_t *config_page) in mpt3sas_config_get_bios_pg3() argument
794 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_bios_pg3()
795 sizeof(*config_page)); in mpt3sas_config_get_bios_pg3()
813 Mpi2ConfigReply_t *mpi_reply, Mpi2BiosPage4_t *config_page, in mpt3sas_config_set_bios_pg4() argument
836 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_set_bios_pg4()
854 Mpi2ConfigReply_t *mpi_reply, Mpi2BiosPage4_t *config_page, in mpt3sas_config_get_bios_pg4() argument
876 if (config_page && sz_config_pg) { in mpt3sas_config_get_bios_pg4()
880 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_bios_pg4()
899 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage0_t *config_page) in mpt3sas_config_get_iounit_pg0() argument
918 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_iounit_pg0()
919 sizeof(*config_page)); in mpt3sas_config_get_iounit_pg0()
935 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage1_t *config_page) in mpt3sas_config_get_iounit_pg1() argument
954 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_iounit_pg1()
955 sizeof(*config_page)); in mpt3sas_config_get_iounit_pg1()
971 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage1_t *config_page) in mpt3sas_config_set_iounit_pg1() argument
990 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_set_iounit_pg1()
991 sizeof(*config_page)); in mpt3sas_config_set_iounit_pg1()
1008 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage3_t *config_page, u16 sz) in mpt3sas_config_get_iounit_pg3() argument
1027 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz); in mpt3sas_config_get_iounit_pg3()
1043 Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage8_t *config_page) in mpt3sas_config_get_iounit_pg8() argument
1062 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_iounit_pg8()
1063 sizeof(*config_page)); in mpt3sas_config_get_iounit_pg8()
1079 Mpi2ConfigReply_t *mpi_reply, Mpi2IOCPage8_t *config_page) in mpt3sas_config_get_ioc_pg8() argument
1098 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_ioc_pg8()
1099 sizeof(*config_page)); in mpt3sas_config_get_ioc_pg8()
1114 Mpi2ConfigReply_t *mpi_reply, Mpi2IOCPage1_t *config_page) in mpt3sas_config_get_ioc_pg1() argument
1133 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_ioc_pg1()
1134 sizeof(*config_page)); in mpt3sas_config_get_ioc_pg1()
1150 Mpi2ConfigReply_t *mpi_reply, Mpi2IOCPage1_t *config_page) in mpt3sas_config_set_ioc_pg1() argument
1169 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_set_ioc_pg1()
1170 sizeof(*config_page)); in mpt3sas_config_set_ioc_pg1()
1188 Mpi2ConfigReply_t *mpi_reply, Mpi2SasDevicePage0_t *config_page, in mpt3sas_config_get_sas_device_pg0() argument
1210 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_sas_device_pg0()
1211 sizeof(*config_page)); in mpt3sas_config_get_sas_device_pg0()
1229 Mpi2ConfigReply_t *mpi_reply, Mpi2SasDevicePage1_t *config_page, in mpt3sas_config_get_sas_device_pg1() argument
1251 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_sas_device_pg1()
1252 sizeof(*config_page)); in mpt3sas_config_get_sas_device_pg1()
1270 Mpi2ConfigReply_t *mpi_reply, Mpi26PCIeDevicePage0_t *config_page, in mpt3sas_config_get_pcie_device_pg0() argument
1292 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_pcie_device_pg0()
1293 sizeof(*config_page)); in mpt3sas_config_get_pcie_device_pg0()
1310 Mpi2ConfigReply_t *mpi_reply, Mpi26PCIeIOUnitPage1_t *config_page, in mpt3sas_config_get_pcie_iounit_pg1() argument
1330 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz); in mpt3sas_config_get_pcie_iounit_pg1()
1348 Mpi2ConfigReply_t *mpi_reply, Mpi26PCIeDevicePage2_t *config_page, in mpt3sas_config_get_pcie_device_pg2() argument
1370 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_pcie_device_pg2()
1371 sizeof(*config_page)); in mpt3sas_config_get_pcie_device_pg2()
1391 Mpi2SasIOUnitPage0_t config_page; in mpt3sas_config_get_number_hba_phys() local
1409 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, &config_page, in mpt3sas_config_get_number_hba_phys()
1415 *num_phys = config_page.NumPhys; in mpt3sas_config_get_number_hba_phys()
1436 Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage0_t *config_page, in mpt3sas_config_get_sas_iounit_pg0() argument
1457 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz); in mpt3sas_config_get_sas_iounit_pg0()
1477 Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage1_t *config_page, in mpt3sas_config_get_sas_iounit_pg1() argument
1498 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz); in mpt3sas_config_get_sas_iounit_pg1()
1518 Mpi2ConfigReply_t *mpi_reply, Mpi2SasIOUnitPage1_t *config_page, in mpt3sas_config_set_sas_iounit_pg1() argument
1539 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz); in mpt3sas_config_set_sas_iounit_pg1()
1542 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz); in mpt3sas_config_set_sas_iounit_pg1()
1560 *mpi_reply, Mpi2ExpanderPage0_t *config_page, u32 form, u32 handle) in mpt3sas_config_get_expander_pg0() argument
1581 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_expander_pg0()
1582 sizeof(*config_page)); in mpt3sas_config_get_expander_pg0()
1600 *mpi_reply, Mpi2ExpanderPage1_t *config_page, u32 phy_number, in mpt3sas_config_get_expander_pg1() argument
1624 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_expander_pg1()
1625 sizeof(*config_page)); in mpt3sas_config_get_expander_pg1()
1643 *mpi_reply, Mpi2SasEnclosurePage0_t *config_page, u32 form, u32 handle) in mpt3sas_config_get_enclosure_pg0() argument
1664 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_enclosure_pg0()
1665 sizeof(*config_page)); in mpt3sas_config_get_enclosure_pg0()
1682 *mpi_reply, Mpi2SasPhyPage0_t *config_page, u32 phy_number) in mpt3sas_config_get_phy_pg0() argument
1704 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_phy_pg0()
1705 sizeof(*config_page)); in mpt3sas_config_get_phy_pg0()
1722 *mpi_reply, Mpi2SasPhyPage1_t *config_page, u32 phy_number) in mpt3sas_config_get_phy_pg1() argument
1744 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_phy_pg1()
1745 sizeof(*config_page)); in mpt3sas_config_get_phy_pg1()
1763 Mpi2ConfigReply_t *mpi_reply, Mpi2RaidVolPage1_t *config_page, u32 form, in mpt3sas_config_get_raid_volume_pg1() argument
1784 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_raid_volume_pg1()
1785 sizeof(*config_page)); in mpt3sas_config_get_raid_volume_pg1()
1804 Mpi2RaidVolPage0_t config_page; in mpt3sas_config_get_number_pds() local
1826 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, &config_page, in mpt3sas_config_get_number_pds()
1832 *num_pds = config_page.NumPhysDisks; in mpt3sas_config_get_number_pds()
1853 Mpi2ConfigReply_t *mpi_reply, Mpi2RaidVolPage0_t *config_page, u32 form, in mpt3sas_config_get_raid_volume_pg0() argument
1874 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, sz); in mpt3sas_config_get_raid_volume_pg0()
1892 *mpi_reply, Mpi2RaidPhysDiskPage0_t *config_page, u32 form, in mpt3sas_config_get_phys_disk_pg0() argument
1913 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_phys_disk_pg0()
1914 sizeof(*config_page)); in mpt3sas_config_get_phys_disk_pg0()
1930 Mpi2ConfigReply_t *mpi_reply, Mpi26DriverTriggerPage0_t *config_page) in mpt3sas_config_get_driver_trigger_pg0() argument
1951 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_driver_trigger_pg0()
1952 sizeof(*config_page)); in mpt3sas_config_get_driver_trigger_pg0()
1968 Mpi2ConfigReply_t *mpi_reply, Mpi26DriverTriggerPage0_t *config_page) in _config_set_driver_trigger_pg0() argument
1989 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in _config_set_driver_trigger_pg0()
1990 sizeof(*config_page)); in _config_set_driver_trigger_pg0()
1993 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in _config_set_driver_trigger_pg0()
1994 sizeof(*config_page)); in _config_set_driver_trigger_pg0()
2064 Mpi2ConfigReply_t *mpi_reply, Mpi26DriverTriggerPage1_t *config_page) in mpt3sas_config_get_driver_trigger_pg1() argument
2085 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_driver_trigger_pg1()
2086 sizeof(*config_page)); in mpt3sas_config_get_driver_trigger_pg1()
2102 Mpi2ConfigReply_t *mpi_reply, Mpi26DriverTriggerPage1_t *config_page) in _config_set_driver_trigger_pg1() argument
2123 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in _config_set_driver_trigger_pg1()
2124 sizeof(*config_page)); in _config_set_driver_trigger_pg1()
2127 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in _config_set_driver_trigger_pg1()
2128 sizeof(*config_page)); in _config_set_driver_trigger_pg1()
2215 Mpi2ConfigReply_t *mpi_reply, Mpi26DriverTriggerPage2_t *config_page) in mpt3sas_config_get_driver_trigger_pg2() argument
2236 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_driver_trigger_pg2()
2237 sizeof(*config_page)); in mpt3sas_config_get_driver_trigger_pg2()
2253 Mpi2ConfigReply_t *mpi_reply, Mpi26DriverTriggerPage2_t *config_page) in _config_set_driver_trigger_pg2() argument
2274 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in _config_set_driver_trigger_pg2()
2275 sizeof(*config_page)); in _config_set_driver_trigger_pg2()
2278 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in _config_set_driver_trigger_pg2()
2279 sizeof(*config_page)); in _config_set_driver_trigger_pg2()
2375 Mpi2ConfigReply_t *mpi_reply, Mpi26DriverTriggerPage3_t *config_page) in mpt3sas_config_get_driver_trigger_pg3() argument
2396 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_driver_trigger_pg3()
2397 sizeof(*config_page)); in mpt3sas_config_get_driver_trigger_pg3()
2413 Mpi2ConfigReply_t *mpi_reply, Mpi26DriverTriggerPage3_t *config_page) in _config_set_driver_trigger_pg3() argument
2434 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in _config_set_driver_trigger_pg3()
2435 sizeof(*config_page)); in _config_set_driver_trigger_pg3()
2438 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in _config_set_driver_trigger_pg3()
2439 sizeof(*config_page)); in _config_set_driver_trigger_pg3()
2532 Mpi2ConfigReply_t *mpi_reply, Mpi26DriverTriggerPage4_t *config_page) in mpt3sas_config_get_driver_trigger_pg4() argument
2553 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_driver_trigger_pg4()
2554 sizeof(*config_page)); in mpt3sas_config_get_driver_trigger_pg4()
2570 Mpi2ConfigReply_t *mpi_reply, Mpi26DriverTriggerPage4_t *config_page) in _config_set_driver_trigger_pg4() argument
2591 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in _config_set_driver_trigger_pg4()
2592 sizeof(*config_page)); in _config_set_driver_trigger_pg4()
2595 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in _config_set_driver_trigger_pg4()
2596 sizeof(*config_page)); in _config_set_driver_trigger_pg4()
2693 Mpi2RaidConfigurationPage0_t *config_page = NULL; in mpt3sas_config_get_volume_handle() local
2718 config_page = kmalloc(config_page_sz, GFP_KERNEL); in mpt3sas_config_get_volume_handle()
2719 if (!config_page) { in mpt3sas_config_get_volume_handle()
2729 MPT3_CONFIG_PAGE_DEFAULT_TIMEOUT, config_page, in mpt3sas_config_get_volume_handle()
2738 for (i = 0; i < config_page->NumElements; i++) { in mpt3sas_config_get_volume_handle()
2739 element_type = le16_to_cpu(config_page-> in mpt3sas_config_get_volume_handle()
2747 le16_to_cpu(config_page->ConfigElement[i]. in mpt3sas_config_get_volume_handle()
2751 le16_to_cpu(config_page-> in mpt3sas_config_get_volume_handle()
2763 config_num = config_page->ConfigNum; in mpt3sas_config_get_volume_handle()
2766 kfree(config_page); in mpt3sas_config_get_volume_handle()