Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/hotplug/
Dibmphp_pci.c40 …ic int add_new_bus (struct bus_node *, struct resource_node *, struct resource_node *, struct reso…
360 struct resource_node *io[6]; in configure_device()
361 struct resource_node *mem[6]; in configure_device()
362 struct resource_node *mem_tmp; in configure_device()
363 struct resource_node *pfmem[6]; in configure_device()
404 io[count] = kmalloc (sizeof (struct resource_node), GFP_KERNEL); in configure_device()
410 memset (io[count], 0, sizeof (struct resource_node)); in configure_device()
443 pfmem[count] = kmalloc (sizeof (struct resource_node), GFP_KERNEL); in configure_device()
448 memset (pfmem[count], 0, sizeof (struct resource_node)); in configure_device()
458 mem_tmp = kmalloc (sizeof (struct resource_node), GFP_KERNEL); in configure_device()
[all …]
Dibmphp.h354 struct resource_node *firstIO; /* first IO resource on the Bus */
355 struct resource_node *firstMem; /* first memory resource on the Bus */
356 struct resource_node *firstPFMem; /* first prefetchable memory resource on the Bus */
357 struct resource_node *firstPFMemFromMem; /* when run out of pfmem available, taking from Mem */
361 struct resource_node { struct
371 struct resource_node *next; argument
372 struct resource_node *nextRange; /* for the other mem range on bus */ argument
386 extern int ibmphp_add_resource (struct resource_node *);
387 extern int ibmphp_remove_resource (struct resource_node *);
388 extern int ibmphp_find_resource (struct bus_node *, u32, struct resource_node **, int);
[all …]
Dibmphp_res.c74 static struct resource_node * __init alloc_resources (struct ebda_pci_rsrc * curr) in alloc_resources()
76 struct resource_node *rs; in alloc_resources()
83 rs = kmalloc (sizeof (struct resource_node), GFP_KERNEL); in alloc_resources()
88 memset (rs, 0, sizeof (struct resource_node)); in alloc_resources()
212 struct resource_node *new_io = NULL; in ibmphp_rsrc_init()
213 struct resource_node *new_mem = NULL; in ibmphp_rsrc_init()
214 struct resource_node *new_pfmem = NULL; in ibmphp_rsrc_init()
469 struct resource_node *res = NULL; in update_resources()
511 static void fix_me (struct resource_node *res, struct bus_node *bus_cur, struct range_node *range) in fix_me()
569 struct resource_node *res; in fix_resources()
[all …]