Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/rtc/
Drtc-loongson.c81 void __iomem *pm_base; /* PM domain base, for RTC alarm wakeup */ member
127 writel(readl(priv->pm_base + PM1_EN_REG) & ~RTC_EN, in loongson_rtc_handler()
128 priv->pm_base + PM1_EN_REG); in loongson_rtc_handler()
131 writel(RTC_STS, priv->pm_base + PM1_STS_REG); in loongson_rtc_handler()
244 alrm->enabled = !!(readl(priv->pm_base + PM1_EN_REG) & RTC_EN); in loongson_rtc_read_alarm()
254 val = readl(priv->pm_base + PM1_EN_REG); in loongson_rtc_alarm_irq_enable()
257 priv->pm_base + PM1_EN_REG); in loongson_rtc_alarm_irq_enable()
331 priv->pm_base = regs - priv->config->pm_offset; in loongson_rtc_probe()
/linux-6.12.1/drivers/usb/dwc3/
Ddwc3-rtk.c57 void __iomem *pm_base; member
262 if (rtk->pm_base) { in dwc3_rtk_init()
263 reg = rtk->pm_base + USB_DBUS_PWR_CTRL_REG; in dwc3_rtk_init()
379 rtk->pm_base = devm_ioremap_resource(dev, res); in dwc3_rtk_probe()
380 if (IS_ERR(rtk->pm_base)) in dwc3_rtk_probe()
381 return PTR_ERR(rtk->pm_base); in dwc3_rtk_probe()
/linux-6.12.1/drivers/gpio/
Dgpio-ich.c90 struct resource *pm_base; /* Power Management IO base */ member
207 if (!ichx_priv.pm_base) in ich6_gpio_get()
213 ICHX_WRITE(BIT(16 + nr), 0, ichx_priv.pm_base); in ich6_gpio_get()
214 data = ICHX_READ(0, ichx_priv.pm_base); in ich6_gpio_get()
456 ichx_priv.pm_base = res_pm; in ichx_gpio_probe()