Home
last modified time | relevance | path

Searched refs:ctl_res (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/ata/
H A Dpata_platform.c98 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()
[all …]
H A Dpata_falcon.c127 struct resource *base_res, *ctl_res, *irq_res; in pata_falcon_init_one() local
143 ctl_res = platform_get_resource(pdev, IORESOURCE_IO, 1); in pata_falcon_init_one()
144 if (ctl_res && !devm_request_region(&pdev->dev, ctl_res->start, in pata_falcon_init_one()
145 resource_size(ctl_res), DRV_NAME)) { in pata_falcon_init_one()
180 ctl_base = (void __iomem *)ctl_res->start; in pata_falcon_init_one()
H A Dpata_of_platform.c27 struct resource ctl_res; in pata_of_platform_probe() local
42 ret = of_address_to_resource(dn, 1, &ctl_res); in pata_of_platform_probe()
75 return __pata_platform_probe(&ofdev->dev, &io_res, &ctl_res, irq > 0 ? &irq_res : NULL, in pata_of_platform_probe()
H A Dpata_pxa.c165 struct resource *ctl_res; in pxa_ata_probe() local
194 ctl_res = platform_get_resource(pdev, IORESOURCE_MEM, 1); in pxa_ata_probe()
195 if (unlikely(ctl_res == NULL)) in pxa_ata_probe()
226 ap->ioaddr.ctl_addr = devm_ioremap(&pdev->dev, ctl_res->start, in pxa_ata_probe()
227 resource_size(ctl_res)); in pxa_ata_probe()
/openbmc/linux/include/linux/
H A Data_platform.h18 struct resource *ctl_res,