Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/pci/hotplug/
Dibmphp.h353 struct resource_node *firstIO; /* first IO resource on the Bus */
354 struct resource_node *firstMem; /* first memory resource on the Bus */
355 struct resource_node *firstPFMem; /* first prefetchable memory resource on the Bus */
356 struct resource_node *firstPFMemFromMem; /* when run out of pfmem available, taking from Mem */
360 struct resource_node { struct
370 struct resource_node *next; argument
371 struct resource_node *nextRange; /* for the other mem range on bus */ argument
385 int ibmphp_add_resource(struct resource_node *);
386 int ibmphp_remove_resource(struct resource_node *);
387 int ibmphp_find_resource(struct bus_node *, u32, struct resource_node **, int);
[all …]
Dibmphp_res.c72 static struct resource_node * __init alloc_resources (struct ebda_pci_rsrc *curr) in alloc_resources()
74 struct resource_node *rs; in alloc_resources()
81 rs = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in alloc_resources()
207 struct resource_node *new_io = NULL; in ibmphp_rsrc_init()
208 struct resource_node *new_mem = NULL; in ibmphp_rsrc_init()
209 struct resource_node *new_pfmem = NULL; in ibmphp_rsrc_init()
467 struct resource_node *res = NULL; in update_resources()
509 static void fix_me (struct resource_node *res, struct bus_node *bus_cur, struct range_node *range) in fix_me()
567 struct resource_node *res; in fix_resources()
597 int ibmphp_add_resource (struct resource_node *res) in ibmphp_add_resource()
[all …]
Dibmphp_pci.c40 …ic int add_new_bus (struct bus_node *, struct resource_node *, struct resource_node *, struct reso…
363 struct resource_node *io[6]; in configure_device()
364 struct resource_node *mem[6]; in configure_device()
365 struct resource_node *mem_tmp; in configure_device()
366 struct resource_node *pfmem[6]; in configure_device()
406 io[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_device()
444 pfmem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_device()
510 mem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_device()
582 struct resource_node *io = NULL; in configure_bridge()
583 struct resource_node *bus_io[2] = {NULL, NULL}; in configure_bridge()
[all …]