Searched refs:memcell_buf (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/arch/powerpc/mm/ |
D | numa.c | 755 const __be32 *memcell_buf; in parse_numa_properties() local 758 memcell_buf = of_get_property(memory, in parse_numa_properties() 760 if (!memcell_buf || len <= 0) in parse_numa_properties() 761 memcell_buf = of_get_property(memory, "reg", &len); in parse_numa_properties() 762 if (!memcell_buf || len <= 0) in parse_numa_properties() 769 start = read_n_cells(n_mem_addr_cells, &memcell_buf); in parse_numa_properties() 770 size = read_n_cells(n_mem_size_cells, &memcell_buf); in parse_numa_properties() 1073 const __be32 *memcell_buf; in hot_add_node_scn_to_nid() local 1076 memcell_buf = of_get_property(memory, "reg", &len); in hot_add_node_scn_to_nid() 1077 if (!memcell_buf || len <= 0) in hot_add_node_scn_to_nid() [all …]
|
/Linux-v5.10/arch/powerpc/platforms/pseries/ |
D | iommu.c | 1049 const __be32 *memcell_buf; in ddw_memory_hotplug_max() local 1051 memcell_buf = of_get_property(memory, "reg", &len); in ddw_memory_hotplug_max() 1052 if (!memcell_buf || len <= 0) in ddw_memory_hotplug_max() 1058 start = of_read_number(memcell_buf, n_mem_addr_cells); in ddw_memory_hotplug_max() 1059 memcell_buf += n_mem_addr_cells; in ddw_memory_hotplug_max() 1060 size = of_read_number(memcell_buf, n_mem_size_cells); in ddw_memory_hotplug_max() 1061 memcell_buf += n_mem_size_cells; in ddw_memory_hotplug_max()
|