Searched refs:dev_res (Results 1 – 3 of 3) sorted by relevance
/drivers/pci/ |
D | setup-bus.c | 44 struct pci_dev_resource *dev_res, *tmp; in free_list() local 46 list_for_each_entry_safe(dev_res, tmp, head, list) { in free_list() 47 list_del(&dev_res->list); in free_list() 48 kfree(dev_res); in free_list() 85 struct pci_dev_resource *dev_res, *tmp; in remove_from_list() local 87 list_for_each_entry_safe(dev_res, tmp, head, list) { in remove_from_list() 88 if (dev_res->res == res) { in remove_from_list() 89 list_del(&dev_res->list); in remove_from_list() 90 kfree(dev_res); in remove_from_list() 99 struct pci_dev_resource *dev_res; in res_to_dev_res() local [all …]
|
/drivers/usb/cdns3/ |
D | cdns3-pci-wrap.c | 19 struct resource dev_res[6]; member 110 res = wrap->dev_res; in cdns3_pci_probe() 130 wrap->dev_res[RES_IRQ_HOST_ID].start = pdev->irq; in cdns3_pci_probe() 131 wrap->dev_res[RES_IRQ_HOST_ID].name = "host"; in cdns3_pci_probe() 132 wrap->dev_res[RES_IRQ_HOST_ID].flags = IORESOURCE_IRQ; in cdns3_pci_probe() 135 wrap->dev_res[RES_IRQ_PERIPHERAL_ID].start = pdev->irq; in cdns3_pci_probe() 136 wrap->dev_res[RES_IRQ_PERIPHERAL_ID].name = "peripheral"; in cdns3_pci_probe() 137 wrap->dev_res[RES_IRQ_PERIPHERAL_ID].flags = IORESOURCE_IRQ; in cdns3_pci_probe() 147 wrap->dev_res[RES_IRQ_OTG_ID].start = pdev->irq; in cdns3_pci_probe() 148 wrap->dev_res[RES_IRQ_OTG_ID].name = "otg"; in cdns3_pci_probe() [all …]
|
/drivers/net/ethernet/freescale/fman/ |
D | fman_port.c | 1749 struct resource *dev_res; in fman_port_probe() local 1855 dev_res = __devm_request_region(port->dev, &res, res.start, in fman_port_probe() 1857 if (!dev_res) { in fman_port_probe()
|