Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/misc/
H A Dtwl4030-vibra.c26 #define EFFECT_DIR_180_DEG 0x8000 /* range is 0 - 0xFFFF */ macro
130 info->direction = effect->direction < EFFECT_DIR_180_DEG ? 0 : 1; in vibra_play()
H A Dtwl6040-vibra.c24 #define EFFECT_DIR_180_DEG 0x8000 macro
196 info->direction = effect->direction < EFFECT_DIR_180_DEG ? 1 : -1; in vibra_play()