Home
last modified time | relevance | path

Searched refs:memcell_buf (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/arch/powerpc/mm/
H A Dnuma.c757 const __be32 *memcell_buf; in parse_numa_properties() local
760 memcell_buf = of_get_property(memory, in parse_numa_properties()
762 if (!memcell_buf || len <= 0) in parse_numa_properties()
763 memcell_buf = of_get_property(memory, "reg", &len); in parse_numa_properties()
764 if (!memcell_buf || len <= 0) in parse_numa_properties()
771 start = read_n_cells(n_mem_addr_cells, &memcell_buf); in parse_numa_properties()
772 size = read_n_cells(n_mem_size_cells, &memcell_buf); in parse_numa_properties()
1082 const __be32 *memcell_buf; in hot_add_node_scn_to_nid() local
1085 memcell_buf = of_get_property(memory, "reg", &len); in hot_add_node_scn_to_nid()
1086 if (!memcell_buf || len <= 0) in hot_add_node_scn_to_nid()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/
H A Diommu.c1040 const __be32 *memcell_buf; in ddw_memory_hotplug_max() local
1042 memcell_buf = of_get_property(memory, "reg", &len); in ddw_memory_hotplug_max()
1043 if (!memcell_buf || len <= 0) in ddw_memory_hotplug_max()
1049 start = of_read_number(memcell_buf, n_mem_addr_cells); in ddw_memory_hotplug_max()
1050 memcell_buf += n_mem_addr_cells; in ddw_memory_hotplug_max()
1051 size = of_read_number(memcell_buf, n_mem_size_cells); in ddw_memory_hotplug_max()
1052 memcell_buf += n_mem_size_cells; in ddw_memory_hotplug_max()