Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/watchdog/
Dvia_wdt.c67 static struct resource wdt_res; variable
175 if (allocate_resource(&iomem_resource, &wdt_res, VIA_WDT_MMIO_LEN, in wdt_probe()
181 pci_write_config_dword(pdev, VIA_WDT_MMIO_BASE, wdt_res.start); in wdt_probe()
227 release_resource(&wdt_res); in wdt_probe()
239 release_resource(&wdt_res); in wdt_remove()
Dsprd_wdt.c272 struct resource *wdt_res; in sprd_wdt_probe() local
280 wdt_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in sprd_wdt_probe()
281 wdt->base = devm_ioremap_resource(&pdev->dev, wdt_res); in sprd_wdt_probe()
/Linux-v4.19/drivers/mfd/
Dlpc_ich.c89 #define wdt_io_res(i) wdt_res(0, i)
90 #define wdt_mem_res(i) wdt_res(ICH_RES_MEM_OFF, i)
91 #define wdt_res(b, i) (&wdt_ich_res[(b) + (i)]) macro