Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/soc/loongson/
Dloongson2_pm.c32 static struct loongson2_pm { struct
36 } loongson2_pm; variable
38 #define loongson2_pm_readw(reg) readw(loongson2_pm.base + reg)
39 #define loongson2_pm_readl(reg) readl(loongson2_pm.base + reg)
40 #define loongson2_pm_writew(val, reg) writew(val, loongson2_pm.base + reg)
41 #define loongson2_pm_writel(val, reg) writel(val, loongson2_pm.base + reg)
120 loongson2_pm.dev = button; in loongson2_power_button_init()
135 if (!loongson2_pm.suspended && (status & LOONGSON2_PM1_PWRBTN_STS)) { in loongson2_pm_irq_handler()
137 input_report_key(loongson2_pm.dev, KEY_POWER, 1); in loongson2_pm_irq_handler()
138 input_sync(loongson2_pm.dev); in loongson2_pm_irq_handler()
[all …]
DMakefile7 obj-$(CONFIG_LOONGSON2_PM) += loongson2_pm.o
/linux-6.12.1/
DMAINTAINERS13385 F: drivers/soc/loongson/loongson2_pm.c