Home
last modified time | relevance | path

Searched refs:at91_shdwc (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/power/reset/
Dat91-poweroff.c58 } at91_shdwc; variable
63 u32 reg = readl(at91_shdwc.shdwc_base + AT91_SHDW_SR); in at91_wakeup_status()
97 : "r" (at91_shdwc.mpddrc_base), in at91_poweroff()
99 "r" (at91_shdwc.shdwc_base), in at91_poweroff()
149 writel(wakeup_mode | mode, at91_shdwc.shdwc_base + AT91_SHDW_MR); in at91_poweroff_dt_set_wakeup_mode()
160 at91_shdwc.shdwc_base = devm_ioremap_resource(&pdev->dev, res); in at91_poweroff_probe()
161 if (IS_ERR(at91_shdwc.shdwc_base)) in at91_poweroff_probe()
162 return PTR_ERR(at91_shdwc.shdwc_base); in at91_poweroff_probe()
164 at91_shdwc.sclk = devm_clk_get(&pdev->dev, NULL); in at91_poweroff_probe()
165 if (IS_ERR(at91_shdwc.sclk)) in at91_poweroff_probe()
[all …]
Dat91-sama5d2_shdwc.c104 static struct shdwc *at91_shdwc; variable
163 : "r" (at91_shdwc->mpddrc_base), in at91_poweroff()
165 "r" (at91_shdwc->shdwc_base), in at91_poweroff()
167 "r" (at91_shdwc->pmc_base), in at91_poweroff()
168 "r" (at91_shdwc->rcfg->pmc.mckr) in at91_poweroff()
343 if (at91_shdwc) in at91_shdwc_probe()
346 at91_shdwc = devm_kzalloc(&pdev->dev, sizeof(*at91_shdwc), GFP_KERNEL); in at91_shdwc_probe()
347 if (!at91_shdwc) in at91_shdwc_probe()
350 platform_set_drvdata(pdev, at91_shdwc); in at91_shdwc_probe()
353 at91_shdwc->shdwc_base = devm_ioremap_resource(&pdev->dev, res); in at91_shdwc_probe()
[all …]