Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/misc/
H A Dtwl6040-vibra.c120 static u8 twl6040_vibra_code(int vddvib, int vibdrv_res, int motor_res, in twl6040_vibra_code() argument
127 vpk = (vddvib * motor_res * TWL6040_VIBRA_MOD) / in twl6040_vibra_code()
128 (100 * (vibdrv_res + motor_res)); in twl6040_vibra_code()