Searched refs:memcell_buf (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/arch/powerpc/mm/ |
| D | numa.c | 689 const __be32 *memcell_buf; in parse_numa_properties() local 692 memcell_buf = of_get_property(memory, in parse_numa_properties() 694 if (!memcell_buf || len <= 0) in parse_numa_properties() 695 memcell_buf = of_get_property(memory, "reg", &len); in parse_numa_properties() 696 if (!memcell_buf || len <= 0) in parse_numa_properties() 703 start = read_n_cells(n_mem_addr_cells, &memcell_buf); in parse_numa_properties() 704 size = read_n_cells(n_mem_size_cells, &memcell_buf); in parse_numa_properties() 997 const __be32 *memcell_buf; in hot_add_node_scn_to_nid() local 1000 memcell_buf = of_get_property(memory, "reg", &len); in hot_add_node_scn_to_nid() 1001 if (!memcell_buf || len <= 0) in hot_add_node_scn_to_nid() [all …]
|
| /Linux-v5.4/arch/powerpc/platforms/pseries/ |
| D | iommu.c | 937 const __be32 *memcell_buf; in ddw_memory_hotplug_max() local 939 memcell_buf = of_get_property(memory, "reg", &len); in ddw_memory_hotplug_max() 940 if (!memcell_buf || len <= 0) in ddw_memory_hotplug_max() 946 start = of_read_number(memcell_buf, n_mem_addr_cells); in ddw_memory_hotplug_max() 947 memcell_buf += n_mem_addr_cells; in ddw_memory_hotplug_max() 948 size = of_read_number(memcell_buf, n_mem_size_cells); in ddw_memory_hotplug_max() 949 memcell_buf += n_mem_size_cells; in ddw_memory_hotplug_max()
|