Searched refs:bus_node (Results 1 - 6 of 6) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/hotplug/
H A Dibmphp_res.c39 static void update_resources (struct bus_node *bus_cur, int type, int rangeno);
41 static int remove_ranges (struct bus_node *, struct bus_node *);
42 static int update_bridge_ranges (struct bus_node **);
43 static int add_range (int type, struct range_node *, struct bus_node *);
44 static void fix_resources (struct bus_node *);
45 static struct bus_node *find_bus_wprev (u8, struct bus_node **, u8);
49 static struct bus_node * __init alloc_error_bus (struct ebda_pci_rsrc * curr, u8 busno, int flag)
51 struct bus_node * newbu
[all...]
H A Dcpqphp_nvram.c447 struct pci_resource *bus_node; local
607 bus_node = kmalloc(sizeof(struct pci_resource), GFP_KERNEL);
609 if (!bus_node)
612 bus_node->base = *(u32*)p_byte;
616 kfree(bus_node);
620 bus_node->length = *(u32*)p_byte;
624 kfree(bus_node);
628 bus_node->next = ctrl->bus_head;
629 ctrl->bus_head = bus_node;
H A Dcpqphp_pci.c720 struct pci_resource *bus_node; local
747 bus_node = kmalloc(sizeof(*bus_node), GFP_KERNEL);
748 if (!bus_node)
751 bus_node->base = secondary_bus;
752 bus_node->length = temp_byte - secondary_bus + 1;
754 bus_node->next = func->bus_head;
755 func->bus_head = bus_node;
1184 struct pci_resource *bus_node; local
1378 bus_node
[all...]
H A Dcpqphp_ctrl.c2401 struct pci_resource *bus_node; local
2429 bus_node = get_max_resource(&(resources->bus_head), 1);
2432 if (!bus_node)
2436 temp_byte = bus_node->base;
2437 dbg("set Secondary bus = %d\n", bus_node->base);
2443 temp_byte = bus_node->base + bus_node->length - 1;
2444 dbg("set subordinate bus = %d\n", bus_node->base + bus_node->length - 1);
2504 temp_resources.bus_head = bus_node;
[all...]
H A Dibmphp.h342 struct bus_node { struct
387 extern int ibmphp_find_resource (struct bus_node *, u32, struct resource_node **, int);
389 extern int ibmphp_remove_bus (struct bus_node *, u8);
392 extern struct bus_node *ibmphp_find_res_bus (u8);
H A Dibmphp_pci.c40 static int add_new_bus (struct bus_node *, struct resource_node *, struct resource_node *, struct resource_node *, u8);
587 struct bus_node *bus;
1230 struct bus_node *bus;
1341 struct bus_node *bus;
1639 static int add_new_bus (struct bus_node *bus, struct resource_node *io, struct resource_node *mem, struct resource_node *pfmem, u8 parent_busno)
1644 struct bus_node *cur_bus = NULL;
1705 struct bus_node *bus_cur;

Completed in 48 milliseconds