Home
last modified time | relevance | path

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

/openbmc/linux/drivers/acpi/
H A Dacpi_lpit.c23 static struct lpit_residency_info residency_info_ffh; variable
42 err = rdmsrl_safe(residency_info_ffh.gaddr.address, counter); in lpit_read_residency_counter_us()
44 u64 mask = GENMASK_ULL(residency_info_ffh.gaddr.bit_offset + in lpit_read_residency_counter_us()
45 residency_info_ffh.gaddr. bit_width - 1, in lpit_read_residency_counter_us()
46 residency_info_ffh.gaddr.bit_offset); in lpit_read_residency_counter_us()
49 *counter >>= residency_info_ffh.gaddr.bit_offset; in lpit_read_residency_counter_us()
50 *counter = div64_u64(*counter * 1000000ULL, residency_info_ffh.frequency); in lpit_read_residency_counter_us()
141 !residency_info_ffh.gaddr.address) { in lpit_process()
142 lpit_update_residency(&residency_info_ffh, lpit_native); in lpit_process()