Home
last modified time | relevance | path

Searched refs:tco_res (Results 1 – 3 of 3) 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)
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/drivers/i2c/busses/
H A Di2c-i801.c1483 i801_add_tco_spt(struct pci_dev *pci_dev, struct resource *tco_res) in i801_add_tco_spt() argument
1497 res = &tco_res[1]; in i801_add_tco_spt()
1510 tco_res, 2, &pldata, sizeof(pldata)); in i801_add_tco_spt()
1514 i801_add_tco_cnl(struct pci_dev *pci_dev, 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(pci_dev, tco_res); in i801_add_tco()
1556 priv->tco_pdev = i801_add_tco_spt(pci_dev, tco_res); in i801_add_tco()