Home
last modified time | relevance | path

Searched refs:dev_res (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/usb/cdns3/
Dcdns3-pci-wrap.c19 struct resource dev_res[6]; member
105 res = wrap->dev_res; in cdns3_pci_probe()
125 wrap->dev_res[RES_IRQ_HOST_ID].start = pdev->irq; in cdns3_pci_probe()
126 wrap->dev_res[RES_IRQ_HOST_ID].name = "host"; in cdns3_pci_probe()
127 wrap->dev_res[RES_IRQ_HOST_ID].flags = IORESOURCE_IRQ; in cdns3_pci_probe()
130 wrap->dev_res[RES_IRQ_PERIPHERAL_ID].start = pdev->irq; in cdns3_pci_probe()
131 wrap->dev_res[RES_IRQ_PERIPHERAL_ID].name = "peripheral"; in cdns3_pci_probe()
132 wrap->dev_res[RES_IRQ_PERIPHERAL_ID].flags = IORESOURCE_IRQ; in cdns3_pci_probe()
142 wrap->dev_res[RES_IRQ_OTG_ID].start = pdev->irq; in cdns3_pci_probe()
143 wrap->dev_res[RES_IRQ_OTG_ID].name = "otg"; in cdns3_pci_probe()
[all …]
/linux-6.1.9/drivers/pci/
Dsetup-bus.c44 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 …]
/linux-6.1.9/drivers/net/ethernet/freescale/fman/
Dfman_port.c1748 struct resource *dev_res; in fman_port_probe() local
1854 dev_res = __devm_request_region(port->dev, &res, res.start, in fman_port_probe()
1856 if (!dev_res) { in fman_port_probe()