dev_res 1760 drivers/net/ethernet/freescale/fman/fman_port.c struct resource *dev_res; dev_res 1860 drivers/net/ethernet/freescale/fman/fman_port.c dev_res = __devm_request_region(port->dev, &res, res.start, dev_res 1862 drivers/net/ethernet/freescale/fman/fman_port.c if (!dev_res) { dev_res 43 drivers/pci/setup-bus.c struct pci_dev_resource *dev_res, *tmp; dev_res 45 drivers/pci/setup-bus.c list_for_each_entry_safe(dev_res, tmp, head, list) { dev_res 46 drivers/pci/setup-bus.c list_del(&dev_res->list); dev_res 47 drivers/pci/setup-bus.c kfree(dev_res); dev_res 83 drivers/pci/setup-bus.c struct pci_dev_resource *dev_res, *tmp; dev_res 85 drivers/pci/setup-bus.c list_for_each_entry_safe(dev_res, tmp, head, list) { dev_res 86 drivers/pci/setup-bus.c if (dev_res->res == res) { dev_res 87 drivers/pci/setup-bus.c list_del(&dev_res->list); dev_res 88 drivers/pci/setup-bus.c kfree(dev_res); dev_res 97 drivers/pci/setup-bus.c struct pci_dev_resource *dev_res; dev_res 99 drivers/pci/setup-bus.c list_for_each_entry(dev_res, head, list) { dev_res 100 drivers/pci/setup-bus.c if (dev_res->res == res) dev_res 101 drivers/pci/setup-bus.c return dev_res; dev_res 110 drivers/pci/setup-bus.c struct pci_dev_resource *dev_res; dev_res 112 drivers/pci/setup-bus.c dev_res = res_to_dev_res(head, res); dev_res 113 drivers/pci/setup-bus.c return dev_res ? dev_res->add_size : 0; dev_res 119 drivers/pci/setup-bus.c struct pci_dev_resource *dev_res; dev_res 121 drivers/pci/setup-bus.c dev_res = res_to_dev_res(head, res); dev_res 122 drivers/pci/setup-bus.c return dev_res ? dev_res->min_align : 0; dev_res 133 drivers/pci/setup-bus.c struct pci_dev_resource *dev_res, *tmp; dev_res 160 drivers/pci/setup-bus.c list_for_each_entry(dev_res, head, list) { dev_res 163 drivers/pci/setup-bus.c align = pci_resource_alignment(dev_res->dev, dev_res 164 drivers/pci/setup-bus.c dev_res->res); dev_res 167 drivers/pci/setup-bus.c n = &dev_res->list; dev_res 218 drivers/pci/setup-bus.c struct pci_dev_resource *dev_res; dev_res 231 drivers/pci/setup-bus.c list_for_each_entry(dev_res, head, list) { dev_res 232 drivers/pci/setup-bus.c if (dev_res->res == res) { dev_res 277 drivers/pci/setup-bus.c struct pci_dev_resource *dev_res; dev_res 280 drivers/pci/setup-bus.c list_for_each_entry(dev_res, head, list) { dev_res 281 drivers/pci/setup-bus.c res = dev_res->res; dev_res 282 drivers/pci/setup-bus.c idx = res - &dev_res->dev->resource[0]; dev_res 284 drivers/pci/setup-bus.c pci_assign_resource(dev_res->dev, idx)) { dev_res 294 drivers/pci/setup-bus.c dev_res->dev, res, dev_res 371 drivers/pci/setup-bus.c struct pci_dev_resource *dev_res, *tmp_res, *dev_res2; dev_res 380 drivers/pci/setup-bus.c list_for_each_entry(dev_res, head, list) { dev_res 381 drivers/pci/setup-bus.c if (add_to_list(&save_head, dev_res->dev, dev_res->res, 0, 0)) { dev_res 388 drivers/pci/setup-bus.c list_for_each_entry_safe(dev_res, tmp_res, head, list) { dev_res 389 drivers/pci/setup-bus.c dev_res->res->end += get_res_add_size(realloc_head, dev_res 390 drivers/pci/setup-bus.c dev_res->res); dev_res 398 drivers/pci/setup-bus.c if (!(dev_res->res->flags & IORESOURCE_STARTALIGN)) dev_res 401 drivers/pci/setup-bus.c add_align = get_res_add_align(realloc_head, dev_res->res); dev_res 410 drivers/pci/setup-bus.c if (add_align > dev_res->res->start) { dev_res 411 drivers/pci/setup-bus.c resource_size_t r_size = resource_size(dev_res->res); dev_res 413 drivers/pci/setup-bus.c dev_res->res->start = add_align; dev_res 414 drivers/pci/setup-bus.c dev_res->res->end = add_align + r_size - 1; dev_res 420 drivers/pci/setup-bus.c list_move_tail(&dev_res->list, dev_res 435 drivers/pci/setup-bus.c list_for_each_entry(dev_res, head, list) dev_res 436 drivers/pci/setup-bus.c remove_from_list(realloc_head, dev_res->res); dev_res 445 drivers/pci/setup-bus.c list_for_each_entry_safe(dev_res, tmp_res, head, list) dev_res 446 drivers/pci/setup-bus.c if (dev_res->res->parent && dev_res 447 drivers/pci/setup-bus.c !pci_need_to_release(fail_type, dev_res->res)) { dev_res 449 drivers/pci/setup-bus.c remove_from_list(realloc_head, dev_res->res); dev_res 450 drivers/pci/setup-bus.c remove_from_list(&save_head, dev_res->res); dev_res 451 drivers/pci/setup-bus.c list_del(&dev_res->list); dev_res 452 drivers/pci/setup-bus.c kfree(dev_res); dev_res 457 drivers/pci/setup-bus.c list_for_each_entry(dev_res, head, list) dev_res 458 drivers/pci/setup-bus.c if (dev_res->res->parent) dev_res 459 drivers/pci/setup-bus.c release_resource(dev_res->res); dev_res 1827 drivers/pci/setup-bus.c struct pci_dev_resource *dev_res; dev_res 1835 drivers/pci/setup-bus.c dev_res = res_to_dev_res(add_list, res); dev_res 1836 drivers/pci/setup-bus.c if (!dev_res) dev_res 1840 drivers/pci/setup-bus.c if (available - resource_size(res) <= dev_res->add_size) dev_res 1843 drivers/pci/setup-bus.c dev_res->add_size = available - resource_size(res); dev_res 1845 drivers/pci/setup-bus.c &dev_res->add_size); dev_res 2073 drivers/pci/setup-bus.c struct pci_dev_resource *dev_res; dev_res 2127 drivers/pci/setup-bus.c list_for_each_entry(dev_res, &saved, list) { dev_res 2129 drivers/pci/setup-bus.c if (bridge == dev_res->dev) dev_res 2132 drivers/pci/setup-bus.c bridge = dev_res->dev; dev_res 2141 drivers/pci/setup-bus.c list_for_each_entry(dev_res, &failed, list) { dev_res 2142 drivers/pci/setup-bus.c struct resource *res = dev_res->res; dev_res 2144 drivers/pci/setup-bus.c res->start = dev_res->start; dev_res 2145 drivers/pci/setup-bus.c res->end = dev_res->end; dev_res 2146 drivers/pci/setup-bus.c res->flags = dev_res->flags; dev_res 2151 drivers/pci/setup-bus.c list_for_each_entry(dev_res, &saved, list) { dev_res 2152 drivers/pci/setup-bus.c struct resource *res = dev_res->res; dev_res 2154 drivers/pci/setup-bus.c bridge = dev_res->dev; dev_res 2157 drivers/pci/setup-bus.c res->start = dev_res->start; dev_res 2158 drivers/pci/setup-bus.c res->end = dev_res->end; dev_res 2159 drivers/pci/setup-bus.c res->flags = dev_res->flags; dev_res 19 drivers/usb/cdns3/cdns3-pci-wrap.c struct resource dev_res[6]; dev_res 105 drivers/usb/cdns3/cdns3-pci-wrap.c res = wrap->dev_res; dev_res 125 drivers/usb/cdns3/cdns3-pci-wrap.c wrap->dev_res[RES_IRQ_HOST_ID].start = pdev->irq; dev_res 126 drivers/usb/cdns3/cdns3-pci-wrap.c wrap->dev_res[RES_IRQ_HOST_ID].name = "host"; dev_res 127 drivers/usb/cdns3/cdns3-pci-wrap.c wrap->dev_res[RES_IRQ_HOST_ID].flags = IORESOURCE_IRQ; dev_res 130 drivers/usb/cdns3/cdns3-pci-wrap.c wrap->dev_res[RES_IRQ_PERIPHERAL_ID].start = pdev->irq; dev_res 131 drivers/usb/cdns3/cdns3-pci-wrap.c wrap->dev_res[RES_IRQ_PERIPHERAL_ID].name = "peripheral"; dev_res 132 drivers/usb/cdns3/cdns3-pci-wrap.c wrap->dev_res[RES_IRQ_PERIPHERAL_ID].flags = IORESOURCE_IRQ; dev_res 142 drivers/usb/cdns3/cdns3-pci-wrap.c wrap->dev_res[RES_IRQ_OTG_ID].start = pdev->irq; dev_res 143 drivers/usb/cdns3/cdns3-pci-wrap.c wrap->dev_res[RES_IRQ_OTG_ID].name = "otg"; dev_res 144 drivers/usb/cdns3/cdns3-pci-wrap.c wrap->dev_res[RES_IRQ_OTG_ID].flags = IORESOURCE_IRQ; dev_res 155 drivers/usb/cdns3/cdns3-pci-wrap.c plat_info.res = wrap->dev_res; dev_res 156 drivers/usb/cdns3/cdns3-pci-wrap.c plat_info.num_res = ARRAY_SIZE(wrap->dev_res);