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

/linux-master/drivers/hid/bpf/progs/
H A DXPPen__ArtistPro16Gen2.bpf.c189 __u8 direction = tilt > 0 ? 0 : 1; /* Positive tilt means we need to subtract the compensation (vs. negative angle where we need to add) */
195 __u16 compensation = (*compensation_table)[angle];
198 coords = (coords > compensation) ? coords - compensation : 0;
201 __u16 max = logical_maximum - compensation;
203 coords = (coords < max) ? coords + compensation : logical_maximum;
/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.c1100 * proportional, calculate how much compensation should be added to or
1119 unsigned long compensation = last_input * score_goal_diff_bp / 10000; local
1120 /* Set minimum input as 10000 to avoid compensation be zero */
1124 return last_input + compensation;
1125 if (last_input > compensation + min_input)
1126 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 276 milliseconds