Home
last modified time | relevance | path

Searched refs:io_node (Results 1 – 9 of 9) sorted by relevance

/linux-2.4.37.9/drivers/hotplug/
Dshpchprm_legacy.c120 struct pci_resource *io_node; in shpchprm_find_available_resources() local
249 io_node = (struct pci_resource *) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in shpchprm_find_available_resources()
250 if (!io_node) in shpchprm_find_available_resources()
253 io_node->base = (ulong)io_base; in shpchprm_find_available_resources()
254 io_node->length = (ulong)io_length; in shpchprm_find_available_resources()
255 dbg("found io_node(base, length) = %x, %x\n", io_node->base, io_node->length); in shpchprm_find_available_resources()
258 io_node->next = ctrl->io_head; in shpchprm_find_available_resources()
259 ctrl->io_head = io_node; in shpchprm_find_available_resources()
261 io_node->next = func->io_head; in shpchprm_find_available_resources()
262 func->io_head = io_node; in shpchprm_find_available_resources()
Dcpqphp_pci.c897 struct pci_resource *io_node; in cpqhp_save_used_resources() local
938 io_node = (struct pci_resource *) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in cpqhp_save_used_resources()
939 if (!io_node) in cpqhp_save_used_resources()
942 io_node->base = (b_base & 0xF0) << 8; in cpqhp_save_used_resources()
943 io_node->length = (b_length - b_base + 0x10) << 8; in cpqhp_save_used_resources()
945 io_node->next = func->io_head; in cpqhp_save_used_resources()
946 func->io_head = io_node; in cpqhp_save_used_resources()
999 io_node = (struct pci_resource *) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in cpqhp_save_used_resources()
1000 if (!io_node) in cpqhp_save_used_resources()
1003 io_node->base = in cpqhp_save_used_resources()
[all …]
Dcpqphp_nvram.c446 struct pci_resource *io_node; in compaq_nvram_load() local
570 io_node = (struct pci_resource*) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in compaq_nvram_load()
572 if (!io_node) in compaq_nvram_load()
575 io_node->base = *(u32*)p_byte; in compaq_nvram_load()
576 dbg("io base = %8.8x\n",io_node->base); in compaq_nvram_load()
582 io_node->length = *(u32*)p_byte; in compaq_nvram_load()
583 dbg("io length = %8.8x\n",io_node->length); in compaq_nvram_load()
589 io_node->next = ctrl->io_head; in compaq_nvram_load()
590 ctrl->io_head = io_node; in compaq_nvram_load()
Dpciehp_ctrl.c1948 struct pci_resource *io_node; in configure_new_function() local
2012 io_node = get_max_resource(&(resources->io_head), 0x1000L); in configure_new_function()
2013 if (io_node) { in configure_new_function()
2014 dbg("io_node(base, len, next) (%x, %x, %p)\n", io_node->base, io_node->length, io_node->next); in configure_new_function()
2058 temp_resources.io_head = io_node; in configure_new_function()
2093 if (io_node) { in configure_new_function()
2094 memcpy(hold_IO_node, io_node, sizeof(struct pci_resource)); in configure_new_function()
2095 io_node->next = NULL; in configure_new_function()
2098 RES_CHECK(io_node->base, 8); in configure_new_function()
2099 temp_byte = (u8)(io_node->base >> 8); in configure_new_function()
[all …]
Dpciehp_pci.c683 struct pci_resource *io_node; in pciehp_save_used_resources() local
737 io_node = (struct pci_resource *) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in pciehp_save_used_resources()
738 if (!io_node) in pciehp_save_used_resources()
741 io_node->base = (ulong)(base & PCI_IO_RANGE_MASK) << 8; in pciehp_save_used_resources()
742 io_node->length = (ulong)(length - base + 0x10) << 8; in pciehp_save_used_resources()
744 io_node->next = func->io_head; in pciehp_save_used_resources()
745 func->io_head = io_node; in pciehp_save_used_resources()
804 io_node = (struct pci_resource *) kmalloc(sizeof (struct pci_resource), GFP_KERNEL); in pciehp_save_used_resources()
805 if (!io_node) in pciehp_save_used_resources()
808 io_node->base = (ulong)save_base & PCI_BASE_ADDRESS_IO_MASK; in pciehp_save_used_resources()
[all …]
Dshpchp_pci.c675 struct pci_resource *io_node; in shpchp_save_used_resources() local
729 io_node = (struct pci_resource *) kmalloc(sizeof(struct pci_resource), GFP_KERNEL); in shpchp_save_used_resources()
730 if (!io_node) in shpchp_save_used_resources()
733 io_node->base = (ulong)(base & PCI_IO_RANGE_MASK) << 8; in shpchp_save_used_resources()
734 io_node->length = (ulong)(length - base + 0x10) << 8; in shpchp_save_used_resources()
736 io_node->next = func->io_head; in shpchp_save_used_resources()
737 func->io_head = io_node; in shpchp_save_used_resources()
796 io_node = (struct pci_resource *) kmalloc(sizeof (struct pci_resource), GFP_KERNEL); in shpchp_save_used_resources()
797 if (!io_node) in shpchp_save_used_resources()
800 io_node->base = (ulong)save_base & PCI_BASE_ADDRESS_IO_MASK; in shpchp_save_used_resources()
[all …]
Dshpchp_ctrl.c2393 struct pci_resource *io_node; in configure_new_function() local
2455 io_node = get_max_resource(&(resources->io_head), 0x1000L); in configure_new_function()
2456 if (io_node) { in configure_new_function()
2457 dbg("io_node(base, len, next) (%x, %x, %p)\n", io_node->base, io_node->length, io_node->next); in configure_new_function()
2501 temp_resources.io_head = io_node; in configure_new_function()
2536 if (io_node) { in configure_new_function()
2537 memcpy(hold_IO_node, io_node, sizeof(struct pci_resource)); in configure_new_function()
2538 io_node->next = NULL; in configure_new_function()
2541 RES_CHECK(io_node->base, 8); in configure_new_function()
2542 temp_byte = (u8)(io_node->base >> 8); in configure_new_function()
[all …]
Dcpqphp_ctrl.c2462 struct pci_resource *io_node; in configure_new_function() local
2523 io_node = get_max_resource(&(resources->io_head), 0x1000); in configure_new_function()
2528 dbg("(base, len, next) (%x, %x, %p)\n", io_node->base, io_node->length, io_node->next); in configure_new_function()
2554 temp_resources.io_head = io_node; in configure_new_function()
2587 if (io_node) { in configure_new_function()
2588 memcpy(hold_IO_node, io_node, sizeof(struct pci_resource)); in configure_new_function()
2589 io_node->next = NULL; in configure_new_function()
2592 temp_byte = io_node->base >> 8; in configure_new_function()
2595 temp_byte = (io_node->base + io_node->length - 1) >> 8; in configure_new_function()
2741 io_node = do_pre_bridge_resource_split(&(temp_resources.io_head), in configure_new_function()
[all …]
/linux-2.4.37.9/arch/sparc/mm/
Dio-unit.c32 iounit_init(int sbi_node, int io_node, struct sbus_bus *sbus) in iounit_init() argument
51 prom_apply_generic_ranges(io_node, 0, iommu_promregs, 3); in iounit_init()