Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/joystick/iforce/
H A Diforce.h110 #define HIFIX80(a) ((unsigned char)(((a)<0? (a)+255 : (a))>>8)) macro
H A Diforce-ff.c36 data[2] = HIFIX80(level); in make_magnitude_modifier()
70 data[2] = HIFIX80(magnitude); in make_period_modifier()
71 data[3] = HIFIX80(offset); in make_period_modifier()