Home
last modified time | relevance | path

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

/pciutils/
H A Dls-ecaps.c53 cap_ltr_scale(u8 scale) in cap_ltr_scale() argument
55 return 1 << (scale * 5); in cap_ltr_scale()
61 u32 scale; in cap_ltr() local
71 scale = cap_ltr_scale((snoop >> PCI_LTR_SCALE_SHIFT) & PCI_LTR_SCALE_MASK); in cap_ltr()
73 ((u64)snoop & PCI_LTR_VALUE_MASK) * scale); in cap_ltr()
78 ((u64)nosnoop & PCI_LTR_VALUE_MASK) * scale); in cap_ltr()
1354 static int l1pm_calc_pwron(int scale, int value) in l1pm_calc_pwron() argument
1356 switch (scale) in l1pm_calc_pwron()
1371 u32 l1_cap, val, scale; in cap_l1pm() local
1417 scale = BITS(val, 29, 3); in cap_l1pm()
[all …]
H A Dls-caps.c662 static void show_power_limit(int value, int scale) in show_power_limit() argument
666 if (scale == 0 && value == 0xFF) in show_power_limit()
672 if (scale == 0 && value >= 0xF0 && value <= 0xFE) in show_power_limit()
675 printf("%gW", value * scales[scale]); in show_power_limit()
H A Dpci.ids17991 0086 THR2 Multi-scale Thresholder