Lines Matching refs:acpi_regs
54 ICH9LPCPMRegs *pm = container_of(regs, ICH9LPCPMRegs, acpi_regs); in ich9_pm_update_sci_fn()
55 acpi_update_sci(&pm->acpi_regs, pm->irq); in ich9_pm_update_sci_fn()
61 return acpi_gpe_ioport_readb(&pm->acpi_regs, addr); in ich9_gpe_readb()
68 acpi_gpe_ioport_writeb(&pm->acpi_regs, addr, val); in ich9_gpe_writeb()
69 acpi_update_sci(&pm->acpi_regs, pm->irq); in ich9_gpe_writeb()
236 VMSTATE_UINT16(acpi_regs.pm1.evt.sts, ICH9LPCPMRegs),
237 VMSTATE_UINT16(acpi_regs.pm1.evt.en, ICH9LPCPMRegs),
238 VMSTATE_UINT16(acpi_regs.pm1.cnt.cnt, ICH9LPCPMRegs),
239 VMSTATE_TIMER_PTR(acpi_regs.tmr.timer, ICH9LPCPMRegs),
240 VMSTATE_INT64(acpi_regs.tmr.overflow_time, ICH9LPCPMRegs),
241 VMSTATE_GPE_ARRAY(acpi_regs.gpe.sts, ICH9LPCPMRegs),
242 VMSTATE_GPE_ARRAY(acpi_regs.gpe.en, ICH9LPCPMRegs),
261 acpi_pm1_evt_reset(&pm->acpi_regs); in pm_reset()
262 acpi_pm1_cnt_reset(&pm->acpi_regs); in pm_reset()
263 acpi_pm_tmr_reset(&pm->acpi_regs); in pm_reset()
264 acpi_gpe_reset(&pm->acpi_regs); in pm_reset()
277 acpi_update_sci(&pm->acpi_regs, pm->irq); in pm_reset()
284 acpi_pm1_evt_power_down(&pm->acpi_regs); in pm_powerdown_req()
294 acpi_pm_tmr_init(&pm->acpi_regs, ich9_pm_update_sci_fn, &pm->io); in ich9_pm_init()
295 acpi_pm1_evt_init(&pm->acpi_regs, ich9_pm_update_sci_fn, &pm->io); in ich9_pm_init()
296 acpi_pm1_cnt_init(&pm->acpi_regs, &pm->io, pm->disable_s3, pm->disable_s4, in ich9_pm_init()
299 acpi_gpe_init(&pm->acpi_regs, ICH9_PMIO_GPE0_LEN); in ich9_pm_init()