Home
last modified time | relevance | path

Searched refs:p_mem_node (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/pci/hotplug/
H A Dcpqphp_pci.c704 struct pci_resource *p_mem_node; in cpqhp_save_used_resources() local
780 p_mem_node = kmalloc(sizeof(*p_mem_node), GFP_KERNEL); in cpqhp_save_used_resources()
781 if (!p_mem_node) in cpqhp_save_used_resources()
829 p_mem_node = kmalloc(sizeof(*p_mem_node), in cpqhp_save_used_resources()
831 if (!p_mem_node) in cpqhp_save_used_resources()
900 p_mem_node = kmalloc(sizeof(*p_mem_node), in cpqhp_save_used_resources()
902 if (!p_mem_node) in cpqhp_save_used_resources()
1181 struct pci_resource *p_mem_node; in cpqhp_find_available_resources() local
1352 p_mem_node = kmalloc(sizeof(*p_mem_node), GFP_KERNEL); in cpqhp_find_available_resources()
1353 if (!p_mem_node) in cpqhp_find_available_resources()
[all …]
H A Dcpqphp_nvram.c428 struct pci_resource *p_mem_node; in compaq_nvram_load() local
535 p_mem_node = kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in compaq_nvram_load()
537 if (!p_mem_node) in compaq_nvram_load()
540 p_mem_node->base = *(u32 *)p_byte; in compaq_nvram_load()
541 dbg("pre-mem base = %8.8x\n", p_mem_node->base); in compaq_nvram_load()
545 kfree(p_mem_node); in compaq_nvram_load()
549 p_mem_node->length = *(u32 *)p_byte; in compaq_nvram_load()
550 dbg("pre-mem length = %8.8x\n", p_mem_node->length); in compaq_nvram_load()
554 kfree(p_mem_node); in compaq_nvram_load()
558 p_mem_node->next = ctrl->p_mem_head; in compaq_nvram_load()
[all …]
H A Dcpqphp_ctrl.c2324 struct pci_resource *p_mem_node; in configure_new_function() local
2397 if (!p_mem_node) in configure_new_function()
2408 p_mem_node->length, p_mem_node->next); in configure_new_function()
2484 p_mem_node->next = NULL; in configure_new_function()
2490 temp_word = (p_mem_node->base + p_mem_node->length - 1) >> 16; in configure_new_function()
2680 if (p_mem_node) { in configure_new_function()
2681 hold_p_mem_node->base = p_mem_node->base + p_mem_node->length; in configure_new_function()
2692 if (p_mem_node) { in configure_new_function()
2789 if (p_mem_node) { in configure_new_function()
2790 base = p_mem_node->base; in configure_new_function()
[all …]