Searched refs:memcell_buf (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.15/arch/powerpc/mm/ |
| D | numa.c | 973 const __be32 *memcell_buf; in parse_numa_properties() local 976 memcell_buf = of_get_property(memory, in parse_numa_properties() 978 if (!memcell_buf || len <= 0) in parse_numa_properties() 979 memcell_buf = of_get_property(memory, "reg", &len); in parse_numa_properties() 980 if (!memcell_buf || len <= 0) in parse_numa_properties() 987 start = read_n_cells(n_mem_addr_cells, &memcell_buf); in parse_numa_properties() 988 size = read_n_cells(n_mem_size_cells, &memcell_buf); in parse_numa_properties() 1296 const __be32 *memcell_buf; in hot_add_node_scn_to_nid() local 1299 memcell_buf = of_get_property(memory, "reg", &len); in hot_add_node_scn_to_nid() 1300 if (!memcell_buf || len <= 0) in hot_add_node_scn_to_nid() [all …]
|
| /Linux-v5.15/arch/powerpc/platforms/pseries/ |
| D | iommu.c | 1107 const __be32 *memcell_buf; in ddw_memory_hotplug_max() local 1109 memcell_buf = of_get_property(memory, "reg", &len); in ddw_memory_hotplug_max() 1110 if (!memcell_buf || len <= 0) in ddw_memory_hotplug_max() 1116 start = of_read_number(memcell_buf, n_mem_addr_cells); in ddw_memory_hotplug_max() 1117 memcell_buf += n_mem_addr_cells; in ddw_memory_hotplug_max() 1118 size = of_read_number(memcell_buf, n_mem_size_cells); in ddw_memory_hotplug_max() 1119 memcell_buf += n_mem_size_cells; in ddw_memory_hotplug_max()
|