Home
last modified time | relevance | path

Searched refs:root_res (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/arch/x86/pci/
H A Dbus_numa.c34 struct pci_root_res *root_res; in x86_pci_root_bus_resources() local
54 list_for_each_entry(root_res, &info->resources, list) in x86_pci_root_bus_resources()
55 pci_add_resource(resources, &root_res->res); in x86_pci_root_bus_resources()
99 struct pci_root_res *root_res; in update_res() local
111 list_for_each_entry(root_res, &info->resources, list) { in update_res()
115 res = &root_res->res; in update_res()
135 root_res = kzalloc(sizeof(*root_res), GFP_KERNEL); in update_res()
136 if (!root_res) in update_res()
139 res = &root_res->res; in update_res()
145 list_add_tail(&root_res->list, &info->resources); in update_res()
H A Dbroadcom_bus.c21 struct pci_root_res *root_res; in cnb20le_res() local
81 list_for_each_entry(root_res, &info->resources, list) in cnb20le_res()
82 printk(KERN_INFO "host bridge window %pR\n", &root_res->res); in cnb20le_res()
H A Damd_bus.c325 struct pci_root_res *root_res; in early_root_info_init() local
330 list_for_each_entry(root_res, &info->resources, list) in early_root_info_init()
332 busnum, &root_res->res); in early_root_info_init()
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_region_lmem.c54 struct resource *root_res; in i915_resize_lmem_bar() local
94 pci_bus_for_each_resource(root, root_res, i) { in i915_resize_lmem_bar()
95 if (root_res && root_res->flags & (IORESOURCE_MEM | IORESOURCE_MEM_64) && in i915_resize_lmem_bar()
96 root_res->start > 0x100000000ull) in i915_resize_lmem_bar()
101 if (!root_res) { in i915_resize_lmem_bar()
/openbmc/linux/drivers/macintosh/
H A Dmacio_asic.c462 struct resource *root_res = &iomem_resource; in macio_pci_add_devices() local
468 root_res = &chip->lbus.pdev->resource[0]; in macio_pci_add_devices()
476 rdev = macio_add_one_device(chip, parent, pnode, NULL, root_res); in macio_pci_add_devices()
479 root_res = &rdev->resource[0]; in macio_pci_add_devices()
487 root_res); in macio_pci_add_devices()
504 mbdev, root_res) == NULL) in macio_pci_add_devices()
517 NULL, root_res) == NULL) in macio_pci_add_devices()