Lines Matching refs:mmio_addr
231 u32 mmio_addr = 0, val; in sp5100_tco_setupdevice() local
248 mmio_addr = sp5100_tco_read_pm_reg32(SP5100_PM_WATCHDOG_BASE) & in sp5100_tco_setupdevice()
253 mmio_addr = sp5100_tco_read_pm_reg32(SB800_PM_WATCHDOG_BASE) & in sp5100_tco_setupdevice()
272 mmio_addr = EFCH_PM_WDT_ADDR; in sp5100_tco_setupdevice()
279 if (!mmio_addr || in sp5100_tco_setupdevice()
280 !devm_request_mem_region(dev, mmio_addr, SP5100_WDT_MEM_MAP_SIZE, in sp5100_tco_setupdevice()
282 if (mmio_addr) in sp5100_tco_setupdevice()
284 mmio_addr); in sp5100_tco_setupdevice()
294 &mmio_addr); in sp5100_tco_setupdevice()
295 if ((mmio_addr & (SB800_ACPI_MMIO_DECODE_EN | in sp5100_tco_setupdevice()
301 mmio_addr &= ~0xFFF; in sp5100_tco_setupdevice()
302 mmio_addr += SB800_PM_WDT_MMIO_OFFSET; in sp5100_tco_setupdevice()
306 mmio_addr = in sp5100_tco_setupdevice()
308 if ((mmio_addr & (SB800_ACPI_MMIO_DECODE_EN | in sp5100_tco_setupdevice()
314 mmio_addr &= ~0xFFF; in sp5100_tco_setupdevice()
315 mmio_addr += SB800_PM_WDT_MMIO_OFFSET; in sp5100_tco_setupdevice()
323 mmio_addr = EFCH_PM_ACPI_MMIO_ADDR + in sp5100_tco_setupdevice()
328 mmio_addr); in sp5100_tco_setupdevice()
329 if (!devm_request_mem_region(dev, mmio_addr, in sp5100_tco_setupdevice()
333 mmio_addr); in sp5100_tco_setupdevice()
339 tco->tcobase = devm_ioremap(dev, mmio_addr, SP5100_WDT_MEM_MAP_SIZE); in sp5100_tco_setupdevice()
346 dev_info(dev, "Using 0x%08x for watchdog MMIO address\n", mmio_addr); in sp5100_tco_setupdevice()