Searched refs:tco_res (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/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.6.21/drivers/watchdog/ |
D | iTCO_wdt.c | 71 #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-6.6.21/drivers/i2c/busses/ |
D | i2c-i801.c | 1476 struct resource *tco_res) in i801_add_tco_spt() argument 1490 res = &tco_res[1]; in i801_add_tco_spt() 1503 tco_res, 2, &pldata, sizeof(pldata)); in i801_add_tco_spt() 1508 struct resource *tco_res) in i801_add_tco_cnl() argument 1516 tco_res, 1, &pldata, sizeof(pldata)); in i801_add_tco_cnl() 1522 struct resource tco_res[2], *res; in i801_add_tco() local 1537 memset(tco_res, 0, sizeof(tco_res)); in i801_add_tco() 1542 res = &tco_res[0]; in i801_add_tco() 1548 priv->tco_pdev = i801_add_tco_cnl(priv, pci_dev, tco_res); in i801_add_tco() 1550 priv->tco_pdev = i801_add_tco_spt(priv, pci_dev, tco_res); in i801_add_tco()
|