Lines Matching refs:ctl_res
98 struct resource *ctl_res, struct resource *irq_res, in __pata_platform_probe() argument
112 (ctl_res->flags == IORESOURCE_MEM)); in __pata_platform_probe()
158 ap->ioaddr.ctl_addr = devm_ioremap(dev, ctl_res->start, in __pata_platform_probe()
159 resource_size(ctl_res)); in __pata_platform_probe()
163 ap->ioaddr.ctl_addr = devm_ioport_map(dev, ctl_res->start, in __pata_platform_probe()
164 resource_size(ctl_res)); in __pata_platform_probe()
177 (unsigned long long)ctl_res->start); in __pata_platform_probe()
188 struct resource *ctl_res; in pata_platform_probe() local
210 ctl_res = platform_get_mem_or_io(pdev, 1); in pata_platform_probe()
211 if (!ctl_res) in pata_platform_probe()
219 return __pata_platform_probe(&pdev->dev, io_res, ctl_res, irq_res, in pata_platform_probe()