Lines Matching refs:io_res
39 struct resource *io_res;
719 res->parent = sm->io_res;
720 res->start = sm->io_res->start + offs;
966 sm->io_res = platform_get_resource(dev, IORESOURCE_MEM, 1);
976 if (sm->io_res == NULL || sm->mem_res == NULL) {
982 sm->regs_claim = request_mem_region(sm->io_res->start,
993 sm->regs = ioremap(sm->io_res->start,
994 (sm->io_res->end - sm->io_res->start) - 1);
1162 sm->io_res = &dev->resource[1];
1165 sm->regs_claim = request_mem_region(sm->io_res->start,