Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/mfd/
Dintel_pmc_bxt.c257 static struct resource tco_res[2]; variable
262 .resources = tco_res,
263 .num_resources = ARRAY_SIZE(tco_res),
293 tco_res[0].flags = IORESOURCE_IO; in intel_pmc_get_tco_resources()
294 tco_res[0].start = res->start + TCO_BASE_OFFSET; in intel_pmc_get_tco_resources()
295 tco_res[0].end = tco_res[0].start + TCO_REGS_SIZE - 1; in intel_pmc_get_tco_resources()
296 tco_res[1].flags = IORESOURCE_IO; in intel_pmc_get_tco_resources()
297 tco_res[1].start = res->start + SMI_EN_OFFSET; in intel_pmc_get_tco_resources()
298 tco_res[1].end = tco_res[1].start + SMI_EN_SIZE - 1; in intel_pmc_get_tco_resources()
/Linux-v6.6/drivers/watchdog/
DiTCO_wdt.c71 #define TCOBASE(p) ((p)->tco_res->start)
91 struct resource *tco_res; member
481 p->tco_res = platform_get_resource(pdev, IORESOURCE_IO, ICH_RES_IO_TCO); in iTCO_wdt_probe()
482 if (!p->tco_res) in iTCO_wdt_probe()
534 if (!devm_request_region(dev, p->tco_res->start, in iTCO_wdt_probe()
535 resource_size(p->tco_res), in iTCO_wdt_probe()
/Linux-v6.6/drivers/i2c/busses/
Di2c-i801.c1474 struct resource *tco_res) in i801_add_tco_spt() argument
1488 res = &tco_res[1]; in i801_add_tco_spt()
1501 tco_res, 2, &pldata, sizeof(pldata)); in i801_add_tco_spt()
1506 struct resource *tco_res) in i801_add_tco_cnl() argument
1514 tco_res, 1, &pldata, sizeof(pldata)); in i801_add_tco_cnl()
1520 struct resource tco_res[2], *res; in i801_add_tco() local
1535 memset(tco_res, 0, sizeof(tco_res)); in i801_add_tco()
1540 res = &tco_res[0]; in i801_add_tco()
1546 priv->tco_pdev = i801_add_tco_cnl(priv, pci_dev, tco_res); in i801_add_tco()
1548 priv->tco_pdev = i801_add_tco_spt(priv, pci_dev, tco_res); in i801_add_tco()