Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dfixp-arith.h89 #define fixp_sin16(v) (fixp_sin32(v) >> 16) macro
/openbmc/linux/drivers/input/
H A Dff-memless.c255 x = fixp_mult(fixp_sin16(i), level) * gain / 0xffff; in ml_combine_effects()
/openbmc/linux/drivers/hid/
H A Dhid-logitech-hidpp.c2588 force = (effect->u.constant.level * fixp_sin16((effect->direction * 360) >> 16)) >> 15; in hidpp_ff_upload_effect()
2630 force = (effect->u.periodic.magnitude * fixp_sin16((effect->direction * 360) >> 16)) >> 15; in hidpp_ff_upload_effect()
2660 force = (effect->u.ramp.start_level * fixp_sin16((effect->direction * 360) >> 16)) >> 15; in hidpp_ff_upload_effect()
2663 force = (effect->u.ramp.end_level * fixp_sin16((effect->direction * 360) >> 16)) >> 15; in hidpp_ff_upload_effect()
/openbmc/linux/drivers/media/usb/gspca/
H A Dov534.c881 huesin = fixp_sin16(val) * 0x80 / 0x7fff; in sethue()