Lines Matching defs:res
312 struct resource res[2];
332 memset(res, 0x00, sizeof(struct resource) * ARRAY_SIZE(res));
334 res[0].start = pci_resource_start(pci, 0);
335 res[0].end = pci_resource_end(pci, 0);
336 res[0].name = "dwc_usb3";
337 res[0].flags = IORESOURCE_MEM;
339 res[1].start = pci->irq;
340 res[1].name = "dwc_usb3";
341 res[1].flags = IORESOURCE_IRQ;
343 ret = platform_device_add_resources(dwc->dwc3, res, ARRAY_SIZE(res));