Searched refs:vibdat (Results 1 – 1 of 1) sorted by relevance
124 u8 vibdat; in twl6040_vibra_code() local136 vibdat = (u8)((speed * max_code) / USHRT_MAX); in twl6040_vibra_code()139 vibdat *= direction; in twl6040_vibra_code()141 return vibdat; in twl6040_vibra_code()