Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/pci/hotplug/
Dibmphp.h339 struct resource_node *firstIO; /* first IO resource on the Bus */
340 struct resource_node *firstMem; /* first memory resource on the Bus */
341 struct resource_node *firstPFMem; /* first prefetchable memory resource on the Bus */
342 struct resource_node *firstPFMemFromMem; /* when run out of pfmem available, taking from Mem */
346 struct resource_node { struct
356 struct resource_node *next; argument
357 struct resource_node *nextRange; /* for the other mem range on bus */ argument
371 int ibmphp_add_resource(struct resource_node *);
372 int ibmphp_remove_resource(struct resource_node *);
373 int ibmphp_find_resource(struct bus_node *, u32, struct resource_node **, int);
[all …]
Dibmphp_res.c56 static struct resource_node * __init alloc_resources(struct ebda_pci_rsrc *curr) in alloc_resources()
58 struct resource_node *rs; in alloc_resources()
65 rs = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in alloc_resources()
187 struct resource_node *new_io = NULL; in ibmphp_rsrc_init()
188 struct resource_node *new_mem = NULL; in ibmphp_rsrc_init()
189 struct resource_node *new_pfmem = NULL; in ibmphp_rsrc_init()
445 struct resource_node *res = NULL; in update_resources()
487 static void fix_me(struct resource_node *res, struct bus_node *bus_cur, struct range_node *range) in fix_me()
545 struct resource_node *res; in fix_resources()
575 int ibmphp_add_resource(struct resource_node *res) in ibmphp_add_resource()
[all …]
Dibmphp_pci.c26 …tic int add_new_bus(struct bus_node *, struct resource_node *, struct resource_node *, struct reso…
345 struct resource_node *io[6]; in configure_device()
346 struct resource_node *mem[6]; in configure_device()
347 struct resource_node *mem_tmp; in configure_device()
348 struct resource_node *pfmem[6]; in configure_device()
388 io[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_device()
425 pfmem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_device()
489 mem[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL); in configure_device()
560 struct resource_node *io = NULL; in configure_bridge()
561 struct resource_node *bus_io[2] = {NULL, NULL}; in configure_bridge()
[all …]