Home
last modified time | relevance | path

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

/linux/drivers/platform/x86/intel/uncore-frequency/
H A Duncore-frequency.c38 #define UNCORE_FREQ_KHZ_MULTIPLIER 100000 macro
59 *value = FIELD_GET(UNCORE_MAX_RATIO_MASK, cap) * UNCORE_FREQ_KHZ_MULTIPLIER; in uncore_read_control_freq()
61 *value = FIELD_GET(UNCORE_MIN_RATIO_MASK, cap) * UNCORE_FREQ_KHZ_MULTIPLIER; in uncore_read_control_freq()
72 input /= UNCORE_FREQ_KHZ_MULTIPLIER; in uncore_write_control_freq()
112 *freq = FIELD_GET(UNCORE_CURRENT_RATIO_MASK, ratio) * UNCORE_FREQ_KHZ_MULTIPLIER; in uncore_read_freq()
H A Duncore-frequency-tpmi.c43 #define UNCORE_FREQ_KHZ_MULTIPLIER 100000 macro
93 *value = FIELD_GET(UNCORE_MAX_RATIO_MASK, control) * UNCORE_FREQ_KHZ_MULTIPLIER; in read_control_freq()
95 *value = FIELD_GET(UNCORE_MIN_RATIO_MASK, control) * UNCORE_FREQ_KHZ_MULTIPLIER; in read_control_freq()
130 *val = FIELD_GET(UNCORE_EFF_LAT_CTRL_RATIO_MASK, ctrl) * UNCORE_FREQ_KHZ_MULTIPLIER; in read_eff_lat_ctrl()
155 min = UNCORE_MAX_RATIO * UNCORE_FREQ_KHZ_MULTIPLIER; in uncore_read_control_freq()
219 val /= UNCORE_FREQ_KHZ_MULTIPLIER; in write_eff_lat_ctrl()
290 input /= UNCORE_FREQ_KHZ_MULTIPLIER; in uncore_write_control_freq()
345 *freq = FIELD_GET(UNCORE_CURRENT_RATIO_MASK, status) * UNCORE_FREQ_KHZ_MULTIPLIER; in uncore_read_freq()