Searched refs:mem_node (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/soc/fsl/qbman/ |
H A D | dpaa_sys.c | 40 struct device_node *mem_node; in qbman_init_private_mem() local 45 mem_node = of_parse_phandle(dev->of_node, "memory-region", idx); in qbman_init_private_mem() 46 if (!mem_node) { in qbman_init_private_mem() 51 rmem = of_reserved_mem_lookup(mem_node); in qbman_init_private_mem() 65 if (!of_property_present(mem_node, "reg")) { in qbman_init_private_mem() 83 err = of_add_property(mem_node, prop); in qbman_init_private_mem()
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | cpqphp_pci.c | 708 struct pci_resource *mem_node; in cpqhp_save_used_resources() local 769 mem_node = kmalloc(sizeof(*mem_node), GFP_KERNEL); in cpqhp_save_used_resources() 770 if (!mem_node) in cpqhp_save_used_resources() 773 mem_node->base = w_base << 16; in cpqhp_save_used_resources() 774 mem_node->length = (w_length - w_base + 0x10) << 16; in cpqhp_save_used_resources() 776 mem_node->next = func->mem_head; in cpqhp_save_used_resources() 777 func->mem_head = mem_node; in cpqhp_save_used_resources() 851 mem_node = kmalloc(sizeof(*mem_node), in cpqhp_save_used_resources() 853 if (!mem_node) in cpqhp_save_used_resources() 856 mem_node->base = save_base & (~0x0FL); in cpqhp_save_used_resources() [all …]
|
H A D | cpqphp_nvram.c | 427 struct pci_resource *mem_node; in compaq_nvram_load() local 507 mem_node = kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in compaq_nvram_load() 509 if (!mem_node) in compaq_nvram_load() 512 mem_node->base = *(u32 *)p_byte; in compaq_nvram_load() 513 dbg("mem base = %8.8x\n", mem_node->base); in compaq_nvram_load() 517 kfree(mem_node); in compaq_nvram_load() 521 mem_node->length = *(u32 *)p_byte; in compaq_nvram_load() 522 dbg("mem length = %8.8x\n", mem_node->length); in compaq_nvram_load() 526 kfree(mem_node); in compaq_nvram_load() 530 mem_node->next = ctrl->mem_head; in compaq_nvram_load() [all …]
|
H A D | cpqphp_ctrl.c | 2323 struct pci_resource *mem_node; in configure_new_function() local 2393 mem_node = get_max_resource(&(resources->mem_head), 0x100000); in configure_new_function() 2394 if (!mem_node) in configure_new_function() 2404 dbg("(base, len, next) (%x, %x, %p)\n", mem_node->base, in configure_new_function() 2405 mem_node->length, mem_node->next); in configure_new_function() 2431 temp_resources.mem_head = mem_node; in configure_new_function() 2473 memcpy(hold_mem_node, mem_node, sizeof(struct pci_resource)); in configure_new_function() 2474 mem_node->next = NULL; in configure_new_function() 2477 temp_word = mem_node->base >> 16; in configure_new_function() 2480 temp_word = (mem_node->base + mem_node->length - 1) >> 16; in configure_new_function() [all …]
|
/openbmc/qemu/hw/acpi/ |
H A D | hmat.c | 38 uint32_t initiator, uint32_t mem_node) in build_hmat_mpda() argument 55 build_append_int_noprefix(table_data, mem_node, 4); in build_hmat_mpda()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | chmc.c | 400 struct device_node *mem_node; in jbusmc_probe() local 407 mem_node = of_find_node_by_path("/memory"); in jbusmc_probe() 408 if (!mem_node) { in jbusmc_probe() 412 mem_regs = of_get_property(mem_node, "reg", &len); in jbusmc_probe()
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | ksm_tests.c | 469 int mem_node = 0; in get_next_mem_node() local 473 mem_node = i % (max_node + 1); in get_next_mem_node() 474 node_size = numa_node_size(mem_node, NULL); in get_next_mem_node() 478 return mem_node; in get_next_mem_node()
|
/openbmc/linux/kernel/sched/ |
H A D | fair.c | 3122 void task_numa_fault(int last_cpupid, int mem_node, int pages, int flags) in task_numa_fault() argument 3142 if (!node_is_toptier(mem_node) && in task_numa_fault() 3181 numa_is_active_node(mem_node, ng)) in task_numa_fault() 3198 p->numa_faults[task_faults_idx(NUMA_MEMBUF, mem_node, priv)] += pages; in task_numa_fault()
|