Searched refs:mres (Results 1 – 3 of 3) sorted by relevance
441 int mres = 0; in rcar_thermal_probe() local467 res = platform_get_resource(pdev, IORESOURCE_MEM, mres++); in rcar_thermal_probe()476 res = platform_get_resource(pdev, IORESOURCE_MEM, mres++); in rcar_thermal_probe()
1233 int mres; in mmc_spi_set_ios() local1237 mres = spi_setup(host->spi); in mmc_spi_set_ios()1238 if (mres < 0) in mmc_spi_set_ios()1256 if (mres == 0) { in mmc_spi_set_ios()1258 mres = spi_setup(host->spi); in mmc_spi_set_ios()1259 if (mres < 0) in mmc_spi_set_ios()
414 struct resource *mres; in s3c_camif_probe() local435 mres = platform_get_resource(pdev, IORESOURCE_MEM, 0); in s3c_camif_probe()437 camif->io_base = devm_ioremap_resource(dev, mres); in s3c_camif_probe()