Searched refs:fixp_sin16 (Results 1 – 4 of 4) sorted by relevance
88 #define fixp_sin16(v) (fixp_sin32(v) >> 16) macro
255 x = fixp_mult(fixp_sin16(i), level) * gain / 0xffff; in ml_combine_effects()
2312 force = (effect->u.constant.level * fixp_sin16((effect->direction * 360) >> 16)) >> 15; in hidpp_ff_upload_effect()2354 force = (effect->u.periodic.magnitude * fixp_sin16((effect->direction * 360) >> 16)) >> 15; in hidpp_ff_upload_effect()2384 force = (effect->u.ramp.start_level * fixp_sin16((effect->direction * 360) >> 16)) >> 15; in hidpp_ff_upload_effect()2387 force = (effect->u.ramp.end_level * fixp_sin16((effect->direction * 360) >> 16)) >> 15; in hidpp_ff_upload_effect()
881 huesin = fixp_sin16(val) * 0x80 / 0x7fff; in sethue()