Searched refs:p_mem_node (Results 1 – 8 of 8) sorted by relevance
/linux-2.4.37.9/drivers/hotplug/ |
D | shpchprm_legacy.c | 119 struct pci_resource *p_mem_node; in shpchprm_find_available_resources() local 292 p_mem_node = (struct pci_resource *) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in shpchprm_find_available_resources() 293 if (!p_mem_node) in shpchprm_find_available_resources() 296 p_mem_node->base = (ulong)pre_mem_base << 16; in shpchprm_find_available_resources() 297 p_mem_node->length = (ulong)pre_mem_length << 16; in shpchprm_find_available_resources() 298 dbg("found p_mem_node(base, length) = %x, %x\n", p_mem_node->base, p_mem_node->length); in shpchprm_find_available_resources() 301 p_mem_node->next = ctrl->p_mem_head; in shpchprm_find_available_resources() 302 ctrl->p_mem_head = p_mem_node; in shpchprm_find_available_resources() 304 p_mem_node->next = func->p_mem_head; in shpchprm_find_available_resources() 305 func->p_mem_head = p_mem_node; in shpchprm_find_available_resources()
|
D | pciehp_pci.c | 681 struct pci_resource *p_mem_node = NULL; in pciehp_save_used_resources() local 768 p_mem_node = (struct pci_resource *) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in pciehp_save_used_resources() 769 if (!p_mem_node) in pciehp_save_used_resources() 772 p_mem_node->base = (ulong)w_base << 16; in pciehp_save_used_resources() 773 p_mem_node->length = (ulong)(w_length - w_base + 0x10) << 16; in pciehp_save_used_resources() 775 p_mem_node->next = func->p_mem_head; in pciehp_save_used_resources() 776 func->p_mem_head = p_mem_node; in pciehp_save_used_resources() 829 p_mem_node = t_mem_node; in pciehp_save_used_resources() 837 p_mem_node->base = (ulong)save_base & PCI_BASE_ADDRESS_MEM_MASK; in pciehp_save_used_resources() 838 p_mem_node->length = (ulong)base; in pciehp_save_used_resources() [all …]
|
D | shpchp_pci.c | 673 struct pci_resource *p_mem_node = NULL; in shpchp_save_used_resources() local 760 p_mem_node = (struct pci_resource *) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in shpchp_save_used_resources() 761 if (!p_mem_node) in shpchp_save_used_resources() 764 p_mem_node->base = (ulong)w_base << 16; in shpchp_save_used_resources() 765 p_mem_node->length = (ulong)(w_length - w_base + 0x10) << 16; in shpchp_save_used_resources() 767 p_mem_node->next = func->p_mem_head; in shpchp_save_used_resources() 768 func->p_mem_head = p_mem_node; in shpchp_save_used_resources() 821 p_mem_node = t_mem_node; in shpchp_save_used_resources() 829 p_mem_node->base = (ulong)save_base & PCI_BASE_ADDRESS_MEM_MASK; in shpchp_save_used_resources() 830 p_mem_node->length = (ulong)base; in shpchp_save_used_resources() [all …]
|
D | cpqphp_pci.c | 896 struct pci_resource *p_mem_node; in cpqhp_save_used_resources() local 970 p_mem_node = (struct pci_resource *) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in cpqhp_save_used_resources() 971 if (!p_mem_node) in cpqhp_save_used_resources() 974 p_mem_node->base = w_base << 16; in cpqhp_save_used_resources() 975 p_mem_node->length = (w_length - w_base + 0x10) << 16; in cpqhp_save_used_resources() 977 p_mem_node->next = func->p_mem_head; in cpqhp_save_used_resources() 978 func->p_mem_head = p_mem_node; in cpqhp_save_used_resources() 1016 p_mem_node = (struct pci_resource *) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in cpqhp_save_used_resources() 1017 if (!p_mem_node) in cpqhp_save_used_resources() 1020 p_mem_node->base = save_base & (~0x0FL); in cpqhp_save_used_resources() [all …]
|
D | cpqphp_nvram.c | 445 struct pci_resource *p_mem_node; in compaq_nvram_load() local 546 p_mem_node = (struct pci_resource*) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in compaq_nvram_load() 548 if (!p_mem_node) in compaq_nvram_load() 551 p_mem_node->base = *(u32*)p_byte; in compaq_nvram_load() 552 dbg("pre-mem base = %8.8x\n",p_mem_node->base); in compaq_nvram_load() 558 p_mem_node->length = *(u32*)p_byte; in compaq_nvram_load() 559 dbg("pre-mem length = %8.8x\n",p_mem_node->length); in compaq_nvram_load() 565 p_mem_node->next = ctrl->p_mem_head; in compaq_nvram_load() 566 ctrl->p_mem_head = p_mem_node; in compaq_nvram_load()
|
D | pciehp_ctrl.c | 1947 struct pci_resource *p_mem_node; in configure_new_function() local 2023 p_mem_node = get_max_resource(&(resources->p_mem_head), 0x100000L); in configure_new_function() 2031 p_mem_node = get_max_resource(&(resources->mem_head), 0x100000L); in configure_new_function() 2033 if (p_mem_node) { in configure_new_function() 2034 …dbg("p_mem_node(base, len, next) (%x, %x, %p)\n", p_mem_node->base, p_mem_node->length, p_mem_node… in configure_new_function() 2060 temp_resources.p_mem_head = p_mem_node; in configure_new_function() 2141 if (p_mem_node) { in configure_new_function() 2142 memcpy(hold_p_mem_node, p_mem_node, sizeof(struct pci_resource)); in configure_new_function() 2143 p_mem_node->next = NULL; in configure_new_function() 2146 RES_CHECK(p_mem_node->base, 16); in configure_new_function() [all …]
|
D | cpqphp_ctrl.c | 2461 struct pci_resource *p_mem_node; in configure_new_function() local 2525 p_mem_node = get_max_resource(&(resources->p_mem_head), 0x100000); in configure_new_function() 2532 dbg("(base, len, next) (%x, %x, %p)\n", p_mem_node->base, p_mem_node->length, p_mem_node->next); in configure_new_function() 2556 temp_resources.p_mem_head = p_mem_node; in configure_new_function() 2629 if (p_mem_node) { in configure_new_function() 2630 memcpy(hold_p_mem_node, p_mem_node, sizeof(struct pci_resource)); in configure_new_function() 2631 p_mem_node->next = NULL; in configure_new_function() 2634 temp_word = p_mem_node->base >> 16; in configure_new_function() 2637 temp_word = (p_mem_node->base + p_mem_node->length - 1) >> 16; in configure_new_function() 2842 p_mem_node = do_pre_bridge_resource_split(&(temp_resources.p_mem_head), in configure_new_function() [all …]
|
D | shpchp_ctrl.c | 2392 struct pci_resource *p_mem_node; in configure_new_function() local 2466 p_mem_node = get_max_resource(&(resources->p_mem_head), 0x100000L); in configure_new_function() 2474 p_mem_node = get_max_resource(&(resources->mem_head), 0x100000L); in configure_new_function() 2476 if (p_mem_node) { in configure_new_function() 2477 …dbg("p_mem_node(base, len, next) (%x, %x, %p)\n", p_mem_node->base, p_mem_node->length, p_mem_node… in configure_new_function() 2503 temp_resources.p_mem_head = p_mem_node; in configure_new_function() 2584 if (p_mem_node) { in configure_new_function() 2585 memcpy(hold_p_mem_node, p_mem_node, sizeof(struct pci_resource)); in configure_new_function() 2586 p_mem_node->next = NULL; in configure_new_function() 2589 RES_CHECK(p_mem_node->base, 16); in configure_new_function() [all …]
|