• Home
  • Raw
  • Download

Lines Matching refs:spa

661 		struct nd_cmd_translate_spa *spa)  in nfit_test_search_spa()  argument
668 .addr = spa->spa, in nfit_test_search_spa()
689 spa->devices[0].nfit_device_handle = handle[nvdimm->id]; in nfit_test_search_spa()
690 spa->num_nvdimms = 1; in nfit_test_search_spa()
691 spa->devices[0].dpa = dpa; in nfit_test_search_spa()
697 struct nd_cmd_translate_spa *spa, unsigned int buf_len) in nfit_test_cmd_translate_spa() argument
699 if (buf_len < spa->translate_length) in nfit_test_cmd_translate_spa()
702 if (nfit_test_search_spa(bus, spa) < 0 || !spa->num_nvdimms) in nfit_test_cmd_translate_spa()
703 spa->status = 2; in nfit_test_cmd_translate_spa()
1802 struct acpi_nfit_system_address *spa; in nfit_test0_setup() local
1814 spa = nfit_buf; in nfit_test0_setup()
1815 spa->header.type = ACPI_NFIT_TYPE_SYSTEM_ADDRESS; in nfit_test0_setup()
1816 spa->header.length = sizeof(*spa); in nfit_test0_setup()
1817 memcpy(spa->range_guid, to_nfit_uuid(NFIT_SPA_PM), 16); in nfit_test0_setup()
1818 spa->range_index = 0+1; in nfit_test0_setup()
1819 spa->address = t->spa_set_dma[0]; in nfit_test0_setup()
1820 spa->length = SPA0_SIZE; in nfit_test0_setup()
1821 offset += spa->header.length; in nfit_test0_setup()
1828 spa = nfit_buf + offset; in nfit_test0_setup()
1829 spa->header.type = ACPI_NFIT_TYPE_SYSTEM_ADDRESS; in nfit_test0_setup()
1830 spa->header.length = sizeof(*spa); in nfit_test0_setup()
1831 memcpy(spa->range_guid, to_nfit_uuid(NFIT_SPA_PM), 16); in nfit_test0_setup()
1832 spa->range_index = 1+1; in nfit_test0_setup()
1833 spa->address = t->spa_set_dma[1]; in nfit_test0_setup()
1834 spa->length = SPA1_SIZE; in nfit_test0_setup()
1835 offset += spa->header.length; in nfit_test0_setup()
1838 spa = nfit_buf + offset; in nfit_test0_setup()
1839 spa->header.type = ACPI_NFIT_TYPE_SYSTEM_ADDRESS; in nfit_test0_setup()
1840 spa->header.length = sizeof(*spa); in nfit_test0_setup()
1841 memcpy(spa->range_guid, to_nfit_uuid(NFIT_SPA_DCR), 16); in nfit_test0_setup()
1842 spa->range_index = 2+1; in nfit_test0_setup()
1843 spa->address = t->dcr_dma[0]; in nfit_test0_setup()
1844 spa->length = DCR_SIZE; in nfit_test0_setup()
1845 offset += spa->header.length; in nfit_test0_setup()
1848 spa = nfit_buf + offset; in nfit_test0_setup()
1849 spa->header.type = ACPI_NFIT_TYPE_SYSTEM_ADDRESS; in nfit_test0_setup()
1850 spa->header.length = sizeof(*spa); in nfit_test0_setup()
1851 memcpy(spa->range_guid, to_nfit_uuid(NFIT_SPA_DCR), 16); in nfit_test0_setup()
1852 spa->range_index = 3+1; in nfit_test0_setup()
1853 spa->address = t->dcr_dma[1]; in nfit_test0_setup()
1854 spa->length = DCR_SIZE; in nfit_test0_setup()
1855 offset += spa->header.length; in nfit_test0_setup()
1858 spa = nfit_buf + offset; in nfit_test0_setup()
1859 spa->header.type = ACPI_NFIT_TYPE_SYSTEM_ADDRESS; in nfit_test0_setup()
1860 spa->header.length = sizeof(*spa); in nfit_test0_setup()
1861 memcpy(spa->range_guid, to_nfit_uuid(NFIT_SPA_DCR), 16); in nfit_test0_setup()
1862 spa->range_index = 4+1; in nfit_test0_setup()
1863 spa->address = t->dcr_dma[2]; in nfit_test0_setup()
1864 spa->length = DCR_SIZE; in nfit_test0_setup()
1865 offset += spa->header.length; in nfit_test0_setup()
1868 spa = nfit_buf + offset; in nfit_test0_setup()
1869 spa->header.type = ACPI_NFIT_TYPE_SYSTEM_ADDRESS; in nfit_test0_setup()
1870 spa->header.length = sizeof(*spa); in nfit_test0_setup()
1871 memcpy(spa->range_guid, to_nfit_uuid(NFIT_SPA_DCR), 16); in nfit_test0_setup()
1872 spa->range_index = 5+1; in nfit_test0_setup()
1873 spa->address = t->dcr_dma[3]; in nfit_test0_setup()
1874 spa->length = DCR_SIZE; in nfit_test0_setup()
1875 offset += spa->header.length; in nfit_test0_setup()
1878 spa = nfit_buf + offset; in nfit_test0_setup()
1879 spa->header.type = ACPI_NFIT_TYPE_SYSTEM_ADDRESS; in nfit_test0_setup()
1880 spa->header.length = sizeof(*spa); in nfit_test0_setup()
1881 memcpy(spa->range_guid, to_nfit_uuid(NFIT_SPA_BDW), 16); in nfit_test0_setup()
1882 spa->range_index = 6+1; in nfit_test0_setup()
1883 spa->address = t->dimm_dma[0]; in nfit_test0_setup()
1884 spa->length = DIMM_SIZE; in nfit_test0_setup()
1885 offset += spa->header.length; in nfit_test0_setup()
1888 spa = nfit_buf + offset; in nfit_test0_setup()
1889 spa->header.type = ACPI_NFIT_TYPE_SYSTEM_ADDRESS; in nfit_test0_setup()
1890 spa->header.length = sizeof(*spa); in nfit_test0_setup()
1891 memcpy(spa->range_guid, to_nfit_uuid(NFIT_SPA_BDW), 16); in nfit_test0_setup()
1892 spa->range_index = 7+1; in nfit_test0_setup()
1893 spa->address = t->dimm_dma[1]; in nfit_test0_setup()
1894 spa->length = DIMM_SIZE; in nfit_test0_setup()
1895 offset += spa->header.length; in nfit_test0_setup()
1898 spa = nfit_buf + offset; in nfit_test0_setup()
1899 spa->header.type = ACPI_NFIT_TYPE_SYSTEM_ADDRESS; in nfit_test0_setup()
1900 spa->header.length = sizeof(*spa); in nfit_test0_setup()
1901 memcpy(spa->range_guid, to_nfit_uuid(NFIT_SPA_BDW), 16); in nfit_test0_setup()
1902 spa->range_index = 8+1; in nfit_test0_setup()
1903 spa->address = t->dimm_dma[2]; in nfit_test0_setup()
1904 spa->length = DIMM_SIZE; in nfit_test0_setup()
1905 offset += spa->header.length; in nfit_test0_setup()
1908 spa = nfit_buf + offset; in nfit_test0_setup()
1909 spa->header.type = ACPI_NFIT_TYPE_SYSTEM_ADDRESS; in nfit_test0_setup()
1910 spa->header.length = sizeof(*spa); in nfit_test0_setup()
1911 memcpy(spa->range_guid, to_nfit_uuid(NFIT_SPA_BDW), 16); in nfit_test0_setup()
1912 spa->range_index = 9+1; in nfit_test0_setup()
1913 spa->address = t->dimm_dma[3]; in nfit_test0_setup()
1914 spa->length = DIMM_SIZE; in nfit_test0_setup()
1915 offset += spa->header.length; in nfit_test0_setup()
2395 spa = nfit_buf + offset; in nfit_test0_setup()
2396 spa->header.type = ACPI_NFIT_TYPE_SYSTEM_ADDRESS; in nfit_test0_setup()
2397 spa->header.length = sizeof(*spa); in nfit_test0_setup()
2398 memcpy(spa->range_guid, to_nfit_uuid(NFIT_SPA_DCR), 16); in nfit_test0_setup()
2399 spa->range_index = 10+1; in nfit_test0_setup()
2400 spa->address = t->dcr_dma[4]; in nfit_test0_setup()
2401 spa->length = DCR_SIZE; in nfit_test0_setup()
2402 offset += spa->header.length; in nfit_test0_setup()
2409 spa = nfit_buf + offset; in nfit_test0_setup()
2410 spa->header.type = ACPI_NFIT_TYPE_SYSTEM_ADDRESS; in nfit_test0_setup()
2411 spa->header.length = sizeof(*spa); in nfit_test0_setup()
2412 memcpy(spa->range_guid, to_nfit_uuid(NFIT_SPA_PM), 16); in nfit_test0_setup()
2413 spa->range_index = 11+1; in nfit_test0_setup()
2414 spa->address = t->spa_set_dma[2]; in nfit_test0_setup()
2415 spa->length = SPA0_SIZE; in nfit_test0_setup()
2416 offset += spa->header.length; in nfit_test0_setup()
2419 spa = nfit_buf + offset; in nfit_test0_setup()
2420 spa->header.type = ACPI_NFIT_TYPE_SYSTEM_ADDRESS; in nfit_test0_setup()
2421 spa->header.length = sizeof(*spa); in nfit_test0_setup()
2422 memcpy(spa->range_guid, to_nfit_uuid(NFIT_SPA_BDW), 16); in nfit_test0_setup()
2423 spa->range_index = 12+1; in nfit_test0_setup()
2424 spa->address = t->dimm_dma[4]; in nfit_test0_setup()
2425 spa->length = DIMM_SIZE; in nfit_test0_setup()
2426 offset += spa->header.length; in nfit_test0_setup()
2542 struct acpi_nfit_system_address *spa; in nfit_test1_setup() local
2547 spa = nfit_buf + offset; in nfit_test1_setup()
2548 spa->header.type = ACPI_NFIT_TYPE_SYSTEM_ADDRESS; in nfit_test1_setup()
2549 spa->header.length = sizeof(*spa); in nfit_test1_setup()
2550 memcpy(spa->range_guid, to_nfit_uuid(NFIT_SPA_PM), 16); in nfit_test1_setup()
2551 spa->range_index = 0+1; in nfit_test1_setup()
2552 spa->address = t->spa_set_dma[0]; in nfit_test1_setup()
2553 spa->length = SPA2_SIZE; in nfit_test1_setup()
2554 offset += spa->header.length; in nfit_test1_setup()
2557 spa = nfit_buf + offset; in nfit_test1_setup()
2558 spa->header.type = ACPI_NFIT_TYPE_SYSTEM_ADDRESS; in nfit_test1_setup()
2559 spa->header.length = sizeof(*spa); in nfit_test1_setup()
2560 memcpy(spa->range_guid, to_nfit_uuid(NFIT_SPA_VCD), 16); in nfit_test1_setup()
2561 spa->range_index = 0; in nfit_test1_setup()
2562 spa->address = t->spa_set_dma[1]; in nfit_test1_setup()
2563 spa->length = SPA_VCD_SIZE; in nfit_test1_setup()
2564 offset += spa->header.length; in nfit_test1_setup()