Searched refs:mmio_region (Results 1 – 2 of 2) sorted by relevance
27 struct resource mmio_region; member66 card->mmio_region.name = "HP-PB Bus"; in hppb_probe()67 card->mmio_region.flags = IORESOURCE_MEM; in hppb_probe()69 card->mmio_region.start = gsc_readl(dev->hpa.start + IO_IO_LOW); in hppb_probe()70 card->mmio_region.end = gsc_readl(dev->hpa.start + IO_IO_HIGH) - 1; in hppb_probe()72 status = ccio_request_resource(dev, &card->mmio_region); in hppb_probe()76 &card->mmio_region, in hppb_probe()
257 struct resource mmio_region[2]; /* The "routed" MMIO regions */ member1384 struct resource *res = ioc->mmio_region; in ccio_init_resources()1453 parent = ioc->mmio_region; in ccio_allocate_resource()1490 } else if ((ioc->mmio_region->start <= res->start) && in ccio_request_resource()1491 (res->end <= ioc->mmio_region->end)) { in ccio_request_resource()1492 parent = ioc->mmio_region; in ccio_request_resource()1493 } else if (((ioc->mmio_region + 1)->start <= res->start) && in ccio_request_resource()1494 (res->end <= (ioc->mmio_region + 1)->end)) { in ccio_request_resource()1495 parent = ioc->mmio_region + 1; in ccio_request_resource()