Searched refs:ctl_res (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/ata/ |
H A D | pata_platform.c | 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() [all …]
|
H A D | pata_falcon.c | 127 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 D | pata_of_platform.c | 27 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 D | pata_pxa.c | 165 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 D | ata_platform.h | 18 struct resource *ctl_res,
|