Home
last modified time | relevance | path

Searched refs:tco_res (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/mfd/
H A Dintel_pmc_bxt.c256 static struct resource tco_res[2]; variable
261 .resources = tco_res,
262 .num_resources = ARRAY_SIZE(tco_res),
292 tco_res[0].flags = IORESOURCE_IO; in intel_pmc_get_tco_resources()
293 tco_res[0].start = res->start + TCO_BASE_OFFSET; in intel_pmc_get_tco_resources()
294 tco_res[0].end = tco_res[0].start + TCO_REGS_SIZE - 1; in intel_pmc_get_tco_resources()
295 tco_res[1].flags = IORESOURCE_IO; in intel_pmc_get_tco_resources()
296 tco_res[1].start = res->start + SMI_EN_OFFSET; in intel_pmc_get_tco_resources()
297 tco_res[1].end = tco_res[1].start + SMI_EN_SIZE - 1; in intel_pmc_get_tco_resources()
/linux/drivers/watchdog/
H A DiTCO_wdt.c71 #define TCOBASE(p) ((p)->tco_res->start)
98 struct resource *tco_res; member
498 p->tco_res = platform_get_resource(pdev, IORESOURCE_IO, ICH_RES_IO_TCO); in iTCO_wdt_probe()
499 if (!p->tco_res) in iTCO_wdt_probe()
551 if (!devm_request_region(dev, p->tco_res->start, in iTCO_wdt_probe()
552 resource_size(p->tco_res), in iTCO_wdt_probe()