Home
last modified time | relevance | path

Searched refs:resources (Results 1 – 25 of 63) sorted by relevance

123

/arch/x86/pci/
Dbus_numa.c30 void x86_pci_root_bus_resources(int bus, struct list_head *resources) in x86_pci_root_bus_resources() argument
44 resource_list_for_each_entry(window, resources) in x86_pci_root_bus_resources()
51 pci_add_resource(resources, &info->busn); in x86_pci_root_bus_resources()
53 list_for_each_entry(root_res, &info->resources, list) in x86_pci_root_bus_resources()
54 pci_add_resource(resources, &root_res->res); in x86_pci_root_bus_resources()
65 pci_add_resource(resources, &ioport_resource); in x86_pci_root_bus_resources()
66 pci_add_resource(resources, &iomem_resource); in x86_pci_root_bus_resources()
81 INIT_LIST_HEAD(&info->resources); in alloc_pci_root_info()
110 list_for_each_entry(root_res, &info->resources, list) { in update_res()
144 list_add_tail(&root_res->list, &info->resources); in update_res()
Dbus_numa.h15 struct list_head resources; member
Dacpi.c304 resource_list_for_each_entry_safe(entry, tmp, &ci->resources) in pci_acpi_root_prepare_resources()
310 resource_list_for_each_entry_safe(entry, tmp, &ci->resources) { in pci_acpi_root_prepare_resources()
315 x86_pci_root_bus_resources(busnum, &ci->resources); in pci_acpi_root_prepare_resources()
/arch/arm/mach-s3c64xx/
Ddev-uart.c56 .resources = s3c64xx_uart0_resource,
60 .resources = s3c64xx_uart1_resource,
64 .resources = s3c6xx_uart2_resource,
68 .resources = s3c64xx_uart3_resource,
/arch/sparc/kernel/
Dleon_pci.c26 LIST_HEAD(resources); in leon_pci_init()
29 pci_add_resource_offset(&resources, &info->io_space, in leon_pci_init()
31 pci_add_resource(&resources, &info->mem_space); in leon_pci_init()
33 pci_add_resource(&resources, &info->busn); in leon_pci_init()
36 &resources); in leon_pci_init()
38 pci_free_resource_list(&resources); in leon_pci_init()
/arch/sh/drivers/pci/
Dpci.c39 LIST_HEAD(resources); in pcibios_scanbus()
46 res = hose->resources + i; in pcibios_scanbus()
52 pci_add_resource_offset(&resources, res, offset); in pcibios_scanbus()
56 &resources); in pcibios_scanbus()
63 pci_free_resource_list(&resources); in pcibios_scanbus()
92 struct resource *res = hose->resources + i; in register_pci_controller()
133 release_resource(&hose->resources[i]); in register_pci_controller()
179 if (start < PCIBIOS_MIN_IO + hose->resources[0].start) in pcibios_align_resource()
180 start = PCIBIOS_MIN_IO + hose->resources[0].start; in pcibios_align_resource()
Dfixups-se7751.c101 BUG_ON(chan->resources[1].start != SH7751_PCI_MEMORY_BASE); in pci_fixup_pcic()
103 PCIC_WRITE(SH7751_PCIMBR, chan->resources[1].start); in pci_fixup_pcic()
106 PCIC_WRITE(SH7751_PCIIOBR, (chan->resources[0].start & SH7751_PCIIOBR_MASK)); in pci_fixup_pcic()
Dpci-sh7751.c64 .resources = sh7751_pci_resources,
132 word = chan->resources[1].start & SH4_PCIMBR_MASK; in sh7751_pci_init()
138 word = chan->resources[0].start & SH4_PCIIOBR_MASK; in sh7751_pci_init()
Dfixups-dreamcast.c44 dev->resource[1].start = p->resources[0].start + 0x100; in gapspci_fixup_resources()
Dpci-dreamcast.c44 .resources = gapspci_resources,
/arch/xtensa/kernel/
Dpci.c137 struct list_head *resources) in pci_controller_apertures() argument
155 pci_add_resource_offset(resources, res, io_offset); in pci_controller_apertures()
168 pci_add_resource(resources, res); in pci_controller_apertures()
175 struct list_head resources; in pcibios_init() local
184 INIT_LIST_HEAD(&resources); in pcibios_init()
185 pci_controller_apertures(pci_ctrl, &resources); in pcibios_init()
187 pci_ctrl->ops, pci_ctrl, &resources); in pcibios_init()
/arch/arm/mach-sa1100/
Dpci-nanoengine.c159 pci_add_resource_offset(&sys->resources, &pci_io_ports, sys->io_offset); in pci_nanoengine_setup_resources()
160 pci_add_resource_offset(&sys->resources, in pci_nanoengine_setup_resources()
162 pci_add_resource_offset(&sys->resources, in pci_nanoengine_setup_resources()
/arch/ia64/kernel/
Derr_inject.c54 static u64 resources[NR_CPUS]; variable
104 &resources[cpu]); in show()
111 &resources[cpu]); in show()
121 printk(KERN_DEBUG "resources=%lx\n", resources[cpu]); in show()
200 show(resources)
209 define_one_ro(resources);
/arch/mips/pci/
Dpci.c83 LIST_HEAD(resources); in pcibios_scanbus()
92 pci_add_resource_offset(&resources, in pcibios_scanbus()
94 pci_add_resource_offset(&resources, in pcibios_scanbus()
96 pci_add_resource_offset(&resources, in pcibios_scanbus()
99 &resources); in pcibios_scanbus()
106 pci_free_resource_list(&resources); in pcibios_scanbus()
/arch/arm/plat-orion/
Dcommon.c54 struct resource *resources, in fill_resources() argument
59 device->resource = resources; in fill_resources()
61 resources[0].flags = IORESOURCE_MEM; in fill_resources()
62 resources[0].start = mapbase; in fill_resources()
63 resources[0].end = mapbase + size; in fill_resources()
67 resources[1].flags = IORESOURCE_IRQ; in fill_resources()
68 resources[1].start = irq; in fill_resources()
69 resources[1].end = irq; in fill_resources()
85 struct resource *resources, in uart_complete() argument
97 fill_resources(orion_uart, resources, mapbase, 0xff, irq); in uart_complete()
/arch/alpha/kernel/
Dpci.c314 struct list_head resources; in common_init_pci() local
333 INIT_LIST_HEAD(&resources); in common_init_pci()
334 pci_add_resource_offset(&resources, hose->io_space, in common_init_pci()
336 pci_add_resource_offset(&resources, hose->mem_space, in common_init_pci()
340 hose, &resources); in common_init_pci()
/arch/x86/kernel/
Dhead32.c26 x86_init.resources.reserve_resources = i386_reserve_resources; in i386_default_early_setup()
/arch/ia64/sn/kernel/
Dio_init.c240 LIST_HEAD(resources); in sn_pci_controller_fixup()
264 pci_add_resource_offset(&resources, &res[0], in sn_pci_controller_fixup()
266 pci_add_resource_offset(&resources, &res[1], in sn_pci_controller_fixup()
270 &resources); in sn_pci_controller_fixup()
/arch/x86/platform/intel-mid/
Dintel-mid.c172 x86_init.resources.probe_roms = x86_init_noop; in x86_intel_mid_early_setup()
173 x86_init.resources.reserve_resources = x86_init_noop; in x86_intel_mid_early_setup()
/arch/frv/mb93090-mb00/
Dpci-vdk.c321 LIST_HEAD(resources); in pcibios_init()
385 pci_add_resource(&resources, &pci_ioport_resource); in pcibios_init()
386 pci_add_resource(&resources, &pci_iomem_resource); in pcibios_init()
387 bus = pci_scan_root_bus(NULL, 0, pci_root_ops, NULL, &resources); in pcibios_init()
/arch/arm/kernel/
Dbios32.c418 if (list_empty(&sys->resources)) { in pcibios_init_resources()
419 pci_add_resource_offset(&sys->resources, in pcibios_init_resources()
423 resource_list_for_each_entry(window, &sys->resources) in pcibios_init_resources()
438 pci_add_resource_offset(&sys->resources, &sys->io_res, in pcibios_init_resources()
459 INIT_LIST_HEAD(&sys->resources); in pcibios_init_hw()
480 &sys->resources, hw->msi_ctrl); in pcibios_init_hw()
/arch/tile/kernel/
Dpci.c298 LIST_HEAD(resources); in pcibios_init()
307 pci_add_resource(&resources, &ioport_resource); in pcibios_init()
308 pci_add_resource(&resources, &iomem_resource); in pcibios_init()
310 controller, &resources); in pcibios_init()
/arch/arm/mach-s3c24xx/
Dcommon.c290 .resources = s3c2410_uart0_resource,
294 .resources = s3c2410_uart1_resource,
298 .resources = s3c2410_uart2_resource,
302 .resources = s3c2410_uart3_resource,
/arch/x86/include/asm/
Dtopology.h136 void x86_pci_root_bus_resources(int bus, struct list_head *resources);
/arch/arm/include/asm/mach/
Dpci.h48 struct list_head resources; /* root bus resources (apertures) */ member

123