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

/linux-4.4.14/drivers/input/misc/
H A Dtwl6040-vibra.c139 u8 vibdat; twl6040_vibra_code() local
151 vibdat = (u8)((speed * max_code) / USHRT_MAX); twl6040_vibra_code()
154 vibdat *= direction; twl6040_vibra_code()
156 return vibdat; twl6040_vibra_code()

Completed in 72 milliseconds