Searched refs:compensation (Results 1 - 4 of 4) sorted by relevance

/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dled.c63 * compensation = (100 - averageDeviation) * 64 / 100
64 * NewBlinkTime = (compensation * BlinkTime) / 64
67 u8 time, u16 compensation)
69 if (!compensation) {
70 IWL_ERR(priv, "undefined blink compensation: "
75 return (u8)((time * compensation) >> 6);
66 iwl_blink_compensation(struct iwl_priv *priv, u8 time, u16 compensation) argument
/linux-master/drivers/hwmon/
H A Dntc_thermistor.c67 * A compensation table should be sorted by the values of .ohm
69 * The following compensation tables are from the specification of Murata NTC
220 * The following compensation tables are from the specifications in EPCOS NTC
311 #define NTC_TYPE(ntc, compensation) \
312 [(ntc)] = { .comp = (compensation), .n_comp = ARRAY_SIZE(compensation) }
434 /* Do a binary search on compensation table */
/linux-master/mm/damon/
H A Dcore.c1099 * proportional, calculate how much compensation should be added to or
1118 unsigned long compensation = last_input * score_goal_diff_bp / 10000; local
1119 /* Set minimum input as 10000 to avoid compensation be zero */
1123 return last_input + compensation;
1124 if (last_input > compensation + min_input)
1125 return last_input - compensation;
/linux-master/drivers/net/wireless/intel/iwlegacy/
H A Dcommon.c458 * compensation = (100 - averageDeviation) * 64 / 100
459 * NewBlinkTime = (compensation * BlinkTime) / 64
462 il_blink_compensation(struct il_priv *il, u8 time, u16 compensation) argument
464 if (!compensation) {
465 IL_ERR("undefined blink compensation: "
470 return (u8) ((time * compensation) >> 6);
494 D_LED("Led blink time compensation=%u\n",

Completed in 288 milliseconds