Lines Matching refs:memdev

1987 	struct acpi_nfit_memory_map *memdev;  in nfit_test0_setup()  local
2106 memdev = nfit_buf + offset; in nfit_test0_setup()
2107 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test0_setup()
2108 memdev->header.length = sizeof(*memdev); in nfit_test0_setup()
2109 memdev->device_handle = handle[0]; in nfit_test0_setup()
2110 memdev->physical_id = 0; in nfit_test0_setup()
2111 memdev->region_id = 0; in nfit_test0_setup()
2112 memdev->range_index = 0+1; in nfit_test0_setup()
2113 memdev->region_index = 4+1; in nfit_test0_setup()
2114 memdev->region_size = SPA0_SIZE/2; in nfit_test0_setup()
2115 memdev->region_offset = 1; in nfit_test0_setup()
2116 memdev->address = 0; in nfit_test0_setup()
2117 memdev->interleave_index = 0; in nfit_test0_setup()
2118 memdev->interleave_ways = 2; in nfit_test0_setup()
2119 offset += memdev->header.length; in nfit_test0_setup()
2122 memdev = nfit_buf + offset; in nfit_test0_setup()
2123 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test0_setup()
2124 memdev->header.length = sizeof(*memdev); in nfit_test0_setup()
2125 memdev->device_handle = handle[1]; in nfit_test0_setup()
2126 memdev->physical_id = 1; in nfit_test0_setup()
2127 memdev->region_id = 0; in nfit_test0_setup()
2128 memdev->range_index = 0+1; in nfit_test0_setup()
2129 memdev->region_index = 5+1; in nfit_test0_setup()
2130 memdev->region_size = SPA0_SIZE/2; in nfit_test0_setup()
2131 memdev->region_offset = (1 << 8); in nfit_test0_setup()
2132 memdev->address = 0; in nfit_test0_setup()
2133 memdev->interleave_index = 0; in nfit_test0_setup()
2134 memdev->interleave_ways = 2; in nfit_test0_setup()
2135 memdev->flags = ACPI_NFIT_MEM_HEALTH_ENABLED; in nfit_test0_setup()
2136 offset += memdev->header.length; in nfit_test0_setup()
2139 memdev = nfit_buf + offset; in nfit_test0_setup()
2140 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test0_setup()
2141 memdev->header.length = sizeof(*memdev); in nfit_test0_setup()
2142 memdev->device_handle = handle[0]; in nfit_test0_setup()
2143 memdev->physical_id = 0; in nfit_test0_setup()
2144 memdev->region_id = 1; in nfit_test0_setup()
2145 memdev->range_index = 1+1; in nfit_test0_setup()
2146 memdev->region_index = 4+1; in nfit_test0_setup()
2147 memdev->region_size = SPA1_SIZE/4; in nfit_test0_setup()
2148 memdev->region_offset = (1 << 16); in nfit_test0_setup()
2149 memdev->address = SPA0_SIZE/2; in nfit_test0_setup()
2150 memdev->interleave_index = 0; in nfit_test0_setup()
2151 memdev->interleave_ways = 4; in nfit_test0_setup()
2152 memdev->flags = ACPI_NFIT_MEM_HEALTH_ENABLED; in nfit_test0_setup()
2153 offset += memdev->header.length; in nfit_test0_setup()
2156 memdev = nfit_buf + offset; in nfit_test0_setup()
2157 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test0_setup()
2158 memdev->header.length = sizeof(*memdev); in nfit_test0_setup()
2159 memdev->device_handle = handle[1]; in nfit_test0_setup()
2160 memdev->physical_id = 1; in nfit_test0_setup()
2161 memdev->region_id = 1; in nfit_test0_setup()
2162 memdev->range_index = 1+1; in nfit_test0_setup()
2163 memdev->region_index = 5+1; in nfit_test0_setup()
2164 memdev->region_size = SPA1_SIZE/4; in nfit_test0_setup()
2165 memdev->region_offset = (1 << 24); in nfit_test0_setup()
2166 memdev->address = SPA0_SIZE/2; in nfit_test0_setup()
2167 memdev->interleave_index = 0; in nfit_test0_setup()
2168 memdev->interleave_ways = 4; in nfit_test0_setup()
2169 offset += memdev->header.length; in nfit_test0_setup()
2172 memdev = nfit_buf + offset; in nfit_test0_setup()
2173 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test0_setup()
2174 memdev->header.length = sizeof(*memdev); in nfit_test0_setup()
2175 memdev->device_handle = handle[2]; in nfit_test0_setup()
2176 memdev->physical_id = 2; in nfit_test0_setup()
2177 memdev->region_id = 0; in nfit_test0_setup()
2178 memdev->range_index = 1+1; in nfit_test0_setup()
2179 memdev->region_index = 6+1; in nfit_test0_setup()
2180 memdev->region_size = SPA1_SIZE/4; in nfit_test0_setup()
2181 memdev->region_offset = (1ULL << 32); in nfit_test0_setup()
2182 memdev->address = SPA0_SIZE/2; in nfit_test0_setup()
2183 memdev->interleave_index = 0; in nfit_test0_setup()
2184 memdev->interleave_ways = 4; in nfit_test0_setup()
2185 memdev->flags = ACPI_NFIT_MEM_HEALTH_ENABLED; in nfit_test0_setup()
2186 offset += memdev->header.length; in nfit_test0_setup()
2189 memdev = nfit_buf + offset; in nfit_test0_setup()
2190 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test0_setup()
2191 memdev->header.length = sizeof(*memdev); in nfit_test0_setup()
2192 memdev->device_handle = handle[3]; in nfit_test0_setup()
2193 memdev->physical_id = 3; in nfit_test0_setup()
2194 memdev->region_id = 0; in nfit_test0_setup()
2195 memdev->range_index = 1+1; in nfit_test0_setup()
2196 memdev->region_index = 7+1; in nfit_test0_setup()
2197 memdev->region_size = SPA1_SIZE/4; in nfit_test0_setup()
2198 memdev->region_offset = (1ULL << 40); in nfit_test0_setup()
2199 memdev->address = SPA0_SIZE/2; in nfit_test0_setup()
2200 memdev->interleave_index = 0; in nfit_test0_setup()
2201 memdev->interleave_ways = 4; in nfit_test0_setup()
2202 offset += memdev->header.length; in nfit_test0_setup()
2205 memdev = nfit_buf + offset; in nfit_test0_setup()
2206 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test0_setup()
2207 memdev->header.length = sizeof(*memdev); in nfit_test0_setup()
2208 memdev->device_handle = handle[0]; in nfit_test0_setup()
2209 memdev->physical_id = 0; in nfit_test0_setup()
2210 memdev->region_id = 0; in nfit_test0_setup()
2211 memdev->range_index = 2+1; in nfit_test0_setup()
2212 memdev->region_index = 0+1; in nfit_test0_setup()
2213 memdev->region_size = 0; in nfit_test0_setup()
2214 memdev->region_offset = 0; in nfit_test0_setup()
2215 memdev->address = 0; in nfit_test0_setup()
2216 memdev->interleave_index = 0; in nfit_test0_setup()
2217 memdev->interleave_ways = 1; in nfit_test0_setup()
2218 offset += memdev->header.length; in nfit_test0_setup()
2221 memdev = nfit_buf + offset; in nfit_test0_setup()
2222 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test0_setup()
2223 memdev->header.length = sizeof(*memdev); in nfit_test0_setup()
2224 memdev->device_handle = handle[1]; in nfit_test0_setup()
2225 memdev->physical_id = 1; in nfit_test0_setup()
2226 memdev->region_id = 0; in nfit_test0_setup()
2227 memdev->range_index = 3+1; in nfit_test0_setup()
2228 memdev->region_index = 1+1; in nfit_test0_setup()
2229 memdev->region_size = 0; in nfit_test0_setup()
2230 memdev->region_offset = 0; in nfit_test0_setup()
2231 memdev->address = 0; in nfit_test0_setup()
2232 memdev->interleave_index = 0; in nfit_test0_setup()
2233 memdev->interleave_ways = 1; in nfit_test0_setup()
2234 offset += memdev->header.length; in nfit_test0_setup()
2237 memdev = nfit_buf + offset; in nfit_test0_setup()
2238 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test0_setup()
2239 memdev->header.length = sizeof(*memdev); in nfit_test0_setup()
2240 memdev->device_handle = handle[2]; in nfit_test0_setup()
2241 memdev->physical_id = 2; in nfit_test0_setup()
2242 memdev->region_id = 0; in nfit_test0_setup()
2243 memdev->range_index = 4+1; in nfit_test0_setup()
2244 memdev->region_index = 2+1; in nfit_test0_setup()
2245 memdev->region_size = 0; in nfit_test0_setup()
2246 memdev->region_offset = 0; in nfit_test0_setup()
2247 memdev->address = 0; in nfit_test0_setup()
2248 memdev->interleave_index = 0; in nfit_test0_setup()
2249 memdev->interleave_ways = 1; in nfit_test0_setup()
2250 offset += memdev->header.length; in nfit_test0_setup()
2253 memdev = nfit_buf + offset; in nfit_test0_setup()
2254 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test0_setup()
2255 memdev->header.length = sizeof(*memdev); in nfit_test0_setup()
2256 memdev->device_handle = handle[3]; in nfit_test0_setup()
2257 memdev->physical_id = 3; in nfit_test0_setup()
2258 memdev->region_id = 0; in nfit_test0_setup()
2259 memdev->range_index = 5+1; in nfit_test0_setup()
2260 memdev->region_index = 3+1; in nfit_test0_setup()
2261 memdev->region_size = 0; in nfit_test0_setup()
2262 memdev->region_offset = 0; in nfit_test0_setup()
2263 memdev->address = 0; in nfit_test0_setup()
2264 memdev->interleave_index = 0; in nfit_test0_setup()
2265 memdev->interleave_ways = 1; in nfit_test0_setup()
2266 offset += memdev->header.length; in nfit_test0_setup()
2269 memdev = nfit_buf + offset; in nfit_test0_setup()
2270 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test0_setup()
2271 memdev->header.length = sizeof(*memdev); in nfit_test0_setup()
2272 memdev->device_handle = handle[0]; in nfit_test0_setup()
2273 memdev->physical_id = 0; in nfit_test0_setup()
2274 memdev->region_id = 0; in nfit_test0_setup()
2275 memdev->range_index = 6+1; in nfit_test0_setup()
2276 memdev->region_index = 0+1; in nfit_test0_setup()
2277 memdev->region_size = 0; in nfit_test0_setup()
2278 memdev->region_offset = 0; in nfit_test0_setup()
2279 memdev->address = 0; in nfit_test0_setup()
2280 memdev->interleave_index = 0; in nfit_test0_setup()
2281 memdev->interleave_ways = 1; in nfit_test0_setup()
2282 offset += memdev->header.length; in nfit_test0_setup()
2285 memdev = nfit_buf + offset; in nfit_test0_setup()
2286 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test0_setup()
2287 memdev->header.length = sizeof(*memdev); in nfit_test0_setup()
2288 memdev->device_handle = handle[1]; in nfit_test0_setup()
2289 memdev->physical_id = 1; in nfit_test0_setup()
2290 memdev->region_id = 0; in nfit_test0_setup()
2291 memdev->range_index = 7+1; in nfit_test0_setup()
2292 memdev->region_index = 1+1; in nfit_test0_setup()
2293 memdev->region_size = 0; in nfit_test0_setup()
2294 memdev->region_offset = 0; in nfit_test0_setup()
2295 memdev->address = 0; in nfit_test0_setup()
2296 memdev->interleave_index = 0; in nfit_test0_setup()
2297 memdev->interleave_ways = 1; in nfit_test0_setup()
2298 offset += memdev->header.length; in nfit_test0_setup()
2301 memdev = nfit_buf + offset; in nfit_test0_setup()
2302 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test0_setup()
2303 memdev->header.length = sizeof(*memdev); in nfit_test0_setup()
2304 memdev->device_handle = handle[2]; in nfit_test0_setup()
2305 memdev->physical_id = 2; in nfit_test0_setup()
2306 memdev->region_id = 0; in nfit_test0_setup()
2307 memdev->range_index = 8+1; in nfit_test0_setup()
2308 memdev->region_index = 2+1; in nfit_test0_setup()
2309 memdev->region_size = 0; in nfit_test0_setup()
2310 memdev->region_offset = 0; in nfit_test0_setup()
2311 memdev->address = 0; in nfit_test0_setup()
2312 memdev->interleave_index = 0; in nfit_test0_setup()
2313 memdev->interleave_ways = 1; in nfit_test0_setup()
2314 offset += memdev->header.length; in nfit_test0_setup()
2317 memdev = nfit_buf + offset; in nfit_test0_setup()
2318 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test0_setup()
2319 memdev->header.length = sizeof(*memdev); in nfit_test0_setup()
2320 memdev->device_handle = handle[3]; in nfit_test0_setup()
2321 memdev->physical_id = 3; in nfit_test0_setup()
2322 memdev->region_id = 0; in nfit_test0_setup()
2323 memdev->range_index = 9+1; in nfit_test0_setup()
2324 memdev->region_index = 3+1; in nfit_test0_setup()
2325 memdev->region_size = 0; in nfit_test0_setup()
2326 memdev->region_offset = 0; in nfit_test0_setup()
2327 memdev->address = 0; in nfit_test0_setup()
2328 memdev->interleave_index = 0; in nfit_test0_setup()
2329 memdev->interleave_ways = 1; in nfit_test0_setup()
2330 memdev->flags = ACPI_NFIT_MEM_HEALTH_ENABLED; in nfit_test0_setup()
2331 offset += memdev->header.length; in nfit_test0_setup()
2617 memdev = nfit_buf + offset; in nfit_test0_setup()
2618 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test0_setup()
2619 memdev->header.length = sizeof(*memdev); in nfit_test0_setup()
2620 memdev->device_handle = handle[4]; in nfit_test0_setup()
2621 memdev->physical_id = 4; in nfit_test0_setup()
2622 memdev->region_id = 0; in nfit_test0_setup()
2623 memdev->range_index = 10+1; in nfit_test0_setup()
2624 memdev->region_index = 8+1; in nfit_test0_setup()
2625 memdev->region_size = 0; in nfit_test0_setup()
2626 memdev->region_offset = 0; in nfit_test0_setup()
2627 memdev->address = 0; in nfit_test0_setup()
2628 memdev->interleave_index = 0; in nfit_test0_setup()
2629 memdev->interleave_ways = 1; in nfit_test0_setup()
2630 offset += memdev->header.length; in nfit_test0_setup()
2633 memdev = nfit_buf + offset; in nfit_test0_setup()
2634 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test0_setup()
2635 memdev->header.length = sizeof(*memdev); in nfit_test0_setup()
2636 memdev->device_handle = handle[4]; in nfit_test0_setup()
2637 memdev->physical_id = 4; in nfit_test0_setup()
2638 memdev->region_id = 0; in nfit_test0_setup()
2639 memdev->range_index = 11+1; in nfit_test0_setup()
2640 memdev->region_index = 9+1; in nfit_test0_setup()
2641 memdev->region_size = SPA0_SIZE; in nfit_test0_setup()
2642 memdev->region_offset = (1ULL << 48); in nfit_test0_setup()
2643 memdev->address = 0; in nfit_test0_setup()
2644 memdev->interleave_index = 0; in nfit_test0_setup()
2645 memdev->interleave_ways = 1; in nfit_test0_setup()
2646 memdev->flags = ACPI_NFIT_MEM_HEALTH_ENABLED; in nfit_test0_setup()
2647 offset += memdev->header.length; in nfit_test0_setup()
2650 memdev = nfit_buf + offset; in nfit_test0_setup()
2651 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test0_setup()
2652 memdev->header.length = sizeof(*memdev); in nfit_test0_setup()
2653 memdev->device_handle = handle[4]; in nfit_test0_setup()
2654 memdev->physical_id = 4; in nfit_test0_setup()
2655 memdev->region_id = 0; in nfit_test0_setup()
2656 memdev->range_index = 12+1; in nfit_test0_setup()
2657 memdev->region_index = 8+1; in nfit_test0_setup()
2658 memdev->region_size = 0; in nfit_test0_setup()
2659 memdev->region_offset = 0; in nfit_test0_setup()
2660 memdev->address = 0; in nfit_test0_setup()
2661 memdev->interleave_index = 0; in nfit_test0_setup()
2662 memdev->interleave_ways = 1; in nfit_test0_setup()
2663 offset += memdev->header.length; in nfit_test0_setup()
2734 struct acpi_nfit_memory_map *memdev; in nfit_test1_setup() local
2761 memdev = nfit_buf + offset; in nfit_test1_setup()
2762 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test1_setup()
2763 memdev->header.length = sizeof(*memdev); in nfit_test1_setup()
2764 memdev->device_handle = handle[5]; in nfit_test1_setup()
2765 memdev->physical_id = 0; in nfit_test1_setup()
2766 memdev->region_id = 0; in nfit_test1_setup()
2767 memdev->range_index = 0+1; in nfit_test1_setup()
2768 memdev->region_index = 0+1; in nfit_test1_setup()
2769 memdev->region_size = SPA2_SIZE; in nfit_test1_setup()
2770 memdev->region_offset = 0; in nfit_test1_setup()
2771 memdev->address = 0; in nfit_test1_setup()
2772 memdev->interleave_index = 0; in nfit_test1_setup()
2773 memdev->interleave_ways = 1; in nfit_test1_setup()
2774 memdev->flags = ACPI_NFIT_MEM_SAVE_FAILED | ACPI_NFIT_MEM_RESTORE_FAILED in nfit_test1_setup()
2777 offset += memdev->header.length; in nfit_test1_setup()
2791 memdev = nfit_buf + offset; in nfit_test1_setup()
2792 memdev->header.type = ACPI_NFIT_TYPE_MEMORY_MAP; in nfit_test1_setup()
2793 memdev->header.length = sizeof(*memdev); in nfit_test1_setup()
2794 memdev->device_handle = handle[6]; in nfit_test1_setup()
2795 memdev->physical_id = 0; in nfit_test1_setup()
2796 memdev->region_id = 0; in nfit_test1_setup()
2797 memdev->range_index = 0; in nfit_test1_setup()
2798 memdev->region_index = 0+2; in nfit_test1_setup()
2799 memdev->region_size = SPA2_SIZE; in nfit_test1_setup()
2800 memdev->region_offset = 0; in nfit_test1_setup()
2801 memdev->address = 0; in nfit_test1_setup()
2802 memdev->interleave_index = 0; in nfit_test1_setup()
2803 memdev->interleave_ways = 1; in nfit_test1_setup()
2804 memdev->flags = ACPI_NFIT_MEM_MAP_FAILED; in nfit_test1_setup()
2805 offset += memdev->header.length; in nfit_test1_setup()