Home
last modified time | relevance | path

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

/openbmc/linux/drivers/parisc/
H A Dpower.c120 unsigned long soft_power_reg = (unsigned long) param; in kpowerswd() local
127 if (soft_power_reg) { in kpowerswd()
135 button_not_pressed = (gsc_readl(soft_power_reg) & 0x1); in kpowerswd()
212 unsigned long soft_power_reg; in power_init() local
220 ret = pdc_soft_power_info(&soft_power_reg); in power_init()
224 soft_power_reg = -1UL; in power_init()
226 switch (soft_power_reg) { in power_init()
234 soft_power_reg); in power_init()
238 if (running_on_qemu && soft_power_reg) in power_init()
240 qemu_power_off, (void *)soft_power_reg); in power_init()
[all …]
/openbmc/qemu/hw/hppa/
H A Dmachine.c41 static hwaddr soft_power_reg; variable
51 val = ldl_be_phys(&address_space_memory, soft_power_reg); in hppa_powerdown_req()
60 stl_be_phys(&address_space_memory, soft_power_reg, val); in hppa_powerdown_req()
224 val = cpu_to_le64(soft_power_reg); in create_fw_cfg()
298 soft_power_reg = translate(NULL, HPA_POWER_BUTTON); in machine_HP_common_init_cpus()