Lines Matching refs:io_res
69 struct resource *io_res; member
776 res->parent = sm->io_res; in sm501_create_subio()
777 res->start = sm->io_res->start + offs; in sm501_create_subio()
833 uart_data->mapbase = sm->io_res->start + offset; in sm501_setup_uart_data()
1056 resource_size_t iobase = sm->io_res->start + SM501_GPIO; in sm501_register_gpio()
1423 sm->io_res = platform_get_resource(dev, IORESOURCE_MEM, 1); in sm501_plat_probe()
1425 if (sm->io_res == NULL || sm->mem_res == NULL) { in sm501_plat_probe()
1431 sm->regs_claim = request_mem_region(sm->io_res->start, in sm501_plat_probe()
1442 sm->regs = ioremap(sm->io_res->start, in sm501_plat_probe()
1443 (sm->io_res->end - sm->io_res->start) - 1); in sm501_plat_probe()
1643 sm->io_res = &dev->resource[1]; in sm501_pci_probe()
1646 sm->regs_claim = request_mem_region(sm->io_res->start, in sm501_pci_probe()