Lines Matching refs:direction
216 static u16 ml_calculate_direction(u16 direction, u16 force, in ml_calculate_direction() argument
222 return direction; in ml_calculate_direction()
223 return (((u32)(direction >> 1) * force + in ml_calculate_direction()
254 i = new->direction * 360 / 0xffff; in ml_combine_effects()
276 effect->direction = ml_calculate_direction( in ml_combine_effects()
277 effect->direction, in ml_combine_effects()
279 new->direction, strong); in ml_combine_effects()
281 effect->direction = ml_calculate_direction( in ml_combine_effects()
282 effect->direction, in ml_combine_effects()
284 new->direction, weak); in ml_combine_effects()
286 effect->direction = 0; in ml_combine_effects()
302 effect->direction = ml_calculate_direction( in ml_combine_effects()
303 effect->direction, in ml_combine_effects()
305 new->direction, i); in ml_combine_effects()
307 effect->direction = 0; in ml_combine_effects()