Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/x86/amd/pmc/
H A Dpmc.c486 if (!dev->fch_virt_addr) { in s0ix_stats_show()
491 dev->fch_virt_addr = devm_ioremap(dev->dev, fch_phys_addr, FCH_SSC_MAPPING_SIZE); in s0ix_stats_show()
492 if (!dev->fch_virt_addr) in s0ix_stats_show()
496 entry_time = ioread32(dev->fch_virt_addr + FCH_S0I3_ENTRY_TIME_H_OFFSET); in s0ix_stats_show()
497 entry_time = entry_time << 32 | ioread32(dev->fch_virt_addr + FCH_S0I3_ENTRY_TIME_L_OFFSET); in s0ix_stats_show()
499 exit_time = ioread32(dev->fch_virt_addr + FCH_S0I3_EXIT_TIME_H_OFFSET); in s0ix_stats_show()
500 exit_time = exit_time << 32 | ioread32(dev->fch_virt_addr + FCH_S0I3_EXIT_TIME_L_OFFSET); in s0ix_stats_show()
H A Dpmc.h21 void __iomem *fch_virt_addr; member