Searched refs:tco_res (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/mfd/ |
D | intel_pmc_bxt.c | 257 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-6.1.9/drivers/watchdog/ |
D | iTCO_wdt.c | 71 #define TCOBASE(p) ((p)->tco_res->start) 91 struct resource *tco_res; member 482 p->tco_res = platform_get_resource(pdev, IORESOURCE_IO, ICH_RES_IO_TCO); in iTCO_wdt_probe() 483 if (!p->tco_res) in iTCO_wdt_probe() 535 if (!devm_request_region(dev, p->tco_res->start, in iTCO_wdt_probe() 536 resource_size(p->tco_res), in iTCO_wdt_probe()
|
/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-i801.c | 1482 struct resource *tco_res) in i801_add_tco_spt() argument 1496 res = &tco_res[1]; in i801_add_tco_spt() 1509 tco_res, 2, &pldata, sizeof(pldata)); in i801_add_tco_spt() 1514 struct resource *tco_res) in i801_add_tco_cnl() argument 1522 tco_res, 1, &pldata, sizeof(pldata)); in i801_add_tco_cnl() 1528 struct resource tco_res[2], *res; in i801_add_tco() local 1543 memset(tco_res, 0, sizeof(tco_res)); in i801_add_tco() 1548 res = &tco_res[0]; in i801_add_tco() 1554 priv->tco_pdev = i801_add_tco_cnl(priv, pci_dev, tco_res); in i801_add_tco() 1556 priv->tco_pdev = i801_add_tco_spt(priv, pci_dev, tco_res); in i801_add_tco()
|