Searched refs:bus_res (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/eisa/
H A Dpci_eisa.c25 struct resource *res, *bus_res = NULL; pci_eisa_init() local
44 bus_res = res; pci_eisa_init()
48 if (!bus_res) { pci_eisa_init()
54 pci_eisa_root.res = bus_res; pci_eisa_init()
55 pci_eisa_root.bus_base_addr = bus_res->start; pci_eisa_init()
/linux-4.4.14/drivers/pci/
H A Dbus.c51 struct pci_bus_resource *bus_res; pci_bus_add_resource() local
53 bus_res = kzalloc(sizeof(struct pci_bus_resource), GFP_KERNEL); pci_bus_add_resource()
54 if (!bus_res) { pci_bus_add_resource()
59 bus_res->res = res; pci_bus_add_resource()
60 bus_res->flags = flags; pci_bus_add_resource()
61 list_add_tail(&bus_res->list, &bus->resources); pci_bus_add_resource()
66 struct pci_bus_resource *bus_res; pci_bus_resource_n() local
72 list_for_each_entry(bus_res, &bus->resources, list) { pci_bus_resource_n()
74 return bus_res->res; pci_bus_resource_n()
83 struct pci_bus_resource *bus_res, *tmp; pci_bus_remove_resources() local
88 list_for_each_entry_safe(bus_res, tmp, &bus->resources, list) { pci_bus_remove_resources()
89 list_del(&bus_res->list); pci_bus_remove_resources()
90 kfree(bus_res); pci_bus_remove_resources()

Completed in 99 milliseconds